summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorKevin Wolf2013-09-10 12:01:20 +0200
committerKevin Wolf2013-10-11 16:50:01 +0200
commitf298d071662af6cf5dc221ee3e3bd0154035e570 (patch)
tree0f08ef80d04cf1a143215d589e9d737ba0955b86 /scripts/switch-timer-api
parentblockdev: Separate ID generation from DriveInfo creation (diff)
downloadqemu-f298d071662af6cf5dc221ee3e3bd0154035e570.tar.gz
qemu-f298d071662af6cf5dc221ee3e3bd0154035e570.tar.xz
qemu-f298d071662af6cf5dc221ee3e3bd0154035e570.zip
blockdev: Pass QDict to blockdev_init()
Working on a QDict instead of a QemuOpts that accepts anything is more in line with bdrv_open(). A QDict is what qmp_blockdev_add() already has anyway, so this saves additional conversions. And last, but not least, it allows later patches to easily extract legacy options into a separate, typed QemuOpts for drive_init() (the untyped QemuOpts that drive_init already has doesn't allow access to numbers, only strings, and is therefore useless without conversion). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions