From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Avi Kivity <avi@redhat.com>, KVM General <kvm@vger.kernel.org>,
Cyrill Gorcunov <gorcunov@gmail.com>,
Asias He <asias.hejun@gmail.com>
Subject: KVM_EXIT_HALT and KVM_CREATE_IRQCHIP
Date: Thu, 10 Jun 2010 12:52:24 +0300 [thread overview]
Message-ID: <4C10B5D8.2040409@cs.helsinki.fi> (raw)
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
next reply other threads:[~2010-06-10 9:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-10 9:52 Pekka Enberg [this message]
2010-06-10 10:03 ` KVM_EXIT_HALT and KVM_CREATE_IRQCHIP Avi Kivity
2010-06-10 10:15 ` Pekka Enberg
2010-06-10 10:54 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C10B5D8.2040409@cs.helsinki.fi \
--to=penberg@cs.helsinki.fi \
--cc=asias.hejun@gmail.com \
--cc=avi@redhat.com \
--cc=gorcunov@gmail.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox