summaryrefslogtreecommitdiffstats
path: root/module-common.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2014-06-18 11:58:29 +0200
committerStefan Hajnoczi2014-07-01 09:15:02 +0200
commitdc80ca6cd6cafdee174af3c883d85e19b7fd70a5 (patch)
tree60444c59542bb386cb8625b9b07be046ba56c9bd /module-common.c
parentqom: add object_property_add_alias() (diff)
downloadqemu-dc80ca6cd6cafdee174af3c883d85e19b7fd70a5.tar.gz
qemu-dc80ca6cd6cafdee174af3c883d85e19b7fd70a5.tar.xz
qemu-dc80ca6cd6cafdee174af3c883d85e19b7fd70a5.zip
virtio-blk: avoid qdev property definition duplication
It becomes unwiedly to duplicate all virtio-blk qdev property definitions due to an #ifdef. The C preprocessor syntax makes it a little hard to resolve this cleanly but we can extract the #ifdef and call a macro it defines later. Avoiding duplication is important since it will only get worse when we move the x-data-plane qdev property here too. We'd have a combinatorial explosion since x-data-plane has its own #ifdef. Suggested-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions