mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
Add a qemu feature flag for unix socket migration.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
c1a45b5107
commit
b013ebc3b2
@ -892,6 +892,8 @@ static unsigned int qemudComputeCmdFlags(const char *help,
|
|||||||
if (version >= 10000) {
|
if (version >= 10000) {
|
||||||
flags |= QEMUD_CMD_FLAG_MIGRATE_QEMU_TCP;
|
flags |= QEMUD_CMD_FLAG_MIGRATE_QEMU_TCP;
|
||||||
flags |= QEMUD_CMD_FLAG_MIGRATE_QEMU_EXEC;
|
flags |= QEMUD_CMD_FLAG_MIGRATE_QEMU_EXEC;
|
||||||
|
if (version >= 12000)
|
||||||
|
flags |= QEMUD_CMD_FLAG_MIGRATE_QEMU_UNIX;
|
||||||
} else if (kvm_version >= 79) {
|
} else if (kvm_version >= 79) {
|
||||||
flags |= QEMUD_CMD_FLAG_MIGRATE_QEMU_TCP;
|
flags |= QEMUD_CMD_FLAG_MIGRATE_QEMU_TCP;
|
||||||
if (kvm_version >= 80)
|
if (kvm_version >= 80)
|
||||||
|
@ -70,6 +70,7 @@ enum qemud_cmd_flags {
|
|||||||
QEMUD_CMD_FLAG_MEM_PATH = (1 << 18), /* mmap'ped guest backing supported */
|
QEMUD_CMD_FLAG_MEM_PATH = (1 << 18), /* mmap'ped guest backing supported */
|
||||||
QEMUD_CMD_FLAG_DRIVE_SERIAL = (1 << 19), /* -driver serial= available */
|
QEMUD_CMD_FLAG_DRIVE_SERIAL = (1 << 19), /* -driver serial= available */
|
||||||
QEMUD_CMD_FLAG_XEN_DOMID = (1 << 20), /* -xen-domid (new style xen integration) */
|
QEMUD_CMD_FLAG_XEN_DOMID = (1 << 20), /* -xen-domid (new style xen integration) */
|
||||||
|
QEMUD_CMD_FLAG_MIGRATE_QEMU_UNIX = (1 << 21), /* Does qemu support unix domain sockets for migration? */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Main driver state */
|
/* Main driver state */
|
||||||
|
Loading…
Reference in New Issue
Block a user