mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Declare support for QEMU migration in capabilities
This commit is contained in:
parent
67cc35ade9
commit
3ce55d22e4
@ -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>
|
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) {
|
|||||||
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) {
|
|||||||
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user