diff options
author | Stefan Hajnoczi | 2014-06-18 11:58:29 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2014-07-01 09:15:02 +0200 |
commit | dc80ca6cd6cafdee174af3c883d85e19b7fd70a5 (patch) | |
tree | 60444c59542bb386cb8625b9b07be046ba56c9bd /xen-hvm-stub.c | |
parent | qom: add object_property_add_alias() (diff) | |
download | qemu-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 'xen-hvm-stub.c')
0 files changed, 0 insertions, 0 deletions