]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
libxl/pvh: allow PVH guests to use the xenstore shutdown
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 7 Dec 2017 13:51:53 +0000 (13:51 +0000)
committerRoger Pau Monne <roger.pau@citrix.com>
Tue, 12 Dec 2017 16:54:30 +0000 (16:54 +0000)
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
tools/libxl/libxl_domain.c

index 814f8128a1cc4d5c3038c7b36795d44d806d6781..aaa22ef5766229e85a87b0930937adca3a5be8e0 100644 (file)
@@ -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);