]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
block: simplify default_drive
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 22 Nov 2012 20:02:55 +0000 (21:02 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 11 Dec 2012 10:05:10 +0000 (11:05 +0100)
commit3c42ea66888f149d72d600bab63624b2d849e4bf
tree867e1510a58211f9d5d96a6b9b5d56822928f2d6
parent2d0d2837dcf786da415cf4165d37f4ddd684ff57
block: simplify default_drive

Markus Armbruster pointed out that there is only one caller
to default_drive with IF_DEFAULT as a type. Lets get rid
of the block_default_type parameter and adopt the caller
to do the right thing (asking the machine struct).

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
vl.c