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:17 +02: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-08-19 17:13:26 +02:00
2019-09-16 14:48:30 +02:00
2019-10-22 09:22:07 -05:00
2019-10-28 11:34:35 +01:00
2018-02-09 05:05:11 +01:00
2019-09-10 08:58:43 +02:00
2019-09-03 14:55:35 +02:00
2019-09-16 14:48:30 +02:00