Re: [PATCH] KVM: nVMX: Provide EFER.LMA saving support

2013-03-14 Thread Gleb Natapov
On Wed, Mar 13, 2013 at 04:06:41PM +0100, Jan Kiszka wrote: > We will need EFER.LMA saving to provide unrestricted guest mode. All > what is missing for this is picking up EFER.LMA from VM_ENTRY_CONTROLS > on L2->L1 switches. If the host does not support EFER.LMA saving, > no change is performed, o

Re: [PATCH] KVM: nVMX: Provide EFER.LMA saving support

2013-03-13 Thread Paolo Bonzini
Il 13/03/2013 16:06, Jan Kiszka ha scritto: > We will need EFER.LMA saving to provide unrestricted guest mode. All > what is missing for this is picking up EFER.LMA from VM_ENTRY_CONTROLS > on L2->L1 switches. If the host does not support EFER.LMA saving, > no change is performed, otherwise we prop

[PATCH] KVM: nVMX: Provide EFER.LMA saving support

2013-03-13 Thread Jan Kiszka
We will need EFER.LMA saving to provide unrestricted guest mode. All what is missing for this is picking up EFER.LMA from VM_ENTRY_CONTROLS on L2->L1 switches. If the host does not support EFER.LMA saving, no change is performed, otherwise we properly emulate for L1 what the hardware does for L0. A