Allow PVH guests to boot using a bootloader. Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> --- tools/libxl/libxl_bootloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/libxl_bootloader.c b/tools/libxl/libxl_bootloader.c index a47bd8c25c..18e9ebd714 100644 --- a/tools/libxl/libxl_bootloader.c +++ b/tools/libxl/libxl_bootloader.c @@ -324,8 +324,8 @@ void libxl__bootloader_run(libxl__egc *egc, libxl__bootloader_state *bl) libxl__bootloader_init(bl); - if (info->type != LIBXL_DOMAIN_TYPE_PV) { - LOGD(DEBUG, domid, "not a PV domain, skipping bootloader"); + if (info->type == LIBXL_DOMAIN_TYPE_HVM) { + LOGD(DEBUG, domid, "not a PV/PVH domain, skipping bootloader"); rc = 0; goto out_ok; } -- 2.13.5 (Apple Git-94) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel