]> xenbits.xensource.com Git - libvirt.git/commitdiff
Declare support for QEMU migration in capabilities
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 18 May 2009 15:10:51 +0000 (15:10 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 18 May 2009 15:10:51 +0000 (15:10 +0000)
ChangeLog
src/qemu_conf.c

index 920913d2fa4f7dae2337f0862e9431b04fb201b6..8504f611f6c20b75814b565f487e767834cdb817 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 18 16:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
+
+       * src/qemu_conf.c: Declare support for migration in capabilities
+
 Fri May 15 15:59:08 CEST 2009 Daniel Veillard <veillard@redhat.com>
 
        * src/vbox/vbox_driver.c src/vbox/vbox_tmpl.c: last patch for
index a57d3abbac1e92a71d7c245749db12c558197806..bfaab33c8c23e52678c246beb8fbd715e923e999 100644 (file)
@@ -370,7 +370,7 @@ virCapsPtr qemudCapsInit(void) {
     uname (&utsname);
 
     if ((caps = virCapabilitiesNew(utsname.machine,
-                                   0, 0)) == NULL)
+                                   1, 1)) == NULL)
         goto no_memory;
 
     /* Using KVM's mac prefix for QEMU too */
@@ -379,6 +379,9 @@ virCapsPtr qemudCapsInit(void) {
     if (virCapsInitNUMA(caps) < 0)
         goto no_memory;
 
+    virCapabilitiesAddHostMigrateTransport(caps,
+                                           "tcp");
+
     /* First the pure HVM guests */
     for (i = 0 ; i < ARRAY_CARDINALITY(arch_info_hvm) ; i++)
         if (qemudCapsInitGuest(caps,