Re: [Qemu-devel] [RFC PATCH v2] qemu: x86: ignore ioapic polarity

2014-03-05 Thread Michael S. Tsirkin
On Fri, Feb 28, 2014 at 01:57:19PM -0500, Gabriel L. Somlo wrote: > Both QEMU and KVM have already accumulated a significant number of > optimizations based on the hard-coded assumption that ioapic polarity > will always use the ActiveHigh convention, where the logical and > physical states of leve

Re: [Qemu-devel] [RFC PATCH v2] qemu: x86: ignore ioapic polarity

2014-03-02 Thread Michael S. Tsirkin
On Sun, Mar 02, 2014 at 11:15:15AM -0500, Gabriel L. Somlo wrote: > On Sun, Mar 02, 2014 at 04:52:22PM +0200, Michael S. Tsirkin wrote: > > On Fri, Feb 28, 2014 at 01:57:19PM -0500, Gabriel L. Somlo wrote: > > > Both QEMU and KVM have already accumulated a significant number of > > > optimizations

Re: [Qemu-devel] [RFC PATCH v2] qemu: x86: ignore ioapic polarity

2014-03-02 Thread Gabriel L. Somlo
On Sun, Mar 02, 2014 at 04:52:22PM +0200, Michael S. Tsirkin wrote: > On Fri, Feb 28, 2014 at 01:57:19PM -0500, Gabriel L. Somlo wrote: > > Both QEMU and KVM have already accumulated a significant number of > > optimizations based on the hard-coded assumption that ioapic polarity > > will always us

Re: [Qemu-devel] [RFC PATCH v2] qemu: x86: ignore ioapic polarity

2014-03-02 Thread Michael S. Tsirkin
On Fri, Feb 28, 2014 at 01:57:19PM -0500, Gabriel L. Somlo wrote: > Both QEMU and KVM have already accumulated a significant number of > optimizations based on the hard-coded assumption that ioapic polarity > will always use the ActiveHigh convention, where the logical and > physical states of leve

[Qemu-devel] [RFC PATCH v2] qemu: x86: ignore ioapic polarity

2014-02-28 Thread Gabriel L. Somlo
Both QEMU and KVM have already accumulated a significant number of optimizations based on the hard-coded assumption that ioapic polarity will always use the ActiveHigh convention, where the logical and physical states of level-triggered irq lines always match (i.e., active(asserted) == high == 1, i