summary refs log tree commit diff stats
path: root/hw/qdev-properties.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2012-07-10 11:12:43 +0200
committerKevin Wolf <kwolf@redhat.com>2012-07-17 16:48:30 +0200
commite63e7fde24a3e88f1a4992d8f47b7a44ddcf14ff (patch)
treef70e07520a30ce947a9846ca4118d4041186f25f /hw/qdev-properties.c
parentd252df489879ca3b128e080409b89305491d04cf (diff)
downloadfocaccia-qemu-e63e7fde24a3e88f1a4992d8f47b7a44ddcf14ff.tar.gz
focaccia-qemu-e63e7fde24a3e88f1a4992d8f47b7a44ddcf14ff.zip
virtio-blk: qdev properties for disk geometry
Geometry needs to be qdev properties, because it belongs to the
disk's guest part.

Maintain backward compatibility exactly like for serial: fall back to
DriveInfo's geometry, set with -drive cyls=...

Bonus: info qtree now shows the geometry.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions