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-08-10 17:34:13 +02:00
…
2011-08-10 17:34:13 +02:00
2011-08-23 22:24:40 +02:00
…
…
…
…
…
2011-08-27 15:42:35 +00:00
2011-09-06 11:23:51 +02:00
…
…
…
…
…
…
…
…
…
2011-08-22 10:17:44 -05:00
…
…
2011-08-12 13:07:58 +01:00
2011-09-02 10:34:55 -05:00
…
…
2011-08-25 09:21:48 +01:00
…
2011-08-04 15:51:22 +02:00
2011-08-28 07:17:08 +00:00
…
…
…
…
…
…
2011-08-27 15:42:35 +00:00
2011-08-27 15:42:35 +00:00
…
…
…
…
2011-08-04 15:51:22 +02:00
2011-08-04 15:51:22 +02:00
2011-09-02 10:34:55 -05:00
…
…
2011-09-06 11:23:51 +02:00
…
2011-08-05 10:57:34 -05:00
2011-09-02 10:34:55 -05:00
2011-08-27 15:42:35 +00:00
…
…
…
…
…
2011-08-21 15:33:33 +00:00
…
2011-08-21 15:33:22 +00:00
…
…
…
2011-08-27 15:42:35 +00:00
…
2011-08-27 15:42:35 +00:00
…
…
2011-08-22 10:17:44 -05:00
2011-08-20 23:01:08 -05:00
2011-08-02 15:53:40 +02:00
2011-08-05 10:57:35 -05:00
…
…
…
…
…
…
…
2011-08-26 18:18:38 +02:00
…
…
…
…
…
…
2011-08-27 15:42:35 +00:00
…
…
…
…
…
2011-08-27 15:42:35 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
S
Description
A QEMU emulator for legacy Apple devices
Readme GPL-2.0
557 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.9%
C++ 6.4%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.7%