summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/spapr.h
diff options
context:
space:
mode:
authorDavid Gibson2017-07-17 06:51:09 +0200
committerDavid Gibson2017-07-17 07:06:08 +0200
commit3579d606a091eb698cd53cef64e48cfa08cd7805 (patch)
tree94f9620d65e5e5ac74e6c1dfb5309336d9cf4127 /include/hw/ppc/spapr.h
parentvmgenid-test: use boot-sector infrastructure (diff)
downloadqemu-3579d606a091eb698cd53cef64e48cfa08cd7805.tar.gz
qemu-3579d606a091eb698cd53cef64e48cfa08cd7805.tar.xz
qemu-3579d606a091eb698cd53cef64e48cfa08cd7805.zip
spapr: Remove unnecessary instance_size specifications from DRC subtypes
All the DRC subtypes explicitly list instance_size in TypeInfo (all as sizeof(sPAPRDRConnector). This isn't necessary, since if it's not listed it will be derived from the parent type. Worse, this is dangerous, because if a subtype is changed in future to have a larger structure, then subtypes of that subtype also need to have instance_size changed, or it will lead to hard to track memory corruption bugs. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
0 files changed, 0 insertions, 0 deletions