Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-09 Thread Kashyap Chamarthy
On Tue, Oct 8, 2013 at 8:18 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 08/10/2013 15:03, Paolo Bonzini ha scritto: Il 08/10/2013 07:38, Kashyap Chamarthy ha scritto: On Mon, Oct 7, 2013 at 6:29 PM, Kashyap Chamarthy kashyap...@gmail.com wrote: Gleb, so I just did a trace of KVM MMU to

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-09 Thread Gleb Natapov
On Wed, Oct 09, 2013 at 11:52:29AM +0530, Kashyap Chamarthy wrote: On Tue, Oct 8, 2013 at 8:18 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 08/10/2013 15:03, Paolo Bonzini ha scritto: Il 08/10/2013 07:38, Kashyap Chamarthy ha scritto: On Mon, Oct 7, 2013 at 6:29 PM, Kashyap Chamarthy

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-09 Thread Gleb Natapov
On Mon, Oct 07, 2013 at 06:29:30PM +0530, Kashyap Chamarthy wrote: Gleb, so I just did a trace of KVM MMU to try to understand why L2 is stuck with shadow on EPT Ensure, EPT is enabled on L0 disabled on L1 On L0: - $ cat /sys/module/kvm_intel/parameters/ept Y On L1

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-09 Thread Kashyap Chamarthy
On Wed, Oct 9, 2013 at 1:46 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Oct 09, 2013 at 11:52:29AM +0530, Kashyap Chamarthy wrote: On Tue, Oct 8, 2013 at 8:18 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 08/10/2013 15:03, Paolo Bonzini ha scritto: Il 08/10/2013 07:38, Kashyap

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-08 Thread Paolo Bonzini
Il 08/10/2013 07:38, Kashyap Chamarthy ha scritto: On Mon, Oct 7, 2013 at 6:29 PM, Kashyap Chamarthy kashyap...@gmail.com wrote: Gleb, so I just did a trace of KVM MMU to try to understand why L2 is stuck with shadow on EPT Paolo, were you able to reproduce this again? Yesterday, on #qemu

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-08 Thread Paolo Bonzini
Il 08/10/2013 15:03, Paolo Bonzini ha scritto: Il 08/10/2013 07:38, Kashyap Chamarthy ha scritto: On Mon, Oct 7, 2013 at 6:29 PM, Kashyap Chamarthy kashyap...@gmail.com wrote: Gleb, so I just did a trace of KVM MMU to try to understand why L2 is stuck with shadow on EPT Paolo, were you

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-07 Thread Kashyap Chamarthy
Gleb, so I just did a trace of KVM MMU to try to understand why L2 is stuck with shadow on EPT Ensure, EPT is enabled on L0 disabled on L1 On L0: - $ cat /sys/module/kvm_intel/parameters/ept Y On L1 - $ cat /sys/module/kvm_intel/parameters/ept N Build and install

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-07 Thread Kashyap Chamarthy
On Mon, Oct 7, 2013 at 6:29 PM, Kashyap Chamarthy kashyap...@gmail.com wrote: Gleb, so I just did a trace of KVM MMU to try to understand why L2 is stuck with shadow on EPT Paolo, were you able to reproduce this again? Yesterday, on #qemu you mentioned you'll test it again :-) I was using

[nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-04 Thread Kashyap Chamarthy
I have EPT enabled on L0, disabled on L1, and when attempted to boot an L2 guest, it results in cursor just blinking on the serial console. (All of them are Fedora 19 minimal guests.) To be clear, by disable I mean, the below KVM parameter is N $ cat /sys/module/kvm_intel/parameters/ept

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-04 Thread Kashyap Chamarthy
Discussed with Gleb on IRC: I'll have to try with kvm.git and a simple qemu-kvm command line. Thanks, Gleb. On Fri, Oct 4, 2013 at 2:01 PM, Kashyap Chamarthy kashyap...@gmail.com wrote: I have EPT enabled on L0, disabled on L1, and when attempted to boot an L2 guest, it results in cursor just

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-04 Thread Gleb Natapov
On Fri, Oct 04, 2013 at 03:03:17PM +0530, Kashyap Chamarthy wrote: Discussed with Gleb on IRC: I'll have to try with kvm.git and a simple qemu-kvm command line. And try to disable shadow vmcs on the host just to rule it out. Thanks, Gleb. On Fri, Oct 4, 2013 at 2:01 PM, Kashyap Chamarthy

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-04 Thread Kashyap Chamarthy
On Fri, Oct 4, 2013 at 3:09 PM, Gleb Natapov g...@redhat.com wrote: On Fri, Oct 04, 2013 at 03:03:17PM +0530, Kashyap Chamarthy wrote: Discussed with Gleb on IRC: I'll have to try with kvm.git I just compiled kernel from kvm.git queue on both L0 and L1. For completeness' sake, this how I did:

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-04 Thread Gleb Natapov
On Fri, Oct 04, 2013 at 06:03:33PM +0530, Kashyap Chamarthy wrote: On Fri, Oct 4, 2013 at 3:09 PM, Gleb Natapov g...@redhat.com wrote: On Fri, Oct 04, 2013 at 03:03:17PM +0530, Kashyap Chamarthy wrote: Discussed with Gleb on IRC: I'll have to try with kvm.git I just compiled kernel from

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-04 Thread Gleb Natapov
On Fri, Oct 04, 2013 at 04:05:50PM +0300, Gleb Natapov wrote: On Fri, Oct 04, 2013 at 06:03:33PM +0530, Kashyap Chamarthy wrote: On Fri, Oct 4, 2013 at 3:09 PM, Gleb Natapov g...@redhat.com wrote: On Fri, Oct 04, 2013 at 03:03:17PM +0530, Kashyap Chamarthy wrote: Discussed with Gleb on

Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot

2013-10-04 Thread Kashyap Chamarthy
On Fri, Oct 4, 2013 at 6:38 PM, Gleb Natapov g...@redhat.com wrote: On Fri, Oct 04, 2013 at 04:05:50PM +0300, Gleb Natapov wrote: On Fri, Oct 04, 2013 at 06:03:33PM +0530, Kashyap Chamarthy wrote: On Fri, Oct 4, 2013 at 3:09 PM, Gleb Natapov g...@redhat.com wrote: On Fri, Oct 04, 2013 at