On 4/15/20 2:02 PM, Alberto Garcia wrote:
Although we cannot create these images with qemu-img it is still
possible to do it using an external tool. QEMU should refuse to open
them until the data-file-raw bit is cleared with 'qemu-img check'.

Signed-off-by: Alberto Garcia <be...@igalia.com>
---
  block/qcow2.c              | 39 ++++++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/244     | 13 +++++++++++++
  tests/qemu-iotests/244.out | 14 ++++++++++++++
  3 files changed, 66 insertions(+)


Reviewed-by: Eric Blake <ebl...@redhat.com>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to