Re: [PATCH v1 2/4] virtio-pci:add support for configure interrupt

2021-01-13 Thread Cindy Lu
On Thu, Jan 14, 2021 at 12:43 PM Jason Wang wrote: > > > On 2021/1/13 下午11:45, Cindy Lu wrote: > > Add support for configure interrupt, use kvm_irqfd_assign and set the > > gsi to kernel. When the configure notifier was eventfd_signal by host > > kernel, this will finally inject an msix interrupt

Re: [PATCH v1 2/4] virtio-pci:add support for configure interrupt

2021-01-13 Thread Jason Wang
On 2021/1/13 下午11:45, Cindy Lu wrote: Add support for configure interrupt, use kvm_irqfd_assign and set the gsi to kernel. When the configure notifier was eventfd_signal by host kernel, this will finally inject an msix interrupt to guest Signed-off-by: Cindy Lu --- hw/virtio/virtio-pci.c

[PATCH v1 2/4] virtio-pci:add support for configure interrupt

2021-01-13 Thread Cindy Lu
Add support for configure interrupt, use kvm_irqfd_assign and set the gsi to kernel. When the configure notifier was eventfd_signal by host kernel, this will finally inject an msix interrupt to guest Signed-off-by: Cindy Lu --- hw/virtio/virtio-pci.c | 93