diff options
author | Markus Armbruster <armbru@redhat.com> | 2012-07-10 11:12:48 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-07-17 16:48:31 +0200 |
commit | 6e6f61a66aa45a15c9f411ad000a8d3d57272f8a (patch) | |
tree | 75dc2f5e958fdcfb473545890438590c8e93fe5d /tests/hd-geo-test.c | |
parent | 8cd41745fbe4ebbc7adff247cf2955765f7eb5e2 (diff) |
ide: qdev property for BIOS CHS translation
This isn't quite orthodox. CHS translation is firmware configuration,
communicated via the RTC's CMOS RAM, not a property of the disk. But
it's best to treat it just like geometry anyway.
Maintain backward compatibility exactly like for geometry: fall back
to DriveInfo's translation, set with -drive trans=...
Bonus: info qtree now shows the translation. Except when it shows
"auto": that's resolved by pc_cmos_init_late(). To be addressed
shortly.
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