]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: caps: Always assume QEMU_CAPS_SEAMLESS_MIGRATION
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 Feb 2019 09:59:19 +0000 (10:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Feb 2019 09:11:20 +0000 (10:11 +0100)
The event was added by qemu commit 2fdd16e239c2a2 released in v1.3.0.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
59 files changed:
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
src/qemu/qemu_migration.c
tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml
tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml
tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml
tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml
tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml
tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml
tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml
tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml
tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml
tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
tests/qemucapabilitiesdata/caps_3.0.0.riscv32.xml
tests/qemucapabilitiesdata/caps_3.0.0.riscv64.xml
tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml
tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml
tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml
tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml
tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml
tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml
tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml
tests/qemuxml2argvdata/channel-spicevmc.args
tests/qemuxml2argvdata/controller-order.args
tests/qemuxml2argvdata/graphics-spice-agent-file-xfer.args
tests/qemuxml2argvdata/graphics-spice-agentmouse.args
tests/qemuxml2argvdata/graphics-spice-auto-socket-cfg.args
tests/qemuxml2argvdata/graphics-spice-auto-socket.args
tests/qemuxml2argvdata/graphics-spice-compression.args
tests/qemuxml2argvdata/graphics-spice-egl-headless.args
tests/qemuxml2argvdata/graphics-spice-no-args.args
tests/qemuxml2argvdata/graphics-spice-qxl-vga.args
tests/qemuxml2argvdata/graphics-spice-sasl.args
tests/qemuxml2argvdata/graphics-spice-socket.args
tests/qemuxml2argvdata/graphics-spice-timeout.args
tests/qemuxml2argvdata/graphics-spice-usb-redir.args
tests/qemuxml2argvdata/graphics-spice.args
tests/qemuxml2argvdata/name-escape.args
tests/qemuxml2argvdata/q35-virt-manager-basic.args
tests/qemuxml2argvdata/serial-spiceport.args
tests/qemuxml2argvdata/video-virtio-gpu-spice-gl.args

index 3c9b26a974e36fabdaf54a652168670c783df832..218dd7c7150c1fc402ac37bbfd3bb44f4de45803 100644 (file)
@@ -987,7 +987,6 @@ struct virQEMUCapsStringFlags virQEMUCapsMigration[] = {
 };
 
 struct virQEMUCapsStringFlags virQEMUCapsEvents[] = {
-    { "SPICE_MIGRATE_COMPLETED", QEMU_CAPS_SEAMLESS_MIGRATION },
     { "DEVICE_DELETED", QEMU_CAPS_DEVICE_DEL_EVENT },
     { "MIGRATION", QEMU_CAPS_MIGRATION_EVENT },
     { "VSERPORT_CHANGE", QEMU_CAPS_VSERPORT_CHANGE },
index d6aca729c0af1ebb42442099b9ef012ab1b1561e..9c1279bffb5badd462e76d11173645ce83e72612 100644 (file)
@@ -202,7 +202,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
     /* 110 */
     QEMU_CAPS_REBOOT_TIMEOUT, /* -boot reboot-timeout */
     X_QEMU_CAPS_DUMP_GUEST_CORE, /* dump-guest-core-parameter */
-    QEMU_CAPS_SEAMLESS_MIGRATION, /* seamless-migration for SPICE */
+    X_QEMU_CAPS_SEAMLESS_MIGRATION, /* seamless-migration for SPICE */
     QEMU_CAPS_BLOCK_COMMIT, /* block-commit */
     QEMU_CAPS_VNC, /* Is -vnc available? */
 
index bef8f2c495ba909bff4d186af4fb4ad530d8500a..572d3bc20fecb19f82bd4d9a6d465f4508315444 100644 (file)
@@ -8408,13 +8408,9 @@ qemuBuildGraphicsSPICECommandLine(virQEMUDriverConfigPtr cfg,
         }
     }
 
-    if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_SEAMLESS_MIGRATION)) {
-        /* If qemu supports seamless migration turn it
-         * unconditionally on. If migration destination
-         * doesn't support it, it fallbacks to previous
-         * migration algorithm silently. */
-        virBufferAddLit(&opt, "seamless-migration=on,");
-    }
+    /* Turn on seamless migration unconditionally. If migration destination
+     * doesn't support it, it fallbacks to previous migration algorithm silently. */
+    virBufferAddLit(&opt, "seamless-migration=on,");
 
     virBufferTrim(&opt, ",", -1);
 
