]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
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)
commitb87a51ae2893a5907f796eadb4beb60747a69209
tree0dfe98e545b1e69268d37121eb9ad42726a6b8d4
parenta9d30f33dd21b67b2f4db09f3dfe63a7c390d1b3
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