Re: [PATCH] KVM: x86: mask CPUID(0xD,0x1).EAX against host value

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

 



On Thu, May 26, 2016 at 01:44:06PM +0200, Paolo Bonzini wrote:
> commit 316314cae15fb0e3869b76b468f59a0c83ac3d4e upstream.
> 
> This ensures that the guest doesn't see XSAVE extensions
> (e.g. xgetbv1 or xsavec) that the host lacks.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Radim Krčmář <rkrcmar@xxxxxxxxxx>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> 
> Conflicts:
> 	arch/x86/kvm/cpuid.c

Why is this here?

> 
> [4.5 does have CPUID_D_1_EAX, but earlier kernels don't, so use
>  the numeric value.  This is consistent with other occurrences
>  of cpuid_mask in arch/x86/kvm/cpuid.c - Paolo]

What stable tree(s) do you want this applied to?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]