index 1433b2c2f39245e5027cdc85c0739a91e89dca1c..3107a279dd659513c42472f380f0b4f6a00c2dd5 100644 (file)
@@ -1339,8 +1339,7 @@ qemuMigrationSrcWaitForSpice(virDomainObjPtr vm)
 {
     qemuDomainObjPrivatePtr priv = vm->privateData;
 
-    if (!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_SEAMLESS_MIGRATION) ||
-        !priv->job.spiceMigration)
+    if (!priv->job.spiceMigration)
         return 0;
 
     VIR_DEBUG("Waiting for SPICE to finish migration");
index 6c96e8b01327f59538e30cb5f28187bce63fe18c..bd539e29e8665782420579b0981e7d9391531202 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 038173c9b939b7101997ab589353628cd3e95b02..e2f12923783b4a05a056699592ffe301b9c59963 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index f9ceeede389df59c434c9d21fa0255842482602c..0f04e2b363fe051e2e2ce1750c11dfc87aca3142 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index f2fa718c1cc27f163d08bfb79bcb859c408eb307..5398075a2f938f9e20fda7211b3878992263241d 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index e28b8e9313385d7f36adb112ec9046d03a4224c2..8f3094d608a694467ed91bd5368988938cb84c7e 100644 (file)
@@ -33,7 +33,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index ea46831708b33eabc4b6492a164688cae3dc7b29..358e07ebf1efa0e504dced0bfdb75b05bb411be0 100644 (file)
@@ -32,7 +32,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 9ea1885e4737c91ce535d21fc7ee624df96f597f..2837c20fac1ebf1d014982bdebd6e4d9edf6395c 100644 (file)
@@ -19,7 +19,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 355f5bbf6b5433dfe3c7563cf4db5b38d99ebd74..dea5f515d7e5428dddbdcf067b624f62eaa5d137 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index f5f4ee1393ba7f725559601c8ba626cb73c5dfa3..38d2e40b20ad8eb8528076a5149da5103a3e5596 100644 (file)
@@ -19,7 +19,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index f42bec715cdb78b8957e3253a7ea6af9c7c4e294..f0236053eb8807647be0f4004d5ae8ce7adf3eb5 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 6d40702def42fe6aab160fb2f25e8f4d175a227f..db165d9c8f5652262ae4ab8e029ac9e8de289aa8 100644 (file)
@@ -33,7 +33,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index f893ffeccd7e94356ab9ab206decbfa11733e1e0..af8dfeb9703a54361213d949caccdb1a754e5a85 100644 (file)
@@ -32,7 +32,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 2502c1331b55498584ee8d89ef20b38d1adb5f65..eec39e5c9ee3527ca49c82240ff341771b5474c9 100644 (file)
@@ -19,7 +19,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index dd45ca22493abcb5c29658ac6ea10db1eb351c8e..739f1df0da335a28459b113066f0ebfa3d7a541b 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 1a7f19b9b69e109e76d20e40f3dbcbd329f02fbf..bac4e0000708e5c922d96ccc218fe72206323958 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 338f9ea606f4d2b835633578d3be8ecad8f5f886..46b5ef74f64bfa86f5f88d971a9fae826a9e4434 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index df0c0dbc57b0b0754c5485a6add8191990b5b55c..4e9c8862b9b94a1de460232ef8003c8dec7d04e8 100644 (file)
@@ -35,7 +35,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index d482c437ceedee9ac2ddbebe1c86a4b62ae5bf0b..76eb5f5b2884ae0e2ab456320a6b9df05e8f2bb1 100644 (file)
@@ -32,7 +32,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 23f9a60c95728025ba75b0210516b90ecba91641..149bb65c789372f98c594d71f38cd4b9f354dd3c 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index ccc4a738b4671bd34cea99416923a5bbd58dc654..911564e223b8cc0636f8687a94281de451bb08b9 100644 (file)
@@ -19,7 +19,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 46bfab88d0f28649f109480cbecd4c89f2f3911a..5a6ffd0edf8d43ee500c9d42476f9655fc31bb6c 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index ea930b807d21db9be366031ff285b11c8e9aa48c..8f3f141a2558696233c052b5d0283d868aaec655 100644 (file)
@@ -19,7 +19,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index a0c8d68ee5b8728b1fd04822e089564346e0b3d7..7bb9c6acb64b9ce7787f95f3ea393e3cbaa7f7c6 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 1ac331a252886df26aecbc4c5c3b4327d6268bd8..8dad5a056217d0152ebbe8194cad4787f0c158e4 100644 (file)
@@ -32,7 +32,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index c4f3387273cb6f2af69852f19dcc20a02e9f3c84..a20d0d9bf58375c6e495b33a592e329c01c428f7 100644 (file)
@@ -19,7 +19,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 7ae0b81489cc9e0a66395eca043769dd32014673..4692225957886f15ac7df76743404cc68bd705a0 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index c70e8909cee430e33c25c979d26b6b45aaba0342..41fec3e9c679846aff04d7707836b1242446a529 100644 (file)
@@ -32,7 +32,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 17802b59e5a3c4f613e5353fce89336f380331d6..9574cdfc2d27f0c7443a4e7b6c53d89f1b538fb0 100644 (file)
@@ -12,7 +12,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index d06e2f8707e05a2616e069932c37dd76f15ed623..3451419434efb6ad733d38e13d816095c3deafcc 100644 (file)
@@ -12,7 +12,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 87e9378248a2675fc42fa24509af26d8dd4ef8b1..fb5b22f66725a3e710e7b5aa926e1fcf31eae21b 100644 (file)
@@ -21,7 +21,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 7d77e657902b06fd407efbb2cd601163b7d946d4..63bf7f2193233c78f448d597c1d784f16914d2ef 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 97dbec12cf5923ea10f919b7312024bc8a8dceb0..8ea7674e0e21bb22bb9b0bdab1237ad534d2ba1b 100644 (file)
@@ -32,7 +32,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 49dfc4f9b3ba3e5c5d2a2285e5603143e6b833c8..2ebc6b7ee4bd14bcbcd2e7ae3c012d1d0c727811 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 19b7b197d2b883410dc237df2af500a19dca33e9..405d8ab47c0ab3bae1be4ebe2b330977b40817d1 100644 (file)
@@ -36,7 +36,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 3ce74f9839e030473f1558d354f63eca5c9dd00a..2e116976aa21821e1ac88c919255d674c1006498 100644 (file)
@@ -36,7 +36,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index 3eb199d196be295759a253ea70f9802376ba7b2b..fa1711c2c84516f07d3cd480ef07bf71c30c5560 100644 (file)
@@ -42,7 +42,6 @@
   <flag name='scsi-disk.wwn'/>
   <flag name='seccomp-sandbox'/>
   <flag name='reboot-timeout'/>
