mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
block: Remove deprecated -drive geometry options
This reinstates commit a7aff6dd10
,
which was temporarily reverted for the 3.0 release so that libvirt gets
some extra time to update their command lines.
The -drive options cyls, heads, secs and trans were deprecated in
QEMU 2.10. It's time to remove them.
hd-geo-test tested both the old version with geometry options in -drive
and the new one with -device. Therefore the code using -drive doesn't
have to be replaced there, we just need to remove the -drive test cases.
This in turn allows some simplification of the code.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
497da8236a
commit
b24ec3c462
7 changed files with 9 additions and 131 deletions
|
@ -35,7 +35,6 @@ struct DriveInfo {
|
|||
int auto_del; /* see blockdev_mark_auto_del() */
|
||||
bool is_default; /* Added by default_drive() ? */
|
||||
int media_cd;
|
||||
int cyls, heads, secs, trans;
|
||||
QemuOpts *opts;
|
||||
char *serial;
|
||||
QTAILQ_ENTRY(DriveInfo) next;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue