[Qemu-devel] [PATCH v3 05/13] pcie: helper functions for pcie capability and extended capability.

2010-09-14 Thread Isaku Yamahata
This patch implements helper functions for pci express capability and pci express extended capability allocation. NOTE: presence detection depends on pci_qdev_init() change. Signed-off-by: Isaku Yamahata --- Changes v2 -> v3: - don't use 0b gcc extension. use 0x instead. - split out constants in

[Qemu-devel] [PATCH v3 06/13] pcie/aer: helper functions for pcie aer capability.

2010-09-14 Thread Isaku Yamahata
This patch implements helper functions for pcie aer capability which will be used later. Signed-off-by: Isaku Yamahata --- Changes v2 -> v3: - split out from pcie.[ch] to pcie_aer.[ch] to make the files sorter. - embeded PCIExpressDevice into PCIDevice. - CodingStyle fix --- Makefile.objs |2

Re: [Qemu-devel] Re: [PATCH v2 2/9] pcie: helper functions for pcie extended capability.

2010-09-14 Thread Isaku Yamahata
On Wed, Sep 08, 2010 at 01:31:22PM +0300, Michael S. Tsirkin wrote: > > + > > +static void pcie_notify(PCIDevice *dev, uint16_t vector, > > +bool trigger, int level) > > +{ > > +/* masking/masking interrupt is handled by upper layer. > > + * i.e. msix_notify() for MS

<    1   2