[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging-4.11] xl: handle PVH type in apply_global_affinity_masks again



commit edbe12140d621003afd44b1516125b64308117c9
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Fri Apr 12 11:03:25 2019 +0100
Commit:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
CommitDate: Fri May 17 13:56:53 2019 +0100

    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@xxxxxxx>
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    (cherry picked from commit 860d6e158dbb581c3aabc6a20ae8d83b325bffd8)
    (cherry picked from commit b4f291b0ca914454cbac9fa5580bb35f8ab04eee)
---
 tools/xl/xl_vcpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/xl/xl_vcpu.c b/tools/xl/xl_vcpu.c
index ef995137c9..051dc124a1 100644
--- a/tools/xl/xl_vcpu.c
+++ b/tools/xl/xl_vcpu.c
@@ -78,6 +78,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:
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.11

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.