]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Implement reading and writing of VMX MSRs
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:04:25 +0000 (23:04 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:11 +0000 (11:45 +0300)
commitc892614dd3faa19e18d6ffb2e389723f1d2a52f4
tree0dfe98e545b1e69268d37121eb9ad42726a6b8d4
parentc7286cd5132b6a633a9ef7c6cb3aeeaadfc28364
KVM: nVMX: Implement reading and writing of VMX MSRs

When the guest can use VMX instructions (when the "nested" module option is
on), it should also be able to read and write VMX MSRs, e.g., to query about
VMX capabilities. This patch adds this support.

Signed-off-by: Nadav Har'El <nyh@il.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/msr-index.h
arch/x86/kvm/vmx.c