Re: IA32_FEATURE_CONTROL MSR in nested virt

2013-07-03 Thread Paolo Bonzini
Il 03/07/2013 10:24, Arthur Chunqi Li ha scritto: Hi Gleb and Paolo, When I write test cases for nested virt and found that reading/writing IA32_FEATURE_CONTROL will be simply ignored or return 0 (in arch/x86/kvm/vmx.c) in VM. Checking this MSR will be done by some hypervisors (e.g. NOVA)

RE: IA32_FEATURE_CONTROL MSR in nested virt

2013-07-03 Thread Zhang, Yang Z
Il 03/07/2013 10:24, Arthur Chunqi Li ha scritto: Hi Gleb and Paolo, When I write test cases for nested virt and found that reading/writing IA32_FEATURE_CONTROL will be simply ignored or return 0 (in arch/x86/kvm/vmx.c) in VM. Checking this MSR will be done by some hypervisors (e.g. NOVA)

Re: IA32_FEATURE_CONTROL MSR in nested virt

2013-07-03 Thread Paolo Bonzini
Il 03/07/2013 10:46, Zhang, Yang Z ha scritto: Il 03/07/2013 10:24, Arthur Chunqi Li ha scritto: Hi Gleb and Paolo, When I write test cases for nested virt and found that reading/writing IA32_FEATURE_CONTROL will be simply ignored or return 0 (in arch/x86/kvm/vmx.c) in VM. Checking this

Re: IA32_FEATURE_CONTROL MSR in nested virt

2013-07-03 Thread Gleb Natapov
On Wed, Jul 03, 2013 at 04:24:33PM +0800, Arthur Chunqi Li wrote: Hi Gleb and Paolo, When I write test cases for nested virt and found that reading/writing IA32_FEATURE_CONTROL will be simply ignored or return 0 (in arch/x86/kvm/vmx.c) in VM. Checking this MSR will be done by some

Re: IA32_FEATURE_CONTROL MSR in nested virt

2013-07-03 Thread Gmail
OK, I will write a patch as what Paolo says. Anything else need to be taken into consideration, Paolo? Arthur Chunqi Li Department of Computer Science School of EECS Peking University Beijing, China From my iPhone 在 2013-7-3,17:14,Gleb Natapov g...@redhat.com 写道: On Wed, Jul 03, 2013 at

Re: IA32_FEATURE_CONTROL MSR in nested virt

2013-07-03 Thread Bandan Das
Gleb Natapov g...@redhat.com writes: On Wed, Jul 03, 2013 at 04:24:33PM +0800, Arthur Chunqi Li wrote: Hi Gleb and Paolo, When I write test cases for nested virt and found that reading/writing IA32_FEATURE_CONTROL will be simply ignored or return 0 (in arch/x86/kvm/vmx.c) in VM. Checking

Re: IA32_FEATURE_CONTROL MSR in nested virt

2013-07-03 Thread Gleb Natapov
On Wed, Jul 03, 2013 at 10:48:33AM -0400, Bandan Das wrote: Gleb Natapov g...@redhat.com writes: On Wed, Jul 03, 2013 at 04:24:33PM +0800, Arthur Chunqi Li wrote: Hi Gleb and Paolo, When I write test cases for nested virt and found that reading/writing IA32_FEATURE_CONTROL will be