Kevin Wolf
e4603fe139
qcow2: Fix header update with overridden backing file
...
In recent qemu versions, it is possible to override the backing file
name and format that is stored in the image file with values given at
runtime. In such cases, the temporary override could end up in the
image header if the qcow2 header was updated, while obviously correct
behaviour would be to leave the on-disk backing file path/format
unchanged.
Fix this and add a test case for it.
Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1428411796-2852-1-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-04-08 10:29:20 +01:00
..
2014-12-10 10:31:13 +01:00
2015-03-10 08:15:34 +03:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:24 +01:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-09-10 10:41:29 +02:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2015-03-10 14:02:21 +01:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2014-12-12 16:52:33 +00:00
2014-12-10 10:31:12 +01:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2015-03-27 10:01:12 +00:00
2015-03-27 10:01:12 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 15:48:26 +00:00
2014-12-12 16:52:33 +00:00
2014-12-10 10:31:12 +01:00
2014-11-03 11:41:48 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-10 10:31:12 +01:00
2014-12-12 16:52:33 +00:00
2015-03-16 17:07:25 +01:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:24 +01:00
2015-03-16 17:07:25 +01:00
2014-10-03 10:30:33 +01:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2015-03-19 16:02:59 +01:00
2015-01-13 11:47:56 +00:00
2015-03-10 14:02:21 +01:00
2014-12-12 13:14:10 +00:00
2014-12-12 13:14:10 +00:00
2015-01-23 18:17:05 +01:00
2015-03-10 14:02:20 +01:00
2014-11-03 11:41:49 +00:00
2015-03-16 17:07:25 +01:00
2014-12-12 16:52:33 +00:00
2015-01-23 12:41:32 -05:00
2015-01-23 12:41:32 -05:00
2015-03-10 14:02:20 +01:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2015-03-10 14:02:20 +01:00
2014-12-12 16:52:33 +00:00
2014-09-22 11:39:45 +01:00
2014-12-12 16:52:33 +00:00
2014-10-04 19:18:17 +01:00
2014-10-04 19:18:17 +01:00
2015-01-13 11:47:56 +00:00
2015-01-13 11:47:56 +00:00
2014-09-22 11:39:45 +01:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-10-23 15:34:01 +02:00
2014-11-03 09:48:41 +00:00
2014-11-03 09:48:41 +00:00
2014-12-10 10:31:12 +01:00
2014-12-12 16:52:33 +00:00
2014-10-23 15:34:01 +02:00
2015-03-10 14:02:21 +01:00
2015-03-10 14:02:21 +01:00
2015-03-10 14:02:21 +01:00
2014-12-12 16:52:33 +00:00
2015-01-13 11:47:56 +00:00
2014-12-12 16:52:33 +00:00
2014-12-10 10:31:16 +01:00
2015-03-10 14:02:21 +01:00
2015-02-06 17:24:22 +01:00
2015-02-06 17:24:22 +01:00
2014-11-09 23:39:50 +01:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2014-10-23 15:34:01 +02:00
2014-12-12 16:52:33 +00:00
2015-01-13 11:47:56 +00:00
2015-03-16 17:07:25 +01:00
2014-10-23 15:34:01 +02:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2015-03-10 14:02:20 +01:00
2014-10-23 15:34:01 +02:00
2014-12-12 16:52:33 +00:00
2014-12-12 16:52:33 +00:00
2014-10-23 15:34:01 +02:00
2014-12-12 16:52:33 +00:00
2015-02-16 15:07:18 +00:00
2015-02-16 15:07:18 +00:00
2015-02-16 14:36:03 +00:00
2015-02-16 14:36:03 +00:00
2014-10-04 19:18:17 +01:00
2014-12-12 16:52:33 +00:00
2014-11-03 11:41:48 +00:00
2014-12-12 16:52:33 +00:00
2014-11-03 11:41:48 +00:00
2014-12-12 16:52:33 +00:00
2015-01-13 11:47:56 +00:00
2014-12-12 16:52:33 +00:00
2015-02-06 17:24:22 +01:00
2014-12-12 16:52:33 +00:00
2014-11-03 11:41:47 +00:00
2014-11-03 11:41:47 +00:00
2014-10-23 15:34:01 +02:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:24 +01:00
2014-12-12 16:52:33 +00:00
2014-10-03 10:30:33 +01:00
2014-10-03 10:30:33 +01:00
2014-11-03 11:41:48 +00:00
2014-12-12 16:52:33 +00:00
2015-03-10 14:02:21 +01:00
2014-12-12 16:52:33 +00:00
2014-12-10 10:31:13 +01:00
2014-12-10 10:31:13 +01:00
2015-01-13 11:47:56 +00:00
2015-01-13 11:47:56 +00:00
2014-11-06 12:45:47 +01:00
2014-11-06 12:45:47 +01:00
2015-03-10 14:02:21 +01:00
2015-03-10 14:02:21 +01:00
2014-12-10 10:31:20 +01:00
2014-12-10 10:31:20 +01:00
2014-12-10 10:31:13 +01:00
2014-12-10 10:31:13 +01:00
2015-03-16 12:10:30 -04:00
2015-03-16 12:10:30 -04:00
2015-02-06 17:24:21 +01:00
2015-02-06 17:24:21 +01:00
2015-03-16 12:10:30 -04:00
2015-03-16 12:10:30 -04:00
2015-02-16 15:07:18 +00:00
2015-02-16 15:07:18 +00:00
2015-03-10 14:02:24 +01:00
2015-03-10 14:02:24 +01:00
2015-04-08 10:29:20 +01:00
2015-04-08 10:29:20 +01:00
2015-01-13 11:47:55 +00:00
2014-12-10 10:31:12 +01:00
2015-01-13 13:43:28 +00:00
2015-03-10 14:02:21 +01:00
2015-02-16 14:36:03 +00:00
2015-02-06 17:24:21 +01:00
2015-04-08 10:29:20 +01:00
2015-02-16 15:07:18 +00:00
2014-12-10 10:31:13 +01:00
2014-09-12 10:27:54 +02:00