Re: [PATCH v3 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-13 Thread Michael S. Tsirkin
On Mon, Jul 09, 2012 at 02:35:13PM -0600, Alex Williamson wrote: > > Well internal qemu APIs are qemu's problem and can be addressed there. > > For example, can we make it mimic our interface: make qemu EOI notifier > > accept an object that includes qemu_irq without irqchip and irqfd with? > > So

Re: [PATCH v3 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-09 Thread Alex Williamson
On Thu, 2012-07-05 at 18:53 +0300, Michael S. Tsirkin wrote: > On Wed, Jul 04, 2012 at 10:24:54PM -0600, Alex Williamson wrote: > > On Wed, 2012-07-04 at 17:00 +0300, Michael S. Tsirkin wrote: > > > On Tue, Jul 03, 2012 at 01:21:29PM -0600, Alex Williamson wrote: > > > > This new ioctl enables an e

Re: [PATCH v3 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-05 Thread Michael S. Tsirkin
On Wed, Jul 04, 2012 at 10:24:54PM -0600, Alex Williamson wrote: > On Wed, 2012-07-04 at 17:00 +0300, Michael S. Tsirkin wrote: > > On Tue, Jul 03, 2012 at 01:21:29PM -0600, Alex Williamson wrote: > > > This new ioctl enables an eventfd to be triggered when an EOI is > > > written for a specified i

Re: [PATCH v3 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-04 Thread Alex Williamson
On Wed, 2012-07-04 at 17:00 +0300, Michael S. Tsirkin wrote: > On Tue, Jul 03, 2012 at 01:21:29PM -0600, Alex Williamson wrote: > > This new ioctl enables an eventfd to be triggered when an EOI is > > written for a specified irqchip pin. By default this is a simple > > notification, but we can als

Re: [PATCH v3 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-07-04 Thread Michael S. Tsirkin
On Tue, Jul 03, 2012 at 01:21:29PM -0600, Alex Williamson wrote: > This new ioctl enables an eventfd to be triggered when an EOI is > written for a specified irqchip pin. By default this is a simple > notification, but we can also tie the eoifd to a level irqfd, which > enables the irqchip pin to