-  <flag name='seamless-migration'/>
   <flag name='block-commit'/>
   <flag name='vnc'/>
   <flag name='drive-mirror'/>
index f4ae7f6ef6ce7dffbd111aeb38771a0a76330561..af8f3d55a75c9d6316df2a37538d67a38fe05875 100644 (file)
@@ -27,6 +27,6 @@ server,nowait \
 -device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
 id=channel0,name=com.redhat.spice.0 \
 -spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
-tls-channel=main \
+tls-channel=main,seamless-migration=on \
 -vga cirrus \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
index f151ef163762c768e7bfb0451ace706065a72a7e..5ab74a6559ea6faf2c4a1f89f97fe21e2e5d705e 100644 (file)
@@ -41,7 +41,8 @@ addr=0x3,bootindex=2 \
 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
 id=channel0,name=com.redhat.spice.0 \
 -device usb-tablet,id=input0,bus=usb.0,port=1.2 \
--spice port=5901,tls-port=5902,addr=0.0.0.0,x509-dir=/etc/pki/libvirt-spice \
+-spice port=5901,tls-port=5902,addr=0.0.0.0,x509-dir=/etc/pki/libvirt-spice,\
+seamless-migration=on \
 -vga cirrus \
 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
index 1f6dac2431c6d07370f15e052e1e6387b8e33e03..636ffcb28f6d2b29e4384e892490e0c92d170707 100644 (file)
@@ -23,7 +23,8 @@ server,nowait \
 -drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
 -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
-tls-channel=main,plaintext-channel=inputs,disable-agent-file-xfer \
+tls-channel=main,plaintext-channel=inputs,disable-agent-file-xfer,\
+seamless-migration=on \
 -vga qxl \
 -global qxl-vga.ram_size=67108864 \
 -global qxl-vga.vram_size=33554432 \
