diff options
author | Markus Armbruster <armbru@redhat.com> | 2012-07-10 11:12:42 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-07-17 16:48:30 +0200 |
commit | d252df489879ca3b128e080409b89305491d04cf (patch) | |
tree | 2b5b5c9379616aac66ba8b506a7385815e926cbe /hw/arm_sysctl.c | |
parent | 1f24d7b47e1f18b5e7f0f050f915a42e9aa645db (diff) |
scsi-hd: 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=...
Do this only for scsi-hd. scsi-disk is legacy. scsi-cd doesn't have
a geometry. scsi-block should get geometry from the host disk.
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/arm_sysctl.c')
0 files changed, 0 insertions, 0 deletions