public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM_EXIT_HALT and KVM_CREATE_IRQCHIP
@ 2010-06-10  9:52 Pekka Enberg
  2010-06-10 10:03 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Pekka Enberg @ 2010-06-10  9:52 UTC (permalink / raw)
  To: Avi Kivity, KVM General, Cyrill Gorcunov, Asias He

Hi!

How is the guest supposed to halt the hypervisor if KVM_CREATE_IRQCHIP 
is being used? The kvm_emulate_halt() function seems to handle the halt 
event completely if irqchip_in_kernel() returns true and thus never 
exits to the hypervisor.

I see there's a KVM_GET_MP_STATE ioctl that can be used to check if 
state is KVM_MP_STATE_HALTED but as we never exit to the hypervisor, how 
is this supposed to work? Am I missing something obvious here?

			Pekka

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

end of thread, other threads:[~2010-06-10 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-10  9:52 KVM_EXIT_HALT and KVM_CREATE_IRQCHIP Pekka Enberg
2010-06-10 10:03 ` Avi Kivity
2010-06-10 10:15   ` Pekka Enberg
2010-06-10 10:54     ` Avi Kivity

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