>>> On 04.01.18 at 14:05, <wei.l...@citrix.com> wrote:
> --- a/xen/arch/x86/msr.c
> +++ b/xen/arch/x86/msr.c
> @@ -39,7 +39,8 @@ static void __init calculate_hvm_max_policy(void)
>          return;
>  
>      /* 0x000000ce  MSR_INTEL_PLATFORM_INFO */
> -    if ( boot_cpu_data.x86_vendor == X86_VENDOR_INTEL )
> +    if ( boot_cpu_data.x86_vendor == X86_VENDOR_INTEL ||
> +         boot_cpu_data.x86_vendor == X86_VENDOR_AMD )

Why not drop the conditional instead? Either way
Reviewed-by: Jan Beulich <jbeul...@suse.com>

Jan


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

Reply via email to