summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kvm.h
diff options
context:
space:
mode:
authorTianyu Lan2018-01-16 10:34:07 +0100
committerRadim Krčmář2018-01-17 15:01:11 +0100
commit37b95951c58fdf08dc10afa9d02066ed9f176fb5 (patch)
tree8c718f63174a756713e411ab2a866d1cfb524b91 /include/uapi/linux/kvm.h
parentMerge tag 'kvm-arm-fixes-for-v4.15-3-v2' of git://git.kernel.org/pub/scm/linu... (diff)
downloadkernel-qcow2-linux-37b95951c58fdf08dc10afa9d02066ed9f176fb5.tar.gz
kernel-qcow2-linux-37b95951c58fdf08dc10afa9d02066ed9f176fb5.tar.xz
kernel-qcow2-linux-37b95951c58fdf08dc10afa9d02066ed9f176fb5.zip
KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs()
kvm_valid_sregs() should use X86_CR0_PG and X86_CR4_PAE to check bit status rather than X86_CR0_PG_BIT and X86_CR4_PAE_BIT. This patch is to fix it. Fixes: f29810335965a(KVM/x86: Check input paging mode when cs.l is set) Reported-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'include/uapi/linux/kvm.h')
0 files changed, 0 insertions, 0 deletions