Kevin Wolf dd62f1ca43 block: Implement bdrv_append() without bdrv_swap()
Remember all parent nodes and just change the pointers there instead of
swapping the contents of the BlockDriverState.

Handling of snapshot=on must be moved further down in bdrv_open()
because *pbs (which is the bs pointer in the BlockBackend) must already
be set before bdrv_append() is called. Otherwise bdrv_append() changes
the BB's pointer to the temporary snapshot, but bdrv_open() overwrites
it with the read-only original image.

We also need to be careful to update callers as the interface changes
(becomes less insane): Previously, the meaning of the two parameters was
inverted when bdrv_append() returns. Now any BDS pointers keep pointing
to the same node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-10-16 15:34:30 +02:00
2015-07-08 13:11:01 +02:00
2015-10-16 15:34:29 +02:00
2015-10-01 17:24:02 -07:00
2015-10-12 15:52:54 +01:00
2015-10-16 15:34:29 +02:00
2015-09-11 10:45:43 +03:00
2015-10-12 13:31:28 +08:00
2015-09-11 10:21:38 +03:00
2015-10-08 19:46:47 +03:00
2015-09-11 10:45:43 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2013-10-11 09:34:56 -07:00
2015-07-27 22:44:47 +03:00
2015-04-30 16:05:48 +03:00
2015-09-14 16:13:16 +01:00
2015-09-04 13:26:26 +02:00
2015-09-07 18:14:03 +02:00
2015-09-07 18:14:03 +02:00
2015-10-12 14:29:29 +01:00
2015-09-01 13:16:26 -05:00
2014-05-24 00:07:29 +04:00
2015-05-11 08:59:07 -04:00
2015-09-29 11:33:02 +05:30
2013-10-11 09:34:56 -07:00
2015-08-19 16:29:53 +01:00
2015-08-11 23:15:55 +01:00
2013-10-11 09:34:56 -07:00
2015-10-12 14:29:29 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%