[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest
|
From: |
Gabriel L. Somlo |
|
Subject: |
Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest |
|
Date: |
Mon, 17 Feb 2014 19:58:34 -0500 |
|
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Feb 17, 2014 at 02:38:09PM -0500, Gabriel L. Somlo wrote:
> Oh, I think I'm starting to comprehend the problem here. The bits of
> "*irq_state" are indexed by "irq_source_id", which is dynamically
> assigned by kvm_request_irq_source_id().
>
> So, doing the OR thing when assuming always-active-high makes
> sense. Doing AND based on an active-low assumption doesn't make
> sense, because there could ALWAYS be 0 bits that just weren't
> allocated (yet), and I'm having trouble imagining how I'd keep
> track of where the current allocation boundary is in a sane way :)
Hmm, I thought maybe I could use kvm->arch.irq_sources_bitmap, but
that's global across the whole VM, whereas irq_state belongs to
one given GSI. So, the per-GSI bitmap is sparse, so it's at least
as bad as I thought earlier, if not worse :)
Am I missing anything that would put this in a better light ?
Thanks,
--Gabriel
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, (continued)
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Gabriel L. Somlo, 2014/02/14
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Alexander Graf, 2014/02/14
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Michael S. Tsirkin, 2014/02/16
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Michael S. Tsirkin, 2014/02/16
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Alex Williamson, 2014/02/16
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Michael S. Tsirkin, 2014/02/16
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Gabriel L. Somlo, 2014/02/17
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Gabriel L. Somlo, 2014/02/17
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Paolo Bonzini, 2014/02/17
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest, Gabriel L. Somlo, 2014/02/17
- Re: [Qemu-devel] RFC: ioapic polarity vs. qemu os-x guest,
Gabriel L. Somlo <=
- [Qemu-devel] [PATCH RFC] kvm: ignore apic polarity, Michael S. Tsirkin, 2014/02/27
- Re: [Qemu-devel] [PATCH RFC] kvm: ignore apic polarity, Gabriel L. Somlo, 2014/02/27
- Re: [Qemu-devel] [PATCH RFC] kvm: ignore apic polarity, Paolo Bonzini, 2014/02/27
- Re: [Qemu-devel] [PATCH RFC] kvm: ignore apic polarity, Gabriel L. Somlo, 2014/02/27
- Re: [Qemu-devel] [PATCH RFC] kvm: ignore apic polarity, Paolo Bonzini, 2014/02/27
- [Qemu-devel] [RFC PATCH v2] kvm: x86: ignore ioapic polarity, Gabriel L. Somlo, 2014/02/27
- [Qemu-devel] [RFC PATCH] qemu: x86: ignore ioapic polarity, Gabriel L. Somlo, 2014/02/28
- [Qemu-devel] [RFC PATCH v2] qemu: x86: ignore ioapic polarity, Gabriel L. Somlo, 2014/02/28
- [Qemu-devel] [PATCH] qemu: x86: report lapic version as 0x14 instead of 0x11, Gabriel L. Somlo, 2014/02/28
- Re: [Qemu-devel] [PATCH] qemu: x86: report lapic version as 0x14 instead of 0x11, Alexander Graf, 2014/02/28