Kevin Wolf 175e11526e qcow2: Fix error handling in l2_allocate
l2_allocate has some intermediate states in which the image is inconsistent.
Change the order to write to the L1 table only after the new L2 table has
successfully been initialized.

Also reset the L2 cache in failure case, it's very likely wrong.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-05-28 13:14:25 +02:00
2010-05-22 08:02:12 +00:00
2010-05-22 08:00:52 +00:00
2010-01-13 17:14:16 -06:00
2010-05-18 21:12:48 +02:00
2010-05-14 10:55:58 -05:00
2010-05-07 16:28:10 +00:00
2010-05-20 21:04:47 +02:00
2010-03-06 23:09:28 +01:00
…
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
…
…
2009-09-25 19:53:21 +00:00
2010-04-09 18:55:56 +02:00
2010-04-09 18:55:56 +02:00
2010-05-26 20:05:14 +02:00
2010-05-26 20:05:14 +02:00
2010-04-28 13:41:14 -03:00
…
2010-02-07 02:03:50 +03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 08:46:10 +02:00
2010-05-24 15:18:23 -05:00
…
2010-05-11 14:02:22 -03:00
2010-04-25 12:59:33 +00:00
2010-05-14 19:32:21 +00:00
2010-03-21 19:44:06 +00:00
2010-05-24 15:18:23 -05:00
2010-03-17 11:16:15 -05:00
…
…
2010-04-01 21:51:59 +02:00
2010-04-01 21:51:59 +02:00
2010-03-01 04:39:50 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-05-19 15:24:17 +02:00
2009-09-12 07:36:22 +00:00
2010-03-29 19:24:00 +00:00
2009-12-17 18:12:04 +01:00
…
2010-05-22 08:34:24 +00:00
2010-05-22 08:02:12 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-02-10 12:47:58 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-03-06 23:15:30 +01:00
2010-03-06 23:15:30 +01:00
…
2009-10-01 16:12:16 -05:00
2010-02-06 19:24:42 +01:00
2010-05-22 08:36:07 +00:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2010-05-24 15:18:23 -05:00
2010-05-22 08:00:52 +00:00
2010-01-08 09:58:40 -06:00
2010-03-19 15:27:27 -05:00
2010-03-19 15:27:27 -05:00
2009-09-12 07:36:22 +00:00
…
2010-05-03 12:39:12 -05:00
2010-05-22 08:02:12 +00:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:39 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2009-10-27 12:28:59 -05:00
2010-05-11 14:02:22 -03:00
2010-03-18 18:41:49 +00:00
2010-05-22 08:02:12 +00:00
2010-05-22 08:02:12 +00:00
2009-10-01 16:12:16 -05:00
2010-02-23 22:36:19 +01:00
2010-05-17 10:20:04 +02:00
2010-05-19 12:45:54 -03:00
2010-05-03 12:09:48 -05:00
2009-07-22 10:58:49 -05:00
2010-03-29 19:24:00 +00:00
…
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:38 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-02-10 13:46:17 -06:00
2009-12-03 09:41:18 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
…
2010-05-15 14:23:31 +00:00
2009-10-01 16:12:16 -05:00
2009-07-08 18:25:37 +04:00
2009-09-13 19:38:43 +00:00
2010-05-19 12:45:54 -03:00
2010-03-14 22:04:50 +01:00
…
2009-10-01 16:12:16 -05:00
…
2009-10-01 16:12:16 -05:00
…
2010-05-24 15:18:24 -05:00
2010-05-24 15:18:24 -05:00
2010-05-24 15:18:24 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
722 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%