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 <julien.grall@arm.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
(cherry picked from commit 860d6e158d)
This commit is contained in:
Wei Liu authored and Ian Jackson committed 2019-05-17 13:56:40 +01:00
1 parent c59579d831
commit b4f291b0ca
1 file changed
+1
+1
View 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:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.