Fix migrate for Xen 3.3

This commit is contained in:
John Levon 2009-02-13 18:23:23 +00:00
parent f98b9e05d8
commit 7d2b7ad520
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Fri Feb 13 16:50:35 GMT 2009 John Levon <john.levon@sun.com>
* src/xend_internal.c: xend in 3.3 grew a couple of new options
for the migration method. As they're ignored on older xend
versions, always pass them.
Fri Feb 13 19:09:54 +0100 2009 Jim Meyering <meyering@redhat.com>
test:///default driver: don't dereference NULL "def"

View File

@ -4292,6 +4292,8 @@ xenDaemonDomainMigratePerform (virDomainPtr domain,
"destination", hostname,
"live", live,
"port", port,
"node", "-1",
"ssl", "0",
"resource", "0", /* required, xend ignores it */
NULL);
VIR_FREE (hostname);