Re: [Qemu-devel] [PATCH v5 6/7] libqos: Added MSI-X support

2014-08-18 Thread Marc Marí
>El Mon, 18 Aug 2014 14:46:11 +0200 >Marc Marí escribió: > +void qpci_msix_enable(QPCIDevice *dev) > +{ > +uint8_t addr; > +uint16_t val; > +uint32_t table; > +uint8_t bir_table; > +uint8_t bir_pba; > +void *offset; > + > +addr = qpci_find_capability(dev, PCI_CAP_ID_MSI

[Qemu-devel] [PATCH v5 6/7] libqos: Added MSI-X support

2014-08-18 Thread Marc Marí
Added MSI-X support for qtest PCI. Added MSI-X support for virtio-pci. Added MSI-X test case in virtio-blk-test. Signed-off-by: Marc Marí --- tests/libqos/pci.c| 111 +- tests/libqos/pci.h| 10 +++ tests/libqos/virtio-pci.c | 142 ++