index 9eae477c850bce822dce7f33d0c78c85c24304b0..b3ff22a72902e3b2cf32964adfae4bf593f91e1b 100644 (file)
@@ -27,6 +27,6 @@ server,nowait \
 -device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
 id=channel0,name=com.redhat.spice.0 \
 -spice port=5903,tls-port=5904,addr=127.0.0.1,agent-mouse=off,\
-x509-dir=/etc/pki/libvirt-spice,tls-channel=main \
+x509-dir=/etc/pki/libvirt-spice,tls-channel=main,seamless-migration=on \
 -vga cirrus \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
index a184bd4a6ccffccd1888b0659ded504a291a8688..b2a8decbeab6838ef569e1d2e0c22ae8e5cc994c 100644 (file)
@@ -20,5 +20,6 @@ server,nowait \
 -no-shutdown \
 -no-acpi \
 -usb \
--spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock \
+-spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock,\
+seamless-migration=on \
 -vga cirrus
index a184bd4a6ccffccd1888b0659ded504a291a8688..b2a8decbeab6838ef569e1d2e0c22ae8e5cc994c 100644 (file)
@@ -20,5 +20,6 @@ server,nowait \
 -no-shutdown \
 -no-acpi \
 -usb \
--spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock \
+-spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock,\
+seamless-migration=on \
 -vga cirrus
index 5c81f55571640689ae00b543a9e31ae9f015c5d6..17857780b99bdd9c402ebd7bab93e3785ac46c64 100644 (file)
@@ -24,7 +24,8 @@ server,nowait \
 -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
 image-compression=auto_glz,jpeg-wan-compression=auto,\
-zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter \
+zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter,\
+seamless-migration=on \
 -vga qxl \
 -global qxl-vga.ram_size=67108864 \
 -global qxl-vga.vram_size=33554432 \
index c2297bc6cc87e4f446d70c65e81761f0ce0a0003..824d64fd0afe201db6a2e651c79c81c7f41b9e29 100644 (file)
@@ -22,7 +22,7 @@ server,nowait \
 -usb \
 -drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
 -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
--spice port=5903,addr=127.0.0.1 \
+-spice port=5903,addr=127.0.0.1,seamless-migration=on \
 -display egl-headless \
 -vga qxl \
 -global qxl-vga.ram_size=67108864 \
index e5390c1d4d71f7df058e520734e9de045f2ff1f3..f427bab402c0c755380b5b55652905c56a05b01c 100644 (file)
@@ -20,6 +20,6 @@ server,nowait \
 -no-shutdown \
 -no-acpi \
 -usb \
--spice port=0 \
+-spice port=0,seamless-migration=on \
 -vga cirrus \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
index bc12f64a54da30caa46417439c66210ec98870d9..7acd7732e2db60458e4258e1f9a31ecb44d5b2fe 100644 (file)
@@ -23,7 +23,7 @@ server,nowait \
 -drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
 -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
-tls-channel=main,plaintext-channel=inputs \
+tls-channel=main,plaintext-channel=inputs,seamless-migration=on \
 -vga qxl \
 -global qxl-vga.ram_size=67108864 \
 -global qxl-vga.vram_size=33554432 \
index 95b41ab5018c05e1d17b8f35510db2b6078b18b0..664911cb5a27a77209cb4f0622c2d0fbab9ffb0f 100644 (file)
@@ -24,7 +24,7 @@ server,nowait \
 -drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
 -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -spice port=5903,tls-port=5904,addr=127.0.0.1,sasl,\
-x509-dir=/etc/pki/libvirt-spice,tls-channel=default \
+x509-dir=/etc/pki/libvirt-spice,tls-channel=default,seamless-migration=on \
 -vga qxl \
 -global qxl-vga.ram_size=67108864 \
 -global qxl-vga.vram_size=33554432 \
index 053dbe7ce194d447fd9942f7b2fd3551dfd93f35..04e88aae98d5cd32d8f4d7dc11c5652c847d454d 100644 (file)
@@ -20,5 +20,5 @@ server,nowait \
 -no-shutdown \
 -no-acpi \
 -usb \
--spice unix,addr=/tmp/spice.sock \
+-spice unix,addr=/tmp/spice.sock,seamless-migration=on \
 -vga cirrus
