[PATCH v2 1/2] KVM: nVMX: Validate EFER values for VM_ENTRY/EXIT_LOAD_IA32_EFER

2013-04-20 Thread Jan Kiszka
As we may emulate the loading of EFER on VM-entry and VM-exit, implement the checks that VMX performs on the guest and host values on vmlaunch/ vmresume. Factor out kvm_valid_efer for this purpose which checks for set reserved bits. Signed-off-by: Jan Kiszka --- Changes in v2: - refactored if c

KVM/ARM in next

2013-04-20 Thread Christoffer Dall
Hi Stephen, I'm maintaining the KVM/ARM implementation, which was merged during the 3.9 merge window. I'd like for you to pull changes from my kvm-arm-next branch at git://github.com/columbia/linux-kvm-arm.git into linux-next. The merge procedure for this tree is typically through the kvm tree,

Re: [PATCH v3 15/15] KVM: MMU: replace kvm_zap_all with kvm_mmu_invalid_all_pages

2013-04-20 Thread Marcelo Tosatti
On Thu, Apr 18, 2013 at 12:03:45PM +0800, Xiao Guangrong wrote: > On 04/18/2013 08:08 AM, Marcelo Tosatti wrote: > > On Tue, Apr 16, 2013 at 02:32:53PM +0800, Xiao Guangrong wrote: > >> Use kvm_mmu_invalid_all_pages in kvm_arch_flush_shadow_all and > >> rename kvm_zap_all to kvm_free_all which is u

Re: [PATCH v7 3/3] tcm_vhost: Add hotplug/hotunplug support

2013-04-20 Thread Michael S. Tsirkin
On Fri, Apr 19, 2013 at 10:34:10AM +0800, Asias He wrote: > On Thu, Apr 18, 2013 at 11:21:54AM +0300, Michael S. Tsirkin wrote: > > On Thu, Apr 18, 2013 at 04:59:08PM +0800, Asias He wrote: > > > On Thu, Apr 18, 2013 at 10:34:29AM +0300, Michael S. Tsirkin wrote: > > > > On Thu, Apr 18, 2013 at 09:

Re: Interested in working for GSoC project

2013-04-20 Thread Mohit Dhingra
Hi Jan/ Kashyap/ All, Thanks for the tips! It was really helpful. I was using a very old version of kvm_intel module and it didn't have "nested" capabilities. Now, I am using "-cpu core2duo,+vmx" option and kvm-intel.ko is also inserted using nested=1. And, the CPUID returned the correct info, it