aboutsummaryrefslogtreecommitdiff
path: root/hw/hda-audio.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2012-07-10 11:12:42 +0200
committerKevin Wolf <kwolf@redhat.com>2012-07-17 16:48:30 +0200
commitd252df489879ca3b128e080409b89305491d04cf (patch)
tree2b5b5c9379616aac66ba8b506a7385815e926cbe /hw/hda-audio.c
parent1f24d7b47e1f18b5e7f0f050f915a42e9aa645db (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/hda-audio.c')
0 files changed, 0 insertions, 0 deletions