]> git.proxmox.com Git - qemu.git/commit
misc/pci-testdev: QOM Upcast Sweep
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 24 Jun 2013 06:58:00 +0000 (16:58 +1000)
committerAndreas Färber <afaerber@suse.de>
Mon, 22 Jul 2013 22:37:33 +0000 (00:37 +0200)
commit40108d0a6d1e59aa5904298874753fe0cb420a64
treeb4804485e16066d092876eb430b54cbf0231be12
parent6a6b5580bd03fc7326716ebb36b1f42ebfc0a967
misc/pci-testdev: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[AF: Replaced another DO_UPCAST()]
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/misc/pci-testdev.c