From: Alexander Graf <agraf@suse.de>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Avi Kivity <avi@redhat.com>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] passing interrupts from QEMU to KVM
Date: Thu, 19 Jul 2012 16:30:43 +0200 [thread overview]
Message-ID: <50081A13.9000204@suse.de> (raw)
In-Reply-To: <CAFEAcA97Od7JNOO0CG-DuDDMpEMLDDRHiV=sS4v44ymE6QSfPg@mail.gmail.com>
On 07/19/2012 04:16 PM, Peter Maydell wrote:
> On 19 July 2012 15:13, Alexander Graf <agraf@suse.de> wrote:
>> On 07/19/2012 02:00 PM, Peter Maydell wrote:
>>> On 19 July 2012 12:43, Avi Kivity <avi@redhat.com> wrote:
>>>> Let's make them even more similar, by removing !in_kernel_irqchip.
>>> Mmm, I do rather want to just mandate use of the VGIC...
>>> (somebody will probably come along later and try to get A9
>>> guests working with KVM acceleration but I don't think it
>>> will be me :-))
>> Heh. I would really like to keep the !in_kernel_irqchip path (so only an EXT
>> IRQ line exposed) available for PPC at least. It has helped tremendously in
>> the past to be able to just throw a few debug printfs into QEMU and/or
>> compare with TCG what's happening when things go wrong.
> I think the difficulty here is that QEMU's in_kernel_irqchip
> test is being used for two things:
> * which APIC model etc should we use?
> * details of the synchronous vs asynchronous model (for instance
> whether halt is handled by cpus.c depends on this: cpu_thread_is_idle
> always returns false if kvm_irqchip_in_kernel())
>
> because for x86 these two things happen for historical reasons
> to be in sync. The non-x86 architectures probably need to separate
> them out so that we are always using the 'asynchronous inject'
> model but may (architecture-dependent) allow the user to pick
> which irqchip model gets used.
Or we just remove the !in_kernel path for x86. Then everyone else can be
asynchronous even for user space interrupt controller emulation.
Alex
prev parent reply other threads:[~2012-07-19 14:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 11:14 [Qemu-devel] passing interrupts from QEMU to KVM Peter Maydell
2012-07-19 11:43 ` Avi Kivity
2012-07-19 12:00 ` Peter Maydell
2012-07-19 14:13 ` Alexander Graf
2012-07-19 14:16 ` Peter Maydell
2012-07-19 14:30 ` Alexander Graf [this message]
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=50081A13.9000204@suse.de \
--to=agraf@suse.de \
--cc=avi@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.