Skip to contentSkip to conversation

Add missing gate for HVM domain

PATCH Applied Paul Durrant 2 participants 2 messages Jan 17, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing gate for HVM domain

# HG changeset patch
# User Paul Durrant <[email protected]> # 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.

tools/libxl/xl_cmdimpl.c +2 -1
diff -r 2913ccc6d70f -r 37b60f1b7464 tools/libxl/xl_cmdimpl.c
@@ -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);
Applied
#1 lore raw

Paul Durrant writes ("[Xen-devel] [PATCH] Add missing gate for HVM domain"):

Quoted 5 lines

Add missing gate for HVM domain.

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

Applied, thanks.

Ian.