From 1fdb582a09ff546754865ec9cfab9af3fb10a57d Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Fri, 31 Jul 2009 09:03:55 +0200 Subject: [PATCH] Add a comment about setting errors after qemudStartVMDaemon(). Signed-off-by: Chris Lalancette --- src/qemu_driver.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qemu_driver.c b/src/qemu_driver.c index df690b11d3..69ea6df741 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -6401,6 +6401,9 @@ qemudDomainMigratePrepare2 (virConnectPtr dconn, */ snprintf (migrateFrom, sizeof (migrateFrom), "tcp:0.0.0.0:%d", this_port); if (qemudStartVMDaemon (dconn, driver, vm, migrateFrom, -1) < 0) { + /* Note that we don't set an error here because qemudStartVMDaemon + * should have already done that. + */ if (!vm->persistent) { virDomainRemoveInactive(&driver->domains, vm); vm = NULL;