提交 3ce55d22 编写于 作者: D Daniel P. Berrange

Declare support for QEMU migration in capabilities

上级 67cc35ad
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> 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 * src/vbox/vbox_driver.c src/vbox/vbox_tmpl.c: last patch for
......
...@@ -370,7 +370,7 @@ virCapsPtr qemudCapsInit(void) { ...@@ -370,7 +370,7 @@ virCapsPtr qemudCapsInit(void) {
uname (&utsname); uname (&utsname);
if ((caps = virCapabilitiesNew(utsname.machine, if ((caps = virCapabilitiesNew(utsname.machine,
0, 0)) == NULL) 1, 1)) == NULL)
goto no_memory; goto no_memory;
/* Using KVM's mac prefix for QEMU too */ /* Using KVM's mac prefix for QEMU too */
...@@ -379,6 +379,9 @@ virCapsPtr qemudCapsInit(void) { ...@@ -379,6 +379,9 @@ virCapsPtr qemudCapsInit(void) {
if (virCapsInitNUMA(caps) < 0) if (virCapsInitNUMA(caps) < 0)
goto no_memory; goto no_memory;
virCapabilitiesAddHostMigrateTransport(caps,
"tcp");
/* First the pure HVM guests */ /* First the pure HVM guests */
for (i = 0 ; i < ARRAY_CARDINALITY(arch_info_hvm) ; i++) for (i = 0 ; i < ARRAY_CARDINALITY(arch_info_hvm) ; i++)
if (qemudCapsInitGuest(caps, if (qemudCapsInitGuest(caps,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册