On Wed, Apr 08, 2015 at 10:31:53PM +0100, Peter Maydell wrote: > On 8 April 2015 at 22:20, Christoffer Dall <christoffer.d...@linaro.org> > wrote: > > Now when we have a host generic PCIe controller in the virt board, it > > would be nice to be able to use MSIs so that we can eventually enable > > VHOST with KVM. > > > > With these patches you can use MSIs with TCG and with KVM, but you still > > need some fixes for the mapping of the IRQ index to the GSI number for > > IRQFD to work. A separate patch series will follow this one to enable > > that. > > > > Tested with KVM on XGene and with TCG by configuring a virtio-pci > > network adapter for the guest and verifying MSIs going through as > > expected. > > > > Christoffer Dall (3): > > target-arm: Add GIC phandle to VirtBoardInfo > > arm_gicv2m: Add GICv2m widget to support MSIs > > target-arm: Add the GICv2m to the virt board > > > > hw/arm/virt.c | 69 +++++++++++++++---- > > hw/intc/Makefile.objs | 1 + > > hw/intc/arm_gicv2m.c | 180 > > ++++++++++++++++++++++++++++++++++++++++++++++++++ > > pixman | 2 +- > > Will review properly later, but what's pixman doing in your diffstat? :-) > Whoops :)
I've removed that change locally, will adjust when re-submitting after you've reviewed them. Thanks, -Christoffer