Skip to content
  • Kevin Wolf's avatar
    b24ec3c4
    block: Remove deprecated -drive geometry options · b24ec3c4
    Kevin Wolf authored
    
    
    This reinstates commit a7aff6dd,
    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: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
    b24ec3c4
    block: Remove deprecated -drive geometry options
    Kevin Wolf authored
    
    
    This reinstates commit a7aff6dd,
    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: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
Loading