Re: [PATCHv6 8/8] kvm: host side for eoi optimization

2012-06-14 Thread Michael S. Tsirkin
On Wed, Jun 13, 2012 at 06:10:15PM -0300, Marcelo Tosatti wrote: > On Sun, Jun 03, 2012 at 10:28:43AM +0300, Michael S. Tsirkin wrote: > > Implementation of PV EOI using shared memory. > > This reduces the number of exits an interrupt > > causes as much as by half. > > > > The idea is simple: ther

Re: [PATCHv6 8/8] kvm: host side for eoi optimization

2012-06-13 Thread Marcelo Tosatti
On Sun, Jun 03, 2012 at 10:28:43AM +0300, Michael S. Tsirkin wrote: > Implementation of PV EOI using shared memory. > This reduces the number of exits an interrupt > causes as much as by half. > > The idea is simple: there's a bit, per APIC, in guest memory, > that tells the guest that it does not

[PATCHv6 8/8] kvm: host side for eoi optimization

2012-06-03 Thread Michael S. Tsirkin
Implementation of PV EOI using shared memory. This reduces the number of exits an interrupt causes as much as by half. The idea is simple: there's a bit, per APIC, in guest memory, that tells the guest that it does not need EOI. We set it before injecting an interrupt and clear before injecting a