Re: [PATCH 15/23] KVM: do not inject #PF in (read|write)_emulated() callbacks

2010-04-30 Thread Avi Kivity
On 04/28/2010 12:21 PM, Gleb Natapov wrote: On Wed, Apr 28, 2010 at 12:11:41PM +0300, Avi Kivity wrote: On 04/27/2010 03:15 PM, Gleb Natapov wrote: Return error to x86 emulator instead of injection exception behind its back. Signed-off-by: Gleb Natapov --- arch/x86/include/asm/kvm_

Re: [PATCH 15/23] KVM: do not inject #PF in (read|write)_emulated() callbacks

2010-04-28 Thread Avi Kivity
On 04/27/2010 03:15 PM, Gleb Natapov wrote: Return error to x86 emulator instead of injection exception behind its back. Signed-off-by: Gleb Natapov --- arch/x86/include/asm/kvm_emulate.h |3 +++ arch/x86/kvm/emulate.c | 12 +++- arch/x86/kvm/x86.c |

Re: [PATCH 15/23] KVM: do not inject #PF in (read|write)_emulated() callbacks

2010-04-28 Thread Gleb Natapov
On Wed, Apr 28, 2010 at 12:11:41PM +0300, Avi Kivity wrote: > On 04/27/2010 03:15 PM, Gleb Natapov wrote: > >Return error to x86 emulator instead of injection exception behind its back. > > > >Signed-off-by: Gleb Natapov > >--- > > arch/x86/include/asm/kvm_emulate.h |3 +++ > > arch/x86/kvm/em

[PATCH 15/23] KVM: do not inject #PF in (read|write)_emulated() callbacks

2010-04-27 Thread Gleb Natapov
Return error to x86 emulator instead of injection exception behind its back. Signed-off-by: Gleb Natapov --- arch/x86/include/asm/kvm_emulate.h |3 +++ arch/x86/kvm/emulate.c | 12 +++- arch/x86/kvm/x86.c | 28 ++-- 3 files chan