xl: handle PVH type in apply_global_affinity_masks again
authorWei Liu <wei.liu2@citrix.com>
Fri, 12 Apr 2019 10:03:25 +0000 (11:03 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 12 Apr 2019 14:41:43 +0000 (15:41 +0100)
A call site in create_domain can call it with PVH type. That site was
missed during the review of 48dab9767.

Reinstate PVH type in the switch.

Reported-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tools/xl/xl_vcpu.c

index 93abcc65c0491415109d0ab922dd6a8222e34427..329512eaaf79b8ac63810775902f1d3173b0e647 100644 (file)
@@ -79,6 +79,7 @@ void apply_global_affinity_masks(libxl_domain_type type,
 
     switch (type) {
     case LIBXL_DOMAIN_TYPE_HVM:
+    case LIBXL_DOMAIN_TYPE_PVH:
         type_mask = &global_hvm_affinity_mask;
         break;
     case LIBXL_DOMAIN_TYPE_PV: