[Xen-devel] [PATCH] xl: handle PVH type in apply_global_affinity_masks again

Wei Liu posted 1 patch 4 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20190412100325.11699-1-wei.liu2@citrix.com
tools/xl/xl_vcpu.c | 1 +
1 file changed, 1 insertion(+)
[Xen-devel] [PATCH] xl: handle PVH type in apply_global_affinity_masks again
Posted by Wei Liu 4 years, 11 months ago
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 | 1 +
 1 file changed, 1 insertion(+)

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:
-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH] xl: handle PVH type in apply_global_affinity_masks again
Posted by Ian Jackson 4 years, 11 months ago
Wei Liu writes ("[PATCH] 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>

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH] xl: handle PVH type in apply_global_affinity_masks again
Posted by Wei Liu 4 years, 11 months ago
On Fri, Apr 12, 2019 at 11:03:25AM +0100, Wei Liu wrote:
> 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>

CC Juergen

This fixes a regression.


> ---
>  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 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:
> -- 
> 2.20.1
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel