Re: [Qemu-devel] [QESTION] target-i386/kvm: vmx realization

2016-05-27 Thread Dmitry Poletaev
Thanks for answer. I think it should be non zero too. Because of guest state is defined by vmcs fields, it is unclear for me, why kvm handle same situation in different way. I didn't see this script and tests. Unit tests end by timeout (I've increased it 15 times, all the same) and kvm script p

Re: [Qemu-devel] [QESTION] target-i386/kvm: vmx realization

2016-05-26 Thread Paolo Bonzini
On 26/05/2016 11:55, Dmitry Poletaev wrote: > kvm_mmu_page_fault goes to nonpaging_page_fault, which don't find page in > cache and calls nonpaging_map. nonpaging_map exits after critical section > before out_unlock label. For me reaction is normal and looks the same on both > platforms, but I

[Qemu-devel] [QESTION] target-i386/kvm: vmx realization

2016-05-26 Thread Dmitry Poletaev
Hello. In my diploma project I'm trying to add VMX to qemu. It is first vmx incarnation, without ept, unrestricted guest and other improvements. It seems working in some way. Virtual Box can execute few hundreds of instructions until crash, but it's tricky for me to build it completely to add s