On 02/17/2011 06:16 PM, Marcelo Tosatti wrote:
On Thu, Feb 17, 2011 at 11:12:43AM +0200, Avi Kivity wrote:
> >> >>index ee1cd1a..541da0e 100644
> >> >>--- a/arch/x86/kvm/vmx.c
> >> >>+++ b/arch/x86/kvm/vmx.c
> >> >>@@ -3437,6 +3437,15 @@ static int handle_interrupt_win
On Thu, Feb 17, 2011 at 11:12:43AM +0200, Avi Kivity wrote:
> >> >> index ee1cd1a..541da0e 100644
> >> >> --- a/arch/x86/kvm/vmx.c
> >> >> +++ b/arch/x86/kvm/vmx.c
> >> >> @@ -3437,6 +3437,15 @@ static int handle_interrupt_window(struct
> >> kvm_vcpu *vcpu)
> >> >>static int handl
On 02/16/2011 06:51 PM, Marcelo Tosatti wrote:
On Wed, Feb 16, 2011 at 11:01:47AM +0200, Avi Kivity wrote:
> On 02/15/2011 10:36 PM, Marcelo Tosatti wrote:
> >On Mon, Feb 14, 2011 at 04:42:16PM +0200, Avi Kivity wrote:
> >> Short-circuit an STI; HLT sequence while an interrupt is pending:
>
On Wed, Feb 16, 2011 at 11:01:47AM +0200, Avi Kivity wrote:
> On 02/15/2011 10:36 PM, Marcelo Tosatti wrote:
> >On Mon, Feb 14, 2011 at 04:42:16PM +0200, Avi Kivity wrote:
> >> Short-circuit an STI; HLT sequence while an interrupt is pending:
> >> instead of halting, re-entering the guest, and ex
On 02/15/2011 10:36 PM, Marcelo Tosatti wrote:
On Mon, Feb 14, 2011 at 04:42:16PM +0200, Avi Kivity wrote:
> Short-circuit an STI; HLT sequence while an interrupt is pending:
> instead of halting, re-entering the guest, and exiting immediately
> on an interrupt window exit, go directly to the
On Mon, Feb 14, 2011 at 04:42:16PM +0200, Avi Kivity wrote:
> Short-circuit an STI; HLT sequence while an interrupt is pending:
> instead of halting, re-entering the guest, and exiting immediately
> on an interrupt window exit, go directly to the last step.
>
> Saves a vmexit on workloads where in
Short-circuit an STI; HLT sequence while an interrupt is pending:
instead of halting, re-entering the guest, and exiting immediately
on an interrupt window exit, go directly to the last step.
Saves a vmexit on workloads where interrupts are received synchronously;
an example is a disk backed by th