Re: [PATCH 3/4] KVM: VMX: Emulated real mode interrupt injection

2010-09-21 Thread Avi Kivity
On 09/20/2010 07:30 PM, Marcelo Tosatti wrote: static void __vmx_complete_interrupts(struct vcpu_vmx *vmx, u32 idt_vectoring_info, int instr_len_field, @@ -3864,9 +3814,6 @@ static void __vmx_complete_interrupts(struct vcpu_vmx *vmx,

Re: [PATCH 3/4] KVM: VMX: Emulated real mode interrupt injection

2010-09-21 Thread Marcelo Tosatti
On Tue, Sep 21, 2010 at 01:56:50PM +0200, Avi Kivity wrote: On 09/20/2010 07:30 PM, Marcelo Tosatti wrote: static void __vmx_complete_interrupts(struct vcpu_vmx *vmx, u32 idt_vectoring_info, int instr_len_field, @@ -3864,9 +3814,6

Re: [PATCH 3/4] KVM: VMX: Emulated real mode interrupt injection

2010-09-21 Thread Avi Kivity
On 09/21/2010 05:36 PM, Marcelo Tosatti wrote: On Tue, Sep 21, 2010 at 01:56:50PM +0200, Avi Kivity wrote: On 09/20/2010 07:30 PM, Marcelo Tosatti wrote: static void __vmx_complete_interrupts(struct vcpu_vmx *vmx, u32 idt_vectoring_info,

Re: [PATCH 3/4] KVM: VMX: Emulated real mode interrupt injection

2010-09-20 Thread Marcelo Tosatti
On Sun, Sep 19, 2010 at 02:34:07PM +0200, Avi Kivity wrote: From: Mohammed Gamal m.gamal...@gmail.com Replace the inject-as-software-interrupt hack we currently have with emulated injection. Signed-off-by: Mohammed Gamal m.gamal...@gmail.com Signed-off-by: Avi Kivity a...@redhat.com ---

[PATCH 3/4] KVM: VMX: Emulated real mode interrupt injection

2010-09-19 Thread Avi Kivity
From: Mohammed Gamal m.gamal...@gmail.com Replace the inject-as-software-interrupt hack we currently have with emulated injection. Signed-off-by: Mohammed Gamal m.gamal...@gmail.com Signed-off-by: Avi Kivity a...@redhat.com --- arch/x86/kvm/vmx.c | 65