diff options
author | Markus Armbruster <armbru@redhat.com> | 2012-07-10 11:12:44 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-07-17 16:48:31 +0200 |
commit | ba801960db1c08035f7e1772bd482aa80d909a35 (patch) | |
tree | 7d6c562df86d6c57b1a0e4e721e39f6d39e51879 /tests/hd-geo-test.c | |
parent | e63e7fde24a3e88f1a4992d8f47b7a44ddcf14ff (diff) |
ide: 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 ide-hd. ide-drive is legacy. ide-cd doesn't have a
geometry.
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 'tests/hd-geo-test.c')
0 files changed, 0 insertions, 0 deletions