]> xenbits.xensource.com Git - xen.git/commit
libxl: Add a version check of QEMU for QMP commands
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 13 Mar 2018 11:13:17 +0000 (11:13 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 14 Mar 2018 12:35:49 +0000 (12:35 +0000)
commitab73254b9ac3febe0c512e21af567fa536c20ad4
tree49290b43a3e8b8a95214cdda814c475c67d32a55
parent93de1d0b3462f20da819fb4f296be8bd3271f885
libxl: Add a version check of QEMU for QMP commands

On connection to QEMU via QMP, the version of QEMU is provided, store it
for later use.

Add a function qmp_qemu_check_version that can be used to check if QEMU
is new enough for certain fonctionnality. This will be used in a moment.

As it's a static function, it is commented out until first use, which is
in the next patch.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_qmp.c