Re: [Qemu-devel] [PATCH 04/61] virtio-pci : refactor virtio-pci device.

2013-01-09 Thread Peter Maydell
On 9 January 2013 08:45, KONRAD Frédéric wrote: > On 08/01/2013 18:54, Peter Maydell wrote: >> This doesn't have any code in it yet (it gets added in later patches) but >> the final result looks very repetitive. I think you'd be better off just >> having >> some arrays: >> >> uint16_t virtio_pci_d

Re: [Qemu-devel] [PATCH 04/61] virtio-pci : refactor virtio-pci device.

2013-01-09 Thread KONRAD Frédéric
On 08/01/2013 18:54, Peter Maydell wrote: On 7 January 2013 18:40, wrote: From: KONRAD Frederic Create the virtio-pci device. This transport device will create a virtio-pci-bus, so one VirtIODevice can be connected. Signed-off-by: KONRAD Frederic --- hw/virtio-pci.c | 127 +++

Re: [Qemu-devel] [PATCH 04/61] virtio-pci : refactor virtio-pci device.

2013-01-08 Thread Peter Maydell
On 7 January 2013 18:40, wrote: > From: KONRAD Frederic > > Create the virtio-pci device. This transport device will create a > virtio-pci-bus, so one VirtIODevice can be connected. > > Signed-off-by: KONRAD Frederic > --- > hw/virtio-pci.c | 127 >

[Qemu-devel] [PATCH 04/61] virtio-pci : refactor virtio-pci device.

2013-01-07 Thread fred . konrad
From: KONRAD Frederic Create the virtio-pci device. This transport device will create a virtio-pci-bus, so one VirtIODevice can be connected. Signed-off-by: KONRAD Frederic --- hw/virtio-pci.c | 127 hw/virtio-pci.h | 18 2 fil