index 9e7bcd4e33952a7aeebcfe2e6bc9356e8e85aa4a..e8cd35a946991bfeb7fce66cf106c54240497fdb 100644 (file)
@@ -34,7 +34,7 @@ id=drive-ide0-1-0,readonly=on \
 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:71:70:89,bus=pci.0,\
 addr=0x7 \
 -device usb-tablet,id=input0,bus=usb.0,port=1 \
--spice port=5900,addr=127.0.0.1 \
+-spice port=5900,addr=127.0.0.1,seamless-migration=on \
 -vga std \
 -device AC97,id=sound0,bus=pci.0,addr=0x3 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
index 162a3d9b9f569ad99d769b3cd70b4c55442c6b05..0ae5cda562ab1b321099b2c0aefae6a74525b390 100644 (file)
@@ -28,7 +28,7 @@ addr=0x4 \
 tls-channel=main,plaintext-channel=inputs,tls-channel=usbredir,\
 image-compression=auto_glz,jpeg-wan-compression=auto,\
 zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter,\
-disable-copy-paste \
+disable-copy-paste,seamless-migration=on \
 -vga cirrus \
 -chardev socket,id=charredir0,host=localhost,port=4000 \
 -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=1 \
index c2d31af8cd8a7ead060fbbc5e498b2c60fcd3952..afe896673e1f5911c62ed1a926b76b112086ad1b 100644 (file)
@@ -26,7 +26,7 @@ server,nowait \
 tls-channel=default,tls-channel=main,plaintext-channel=inputs,\
 image-compression=auto_glz,jpeg-wan-compression=auto,\
 zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter,\
-disable-copy-paste,disable-agent-file-xfer \
+disable-copy-paste,disable-agent-file-xfer,seamless-migration=on \
 -vga qxl \
 -global qxl-vga.ram_size=67108864 \
 -global qxl-vga.vram_size=33554432 \
index d0ccc01d21c0134b412d9c33d91cabc61887b1c8..b4cad576026c347ac45b3d610738cc305eaa983c 100644 (file)
@@ -39,7 +39,7 @@ cert3=cert3,db=/etc/pki/nssdb,,foo,id=smartcard0,bus=ccid0.0 \
 -netdev user,guestfwd=tcp:10.0.2.1:4600-chardev:charchannel0,id=user-channel0 \
 -vnc unix:/tmp/lib/domain--1-foo=1,,bar=2/vnc.sock \
 -spice unix,addr=/tmp/lib/domain--1-foo=1,,bar=2/spice.sock,gl=on,\
-rendernode=/dev/dri/foo,,bar \
+rendernode=/dev/dri/foo,,bar,seamless-migration=on \
 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 \
 -drive file=iscsi://example.foo.org:3260/iqn.1992-01.com.example%3Amy,,\
 storage/1,if=none,format=raw,id=drive-hostdev0 \
index 3cd0291c9bd082a6dae557775b588c5c68747b3b..e9b8c0b68137005249fdf420b344f45f38b7a8ba 100644 (file)
@@ -49,7 +49,7 @@ id=channel0,name=org.qemu.guest_agent.0 \
 id=channel1,name=com.redhat.spice.0 \
 -device usb-tablet,id=input0,bus=usb.0,port=1 \
 -spice port=5901,tls-port=5902,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
-image-compression=off \
+image-compression=off,seamless-migration=on \
 -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pcie.0,\
 addr=0x1 \
 -device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b \
index f43c003645fd4b55d6d52b617b25a13240914225..e5d2da64425825da554bbe5370b74c61267d2a1c 100644 (file)
@@ -25,7 +25,8 @@ server,nowait \
 -chardev spiceport,id=charserial0,name=org.qemu.console.serial.0 \
 -device isa-serial,chardev=charserial0,id=serial0 \
 -device usb-tablet,id=input0,bus=usb.0,port=1 \
--spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice \
+-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
+seamless-migration=on \
 -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,\
 addr=0x2 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
index be8af429c1259f120d135de1a3b0ffee777d6f61..f1341e359d7b0d78ec3f482bc0f2e295ebfe0035 100644 (file)
@@ -23,6 +23,6 @@ server,nowait \
 -drive file=/var/lib/libvirt/images/QEMUGuest1,format=qcow2,if=none,\
 id=drive-ide0-0-0,cache=none \
 -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
--spice port=0,gl=on,rendernode=/dev/dri/foo \
+-spice port=0,gl=on,rendernode=/dev/dri/foo,seamless-migration=on \
 -device virtio-gpu-pci,id=video0,virgl=on,bus=pci.0,addr=0x2 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3