Re: [Qemu-devel] [PATCH v4 46/47] ivshmem: use kvm irqfd for msi notifications

2015-10-02 Thread Marc-André Lureau
On Wed, Sep 30, 2015 at 1:47 PM, Claudio Fontana wrote: > Is an } else { here missing? No, but I added a comment: "it will be delayed until msix is enabled, in write_config " > > Should we add IVSHMEM_DPRINTFs to help the developer understand which of > these paths have been taken? ok -- Mar

Re: [Qemu-devel] [PATCH v4 46/47] ivshmem: use kvm irqfd for msi notifications

2015-09-30 Thread Claudio Fontana
On 24.09.2015 13:37, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Use irqfd for improving context switch when notifying the guest. > If the host doesn't support kvm irqfd, regular msi notifications are > still supported. > > Note: the ivshmem implementation doesn't allow swit

[Qemu-devel] [PATCH v4 46/47] ivshmem: use kvm irqfd for msi notifications

2015-09-24 Thread marcandre . lureau
From: Marc-André Lureau Use irqfd for improving context switch when notifying the guest. If the host doesn't support kvm irqfd, regular msi notifications are still supported. Note: the ivshmem implementation doesn't allow switching between MSI and IO interrupts, this patch doesn't either. Signe