Revision 6ab4b5ab
ID | 6ab4b5ab8f129df67708be4b58bdf0e13b178548 |
block: Decouple block device "commit all" from DriveInfo
do_commit() and mux_proc_byte() iterate over the list of drives
defined with drive_init(). This misses host block devices defined by
other means. Such means don't exist now, but will be introduced later
in this series.
Change them to use new bdrv_commit_all(), which iterates over all host
block devices.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted
- block.c (diff)
- block.h (diff)
- blockdev.c (diff)
- qemu-char.c (diff)