There's no other way to shutdown a PVH guest at the moment. 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_domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libxl/libxl_domain.c b/tools/libxl/libxl_domain.c index 814f8128a1..aaa22ef576 100644 --- a/tools/libxl/libxl_domain.c +++ b/tools/libxl/libxl_domain.c @@ -599,7 +599,7 @@ int libxl__domain_pvcontrol_available(libxl__gc *gc, uint32_t domid) if (domtype == LIBXL_DOMAIN_TYPE_INVALID) return ERROR_FAIL; - if (domtype == LIBXL_DOMAIN_TYPE_PV) + if (domtype != LIBXL_DOMAIN_TYPE_HVM) return 1; ret = xc_hvm_param_get(ctx->xch, domid, HVM_PARAM_CALLBACK_IRQ, &pvdriver); -- 2.14.3 (Apple Git-98) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel