From: Wei Liu Date: Fri, 12 Apr 2019 10:03:25 +0000 (+0100) Subject: xl: handle PVH type in apply_global_affinity_masks again X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~2321 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=860d6e158dbb581c3aabc6a20ae8d83b325bffd8;p=xen.git xl: handle PVH type in apply_global_affinity_masks again 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 Signed-off-by: Wei Liu --- diff --git a/tools/xl/xl_vcpu.c b/tools/xl/xl_vcpu.c index 93abcc65c0..329512eaaf 100644 --- a/tools/xl/xl_vcpu.c +++ b/tools/xl/xl_vcpu.c @@ -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: