[libvirt] [PATCH 04/16] Pass graphics setup from dst back to src via migration cookies

Eric Blake eblake at redhat.com
Thu May 12 03:00:55 UTC 2011


On 05/11/2011 03:09 AM, Daniel P. Berrange wrote:
> Extend the QEMU migration cookie structure to allow information
> about the destination host graphics setup to be passed by to
> the source host. This will enable seamless migration of any
> connected graphics clients
> 
> * src/qemu/qemu_migration.c: Add graphics info to migration
>   cookies
> * daemon/libvirtd.c: Always initialize gnutls to enable
>   x509 cert parsing in QEMU

> +++ b/daemon/libvirtd.c
> @@ -317,9 +317,6 @@ remoteInitializeGnuTLS (void)
>  {
>      int err;
>  
> -    /* Initialise GnuTLS. */
> -    gnutls_global_init ();
> -
>      err = gnutls_certificate_allocate_credentials (&x509_cred);
>      if (err) {
>          VIR_ERROR(_("gnutls_certificate_allocate_credentials: %s"),
> @@ -3310,6 +3307,11 @@ int main(int argc, char **argv) {
>          goto error;
>      }
>  
> +    /* Initialise GnuTLS. Required even if we don't use TLS
> +     * for libvirtd, because QEMU driver needs to be able to
> +     * parse x590 certificates for seemless migration */

s/seemless/seamless/

ACK with that nit fixed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list