[libvirt] [PATCH v2 1/4] config: Introduce <migration> for SPICE graphics

Eric Blake eblake at redhat.com
Fri Sep 14 23:23:16 UTC 2012


[adding qemu]

On 09/14/2012 11:47 AM, Daniel P. Berrange wrote:
> On Fri, Sep 14, 2012 at 07:34:50PM +0200, Michal Privoznik wrote:
>> With this element users will control how SPICE
>> server behaves upon migration. For now, there's
>> just one attribute 'seamless' turning seamless
>> migration on/off/default.
> 
> Ewww, no. This information is a related to a API operation,
> not the VM configuration. It should be either auto-detected
> by libvirt to the best compatible setting, or passed as a
> flag to the virDomainMigrate API call if auto-detection is
> not possible.

But with the current qemu implementation, there's no way to know if the
destination supports this until after you've started the source, and the
current implementation in qemu is that you must declare the semantics at
the time you start qemu, not at the time you send the 'migrate' monitor
command.  For libvirt autodetection to work without polluting the domain
XML, we'd need to be able to auto-detect at the time we start migration.

This sounds like we need to enhance the 'migrate-set-capabilities'
command to enable or disable this feature on the fly, according to what
libvirt detects from the remote end, rather than hard-coding it to the
startup state of qemu on the source side.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120914/094446a0/attachment-0001.sig>


More information about the libvir-list mailing list