From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3kdh-0002Vl-8X for qemu-devel@nongnu.org; Tue, 21 Aug 2012 05:20:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3kdf-0007kE-Dy for qemu-devel@nongnu.org; Tue, 21 Aug 2012 05:20:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3kdf-0007il-60 for qemu-devel@nongnu.org; Tue, 21 Aug 2012 05:20:43 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7L9KfVh020593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 21 Aug 2012 05:20:41 -0400 Message-ID: <503352E4.5090906@redhat.com> Date: Tue, 21 Aug 2012 11:20:36 +0200 From: Michal Privoznik MIME-Version: 1.0 References: <1345539119-26196-1-git-send-email-yhalperi@redhat.com> In-Reply-To: <1345539119-26196-1-git-send-email-yhalperi@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/5] add support for spice migration v3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yonit Halperin Cc: qemu-devel@nongnu.org, kraxel@redhat.com On 21.08.2012 10:51, Yonit Halperin wrote: > v3: > patch 2: hold a global variable for the state of spice display, instead of one per > device. > > v2: > Notify spice about vm state changes only via spice_server_vm_start/stop > spice repo: http://cgit.freedesktop.org/~yhalperi/spice/log/?h=seamless-migration.v2 > ----------- > Hi, > > The following series introduces support for keeping the spice session active after migration. > For more details about spice seamless migration, see > http://lists.freedesktop.org/archives/spice-devel/2012-August/010412.html > > Spice branches with seamless migration support can be found at: > spice-protocol: http://cgit.freedesktop.org/~yhalperi/spice-protocol/log/?h=seamless-migration.v1 > spice-common: http://cgit.freedesktop.org/~yhalperi/spice-common/log/ > spice: http://cgit.freedesktop.org/~yhalperi/spice/log/?h=seamless-migration.v1 > spicei-gtk: http://cgit.freedesktop.org/~yhalperi/spice-gtk/log/ > > Regards, > Yonit. > > Yonit Halperin (5): > spice: notify spice server on vm start/stop > spice: notify on vm state change only via spice_server_vm_start/stop > spice migration: add QEVENT_SPICE_MIGRATE_COMPLETED > spice: add 'migrated' flag to spice info > spice: adding seamless-migration option to the command line > > hmp.c | 2 ++ > hw/qxl.c | 7 ++++--- > monitor.c | 1 + > monitor.h | 1 + > qapi-schema.json | 5 ++++- > qemu-config.c | 3 +++ > qemu-options.hx | 3 +++ > ui/spice-core.c | 38 +++++++++++++++++++++++++++++++++++++- > ui/spice-display.c | 32 ++++++++++++++++++++++++++++++-- > ui/spice-display.h | 9 +++++++-- > 10 files changed, 92 insertions(+), 9 deletions(-) > Okay, from libvirt POV this is easily doable. One one hand, libvirt doesn't query for 'query-spice' yet. But on the other hand, we can start to if libvirt would know qemu supports it. And it will indeed - assuming qemu will report 'seamless-migration' option in -help output. Michal