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(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org