]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
fixup! libxl: pvshim: Provide first-class config settings to enable shim mode wip.pvshim
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 12 Jan 2018 14:34:50 +0000 (14:34 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 12 Jan 2018 14:35:05 +0000 (14:35 +0000)
Earlier versions of this patch have an erroneous hunk which will stop
PV guests from working at all!

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_create.c

index 278ad6a24e7c821ff313772094040a29fd7455e4..1fa1d3a62152f2cfbf79457409c776d3823fa246 100644 (file)
@@ -488,6 +488,10 @@ int libxl__domain_build(libxl__gc *gc,
 
         break;
     case LIBXL_DOMAIN_TYPE_PV:
+        ret = libxl__build_pv(gc, domid, info, state);
+        if (ret)
+            goto out;
+
         vments = libxl__calloc(gc, 11, sizeof(char *));
         i = 0;
         vments[i++] = "image/ostype";