public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/2] do not run halted vcpu's
@ 2008-08-01 23:09 Marcelo Tosatti
  2008-08-01 23:09 ` [patch 1/2] KVM: x86: set debug registers after "schedulable" section Marcelo Tosatti
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Marcelo Tosatti @ 2008-08-01 23:09 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

Avi Kivity wrote:

> Any reason this is not in __vcpu_run()?
>
> Our main loop could look like
>
> while (no reason to stop)
>       if (runnable)
>            enter guest
>       else
>            block
>       deal with aftermath
>
> kvm_emulate_halt would then simply modify the mp state.

Like this?

- I don't think it is necessary to test for pending signals inside irq
safe section, so move that to exit processing.

- Same for need_resched().




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-08-20  4:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 23:09 [patch 0/2] do not run halted vcpu's Marcelo Tosatti
2008-08-01 23:09 ` [patch 1/2] KVM: x86: set debug registers after "schedulable" section Marcelo Tosatti
2008-08-13 10:46   ` Avi Kivity
2008-08-01 23:09 ` [patch 2/2] KVM: x86: do not execute halted vcpus (v2) Marcelo Tosatti
2008-08-13 10:51   ` Avi Kivity
2008-08-13 10:53     ` Avi Kivity
2008-08-13 10:44 ` [patch 0/2] do not run halted vcpu's Avi Kivity
2008-08-15  0:19   ` Marcelo Tosatti
2008-08-17  6:31     ` Avi Kivity
2008-08-17  7:41       ` Avi Kivity
2008-08-19 23:07         ` Marcelo Tosatti
2008-08-20  4:04           ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox