Re: [Qemu-devel] [PATCH V3 5/7] virtio-pci: refactor virtio-pci device.

2013-01-21 Thread Peter Maydell
On 14 January 2013 23:08, wrote: > +/* > + * virtio-pci: This is the PCIDevice which has a virtio-pci-bus. > + */ > +#define TYPE_VIRTIO_PCI "virtio-pci" > +#define VIRTIO_PCI_GET_CLASS(obj) \ > +OBJECT_GET_CLASS(VirtioPCIClass, obj, TYPE_VIRTIO_PCI) > +#define VIRTIO_PCI_CLASS(klass) \ >

[Qemu-devel] [PATCH V3 5/7] virtio-pci: refactor virtio-pci device.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic Create the virtio-pci device which is abstract. This transport device will create a virtio-pci-bus, so one VirtIODevice can be connected. Signed-off-by: KONRAD Frederic --- hw/virtio-pci.c | 118 hw/virtio-pci.h |