Markus Armbruster 07b70bfbb3 savevm: Include writable devices with removable media
savevm and loadvm silently ignore block devices with removable media,
such as floppies and SD cards.  Rolling back a VM to a previous
checkpoint will *not* roll back writes to block devices with removable
media.

Moreover, bdrv_is_removable() is a confused mess, and wrong in at
least one case: it considers "-drive if=xen,media=cdrom -M xenpv"
removable.  It'll be cleaned up later in this series.

Read-only block devices are also ignored, but that's okay.

Fix by ignoring only read-only block devices and empty block devices.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-09-06 11:24:07 +02:00
2011-09-03 17:47:14 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-09-06 11:23:51 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-09-02 10:34:55 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-09-02 10:34:55 -05:00
…
…
2011-09-06 11:23:51 +02:00
…
2011-09-02 10:34:55 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 830 MiB
Languages
C 83.4%
C++ 6%
Python 3.5%
Dylan 2.7%
Shell 1.2%
Other 3%