Skip to contentSkip to conversation

xl: handle PVH type in apply_global_affinity_masks again

PATCH In review Wei Liu 2 participants 3 messages Apr 12, 2019

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 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.

---
 tools/xl/xl_vcpu.c | 1 +
 1 file changed, 1 insertion(+)
tools/xl/xl_vcpu.c +1 -0
index 93abcc65c0..329512eaaf 100644
@@ -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:
Signature · 7 lines
2.20.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
author
#1 lore raw
Quoted 7 lines · Wei Liu

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.

CC Juergen

This fixes a regression.

Quoted 19 lines
---
 tools/xl/xl_vcpu.c | 1 +
 1 file changed, 1 insertion(+)
tools/xl/xl_vcpu.c +1 -0
index 93abcc65c0..329512eaaf 100644
@@ -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:
Signature · 1 line
2.20.1

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Acked-by on v1 1/1
#2 lore raw
In reply to Wei Liu

Wei Liu writes ("[PATCH] xl: handle PVH type in apply_global_affinity_masks again"):

Quoted 7 lines

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.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel