Re: [PATCH v2] KVM: nVMX: Reset RFLAGS on VM-exit

2013-03-05 Thread Marcelo Tosatti
On Mon, Mar 04, 2013 at 11:00:38AM +0200, Gleb Natapov wrote: > On Sun, Mar 03, 2013 at 08:47:11PM +0100, Jan Kiszka wrote: > > From: Jan Kiszka > > > > Ouch, how could this work so well that far? We need to clear RFLAGS to > > the reset value as specified by the SDM. Particularly, IF must be off

Re: [PATCH v2] KVM: nVMX: Reset RFLAGS on VM-exit

2013-03-04 Thread Gleb Natapov
On Sun, Mar 03, 2013 at 08:47:11PM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > Ouch, how could this work so well that far? We need to clear RFLAGS to > the reset value as specified by the SDM. Particularly, IF must be off > after VM-exit! > > Signed-off-by: Jan Kiszka Reviewed-by: Gleb Nata

[PATCH v2] KVM: nVMX: Reset RFLAGS on VM-exit

2013-03-03 Thread Jan Kiszka
From: Jan Kiszka Ouch, how could this work so well that far? We need to clear RFLAGS to the reset value as specified by the SDM. Particularly, IF must be off after VM-exit! Signed-off-by: Jan Kiszka --- Changes in v2: - use symbolic constant for rflags reset value arch/x86/kvm/vmx.c |1