]> Git Repo - linux.git/commit
KVM: VMX: validate individual bits of guest MSR_IA32_FEATURE_CONTROL
authorHaozhong Zhang <[email protected]>
Wed, 22 Jun 2016 06:59:55 +0000 (14:59 +0800)
committerPaolo Bonzini <[email protected]>
Thu, 23 Jun 2016 17:17:29 +0000 (19:17 +0200)
commit37e4c997dadf713d5b9cb88a801eb38d61a2aefc
tree612b468041a6d3fc5234716d1869b38c94f7ada9
parent3b84080b9512bcacad3805f345fb8f092c8d3a7d
KVM: VMX: validate individual bits of guest MSR_IA32_FEATURE_CONTROL

KVM currently does not check the value written to guest
MSR_IA32_FEATURE_CONTROL, though bits corresponding to disabled features
may be set. This patch makes KVM to validate individual bits written to
guest MSR_IA32_FEATURE_CONTROL according to enabled features.

Signed-off-by: Haozhong Zhang <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/vmx.c
This page took 0.050557 seconds and 4 git commands to generate.