On 22.10.2012 10:13, Osier Yang wrote: > On 2012年10月19日 15:35, Michal Privoznik wrote: >> As we switched to setting capabilities based on QMP communication, >> qemu seamless-migration capability was not set. In the -help output >> this knob is called seamless-migration=[on|off]. The equivalent in >> QMP world is SPICE_MIGRATE_COMPLETED event (qemu upstream commit >> 2fdd16e2). >> --- >> src/qemu/qemu_capabilities.c | 2 ++ >> 1 files changed, 2 insertions(+), 0 deletions(-) >> >> diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c >> index e897f86..0ddab80 100644 >> --- a/src/qemu/qemu_capabilities.c >> +++ b/src/qemu/qemu_capabilities.c >> @@ -1905,6 +1905,8 @@ qemuCapsProbeQMPEvents(qemuCapsPtr caps, >> >> if (STREQ(name, "BALLOON_CHANGE")) >> qemuCapsSet(caps, QEMU_CAPS_BALLOON_EVENT); >> + if (STREQ(name, "SPICE_MIGRATE_COMPLETED")) >> + qemuCapsSet(caps, QEMU_CAPS_SEAMLESS_MIGRATION); >> VIR_FREE(name); >> } >> VIR_FREE(events); > > ACK Thanks, pushed. Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list