]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
blockdev: Moving parsing of geometry options to drive_init
authorKevin Wolf <kwolf@redhat.com>
Mon, 9 Sep 2013 14:49:49 +0000 (16:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 14:50:01 +0000 (16:50 +0200)
commitb41a7338cfdeeb913ee4846d79a3f7e221350aed
tree8bbd4f71852899c2cffc9f0fd2a1f5b20a78c611
parent593d464bd43900c2a0c8800b76212f6a93e99a0d
blockdev: Moving parsing of geometry options to drive_init

This moves all of the geometry options (cyls/heads/secs/trans) to
drive_init so that they can only be accessed using legacy functions, but
never with anything blockdev-add related.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
blockdev.c