Re: [PATCH 06/28] nVMX: Implement reading and writing of VMX MSRs

2010-12-09 Thread Avi Kivity
On 12/08/2010 07:03 PM, Nadav Har'El wrote: 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. + +static int vmx_set_vmx_msr(struct kvm_vcpu *vcpu,

[PATCH 06/28] nVMX: Implement reading and writing of VMX MSRs

2010-12-08 Thread Nadav Har'El
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 n...@il.ibm.com --- arch/x86/kvm/vmx.c | 117