[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Add missing gate for HVM domain



# HG changeset patch
# User Paul Durrant <paul.durrant@xxxxxxxxxx>
# Date 1326798293 0
# Node ID 37b60f1b74641ba9e10064d11ce7178680d1536e
# Parent  2913ccc6d70f15ffcc15c7e066c9269b15a30a09
Add missing gate for HVM domain.

This will fix localhost migrate failures found by the automatic tests.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

diff -r 2913ccc6d70f -r 37b60f1b7464 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Mon Jan 16 17:56:07 2012 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Tue Jan 17 11:04:53 2012 +0000
@@ -1580,7 +1580,8 @@ static int create_domain(struct domain_c
         }
     }
 
-    d_config.b_info.u.hvm.no_incr_generationid = 
dom_info->no_incr_generationid;
+    if (d_config.c_info.type == LIBXL_DOMAIN_TYPE_HVM)
+        d_config.b_info.u.hvm.no_incr_generationid = 
dom_info->no_incr_generationid;
 
     if (debug || dom_info->dryrun)
         printf_info(-1, &d_config, &d_config.dm_info);

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.