Skip to contentSkip to conversation

fixup! libxl: pvshim: Provide first-class config settings to enable shim mode

PATCH New Ian Jackson 1 participant 1 message Jan 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! libxl: pvshim: Provide first-class config settings to enable shim mode

Earlier versions of this patch have an erroneous hunk which will stop PV guests from working at all!

---
 tools/libxl/libxl_create.c | 4 ++++
 1 file changed, 4 insertions(+)
tools/libxl/libxl_create.c +4 -0
index 278ad6a..1fa1d3a 100644
@@ -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";
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel