On Fri, 2015-06-26 at 18:31 +0200, Eric Auger wrote:
> On 06/26/2015 06:26 PM, Paolo Bonzini wrote:
> >
> >
> > On 26/06/2015 18:21, Alex Williamson wrote:
> +#ifdef CONFIG_KVM
> +if (kvm_irqfds_enabled() && kvm_resamplefds_enabled() &&
> +vdev->irqfd_allowed) {
>
On 06/26/2015 06:26 PM, Paolo Bonzini wrote:
>
>
> On 26/06/2015 18:21, Alex Williamson wrote:
+#ifdef CONFIG_KVM
+if (kvm_irqfds_enabled() && kvm_resamplefds_enabled() &&
+vdev->irqfd_allowed) {
+sbc->connect_irq_notifier = vfio_start_irqfd_injection;
>> S
On 26/06/2015 18:21, Alex Williamson wrote:
>> > +#ifdef CONFIG_KVM
>> > +if (kvm_irqfds_enabled() && kvm_resamplefds_enabled() &&
>> > +vdev->irqfd_allowed) {
>> > +sbc->connect_irq_notifier = vfio_start_irqfd_injection;
> Should we be abstracting this to a
> sysbus_register_
On Mon, 2015-06-15 at 17:33 +0100, Eric Auger wrote:
> This patch aims at optimizing IRQ handling using irqfd framework.
>
> Instead of handling the eventfds on user-side they are handled on
> kernel side using
> - the KVM irqfd framework,
> - the VFIO driver virqfd framework.
>
> the virtual IRQ
On 06/26/2015 01:57 PM, Peter Maydell wrote:
> On 15 June 2015 at 17:33, Eric Auger wrote:
>> This patch aims at optimizing IRQ handling using irqfd framework.
>>
>> Instead of handling the eventfds on user-side they are handled on
>> kernel side using
>> - the KVM irqfd framework,
>> - the VFIO d
On 15 June 2015 at 17:33, Eric Auger wrote:
> This patch aims at optimizing IRQ handling using irqfd framework.
>
> Instead of handling the eventfds on user-side they are handled on
> kernel side using
> - the KVM irqfd framework,
> - the VFIO driver virqfd framework.
>
> the virtual IRQ completio
This patch aims at optimizing IRQ handling using irqfd framework.
Instead of handling the eventfds on user-side they are handled on
kernel side using
- the KVM irqfd framework,
- the VFIO driver virqfd framework.
the virtual IRQ completion is trapped at interrupt controller
This removes the need