]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
blockdev: Move parsing of 'media' option to drive_init
authorKevin Wolf <kwolf@redhat.com>
Wed, 28 Aug 2013 15:00:13 +0000 (17:00 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 14:50:01 +0000 (16:50 +0200)
commit33cb7dc8b7a26ccdff2f054056d3f2e487cbb4cd
tree2215c574f0fef99c07b219ecbef55c929e040afd
parentf298d071662af6cf5dc221ee3e3bd0154035e570
blockdev: Move parsing of 'media' option to drive_init

This moves as much as possible of the processing of the 'media' option
to drive_init so that it can only be accessed using legacy functions,
but never with anything blockdev-add related.

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