From: "Gregory Haskins" <ghaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
To: "Avi Kivity" <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH 4/5] KVM: in-kernel-apic modification to QEMU
Date: Wed, 16 May 2007 08:34:59 -0400 [thread overview]
Message-ID: <464AC20A.BA47.005A.0@novell.com> (raw)
In-Reply-To: <464AF035.9040405-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
>>> On Wed, May 16, 2007 at 7:51 AM, in message <464AF035.9040405-atKUWr5tajBWk0Htik3J/w@public.gmane.org>,
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> Gregory Haskins wrote:
>> @@ - 1045,7 +1054,7 @@ static CPUWriteMemoryFunc *ioapic_mem_write[3] = {
>> ioapic_mem_writel,
>> };
>>
>> - IOAPICState *ioapic_init(void)
>> +IOAPICState *ioapic_init(CPUState *env)
>> {
>> IOAPICState *s;
>> int io_memory;
>> @@ - 1054,6 +1063,7 @@ IOAPICState *ioapic_init(void)
>> if (!s)
>> return NULL;
>> ioapic_reset(s);
>> + s- >cpu_env = env;
>>
>
> Is there actually a 1:1 correspondence between ioapics and vcpus?
>
>
>
While this would be highly unusual, there is nothing that prevents a system architect from doing so. In the case of the QEMU/KVM model, however, this is not true. There is one 1:1 relationship with the IOAPIC and the ISA bus, not per-vcpu. It looks like I might have coded this incorrectly. I will fix.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-05-16 12:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 3:17 [PATCH 0/5] in-kernel APIC v4 (usermode side) Gregory Haskins
[not found] ` <20070515031622.9468.4000.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-15 3:17 ` [PATCH 1/5] KVM: Updates for compiling in-kernel APIC support with external-modules Gregory Haskins
2007-05-15 3:17 ` [PATCH 2/5] KVM-USER: Make the kvm_allowed flag always defined so we dont need #ifdefs Gregory Haskins
2007-05-15 3:17 ` [PATCH 3/5] KVM-USER: Add ability to specify APIC emulation type from the command-line Gregory Haskins
2007-05-15 3:18 ` [PATCH 4/5] KVM: in-kernel-apic modification to QEMU Gregory Haskins
[not found] ` <20070515031800.9468.76001.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-15 14:17 ` Anthony Liguori
[not found] ` <4649C0E9.4080401-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-05-15 14:25 ` Gregory Haskins
2007-05-16 11:51 ` Avi Kivity
[not found] ` <464AF035.9040405-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-16 12:34 ` Gregory Haskins [this message]
2007-05-15 3:18 ` [PATCH 5/5] KVM-USER: Add support for listening for kernel-based interrupts Gregory Haskins
-- strict thread matches above, loose matches on Subject: below --
2007-05-18 21:53 [PATCH 0/5] in-kernel APIC v6 (usermode side) Gregory Haskins
[not found] ` <20070518215204.31052.87983.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-18 21:53 ` [PATCH 4/5] KVM: in-kernel-apic modification to QEMU Gregory Haskins
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=464AC20A.BA47.005A.0@novell.com \
--to=ghaskins-et1tbqhtxzrqt0dzr+alfa@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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