Max Reitz
fcf9a6b728
qcow2: Keep unknown extra snapshot data
...
The qcow2 specification says to ignore unknown extra data fields in
snapshot table entries. Currently, we discard it whenever we update the
image, which is a bit different from "ignore".
This patch makes the qcow2 driver keep all unknown extra data fields
when updating an image's snapshot table.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191011152814.14791-5-mreitz@redhat.com
[mreitz: Adjusted comments as proposed by Eric]
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-10-28 11:52:57 +01:00
..
2019-10-10 10:56:18 +02:00
2019-10-10 10:56:17 +02:00
2019-10-10 10:56:18 +02:00
2019-10-10 10:56:18 +02:00
2019-10-25 15:15:01 +02:00
2019-06-14 14:16:57 +02:00
2019-06-12 13:18:33 +02:00
2019-10-14 17:12:48 +02:00
2019-06-12 13:18:33 +02:00
2019-10-28 11:22:30 +01:00
2019-10-28 11:22:31 +01:00
2019-09-16 14:48:30 +02:00
2019-09-16 14:48:30 +02:00
2019-09-10 08:58:43 +02:00
2019-07-30 12:25:43 +02:00
2019-09-13 12:18:37 +02:00
2019-08-19 17:13:26 +02:00
2019-05-13 08:58:55 +02:00
2019-09-16 15:31:12 +02:00
2019-10-17 17:02:32 -04:00
2019-06-12 13:20:20 +02:00
2018-12-14 11:52:40 +01:00
2019-09-16 14:48:30 +02:00
2019-06-12 13:20:20 +02:00
2019-10-10 10:56:18 +02:00
2019-08-19 17:13:26 +02:00
2019-08-19 17:13:26 +02:00
2019-10-14 17:12:48 +02:00
2019-06-12 13:18:33 +02:00
2019-10-14 17:12:48 +02:00
2019-06-12 13:20:20 +02:00
2019-10-10 10:56:18 +02:00
2019-10-28 11:49:37 +01:00
2019-10-22 09:22:07 -05:00
2019-10-14 17:12:48 +02:00
2019-10-14 17:12:48 +02:00
2019-10-28 11:34:35 +01:00
2019-08-19 17:13:26 +02:00
2018-02-09 05:05:11 +01:00
2019-10-10 10:56:18 +02:00
2019-10-17 17:53:28 -04:00
2019-06-12 13:20:20 +02:00
2019-10-14 17:12:48 +02:00
2019-10-25 15:18:55 +02:00
2019-10-28 11:52:57 +01:00
2019-09-16 15:36:22 +02:00
2019-10-28 11:51:09 +01:00
2019-10-28 11:52:57 +01:00
2019-07-08 16:00:26 +02:00
2019-04-30 15:29:00 +02:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2019-04-30 15:29:00 +02:00
2019-08-19 17:13:26 +02:00
2019-04-30 15:29:00 +02:00
2019-06-12 13:18:33 +02:00
2019-08-19 17:13:26 +02:00
2019-10-14 17:12:48 +02:00
2019-10-10 10:56:18 +02:00
2019-08-19 17:13:26 +02:00
2019-10-04 11:52:40 +02:00
2019-08-19 17:13:26 +02:00
2019-09-10 08:58:43 +02:00
2019-08-16 13:31:52 +02:00
2019-06-12 13:18:33 +02:00
2019-10-28 11:34:35 +01:00
2019-08-19 17:13:26 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-10-14 17:12:48 +02:00
2019-04-30 15:29:00 +02:00
2019-09-03 14:55:35 +02:00
2019-09-10 08:58:43 +02:00
2019-09-16 14:48:30 +02:00
2019-10-14 17:12:48 +02:00
2019-06-12 13:18:33 +02:00
2018-08-28 18:21:38 +02:00