aboutsummaryrefslogtreecommitdiff
path: root/hw/net/pcnet-pci.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2013-04-07 19:08:16 +0000
committerAlexander Graf <agraf@suse.de>2013-04-26 23:02:41 +0200
commitfd506b4f61cd22793f8c54a9adf5c69345792501 (patch)
treedc56e93e2f809255420ccf8b7248d8cd40ff7962 /hw/net/pcnet-pci.c
parent9b00ea4906a618756bcd10f09d432780eab87782 (diff)
downloadqemu-fd506b4f61cd22793f8c54a9adf5c69345792501.zip
qemu-fd506b4f61cd22793f8c54a9adf5c69345792501.tar.gz
qemu-fd506b4f61cd22793f8c54a9adf5c69345792501.tar.bz2
pseries: Convert VIO code to QOM style type safe(ish) casts
Curerntly the pseries VIO device code contains quite a few explicit uses of DO_UPCAST and plain C casts. This is (obviously) type unsafe, and not the conventional way of doing things in the QOM model. This patch converts the code to use the QOM convention of per-type macros to do verified casts with OBJECT_CHECK(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/net/pcnet-pci.c')
0 files changed, 0 insertions, 0 deletions