Re: [Qemu-devel] [RFT PATCH v1 12/30] virtio/virtio-pci: QOM casting sweep

2013-06-23 Thread Peter Crosthwaite
Hi Frederic, On Tue, Jun 11, 2013 at 5:09 PM, Frederic Konrad wrote: > Hi, > > > On 11/06/2013 08:49, peter.crosthwa...@xilinx.com wrote: >> >> From: Peter Crosthwaite >> >> Use standard QOM cast macro. Remove usages of container_of() and >> direct -> style upcasting. >> >> Signed-off-by: Peter

Re: [Qemu-devel] [RFT PATCH v1 12/30] virtio/virtio-pci: QOM casting sweep

2013-06-11 Thread Frederic Konrad
Hi, On 11/06/2013 08:49, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite Use standard QOM cast macro. Remove usages of container_of() and direct -> style upcasting. Signed-off-by: Peter Crosthwaite [...] static inline VirtIOPCIProxy *to_virtio_pci_proxy(DeviceState *d) { -

[Qemu-devel] [RFT PATCH v1 12/30] virtio/virtio-pci: QOM casting sweep

2013-06-10 Thread peter . crosthwaite
From: Peter Crosthwaite Use standard QOM cast macro. Remove usages of container_of() and direct -> style upcasting. Signed-off-by: Peter Crosthwaite --- hw/virtio/virtio-pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci