diff options
| author | Daniel P. Berrange | 2017-06-23 18:24:03 +0200 |
|---|---|---|
| committer | Max Reitz | 2017-07-11 17:44:55 +0200 |
| commit | 6aa837f7bd60903573e0644f503f455454bbf5ae (patch) | |
| tree | 908f64129f2b399fa84c548f1a18e6a898cc7971 /tests | |
| parent | qcow: document another weakness of qcow AES encryption (diff) | |
| download | qemu-6aa837f7bd60903573e0644f503f455454bbf5ae.tar.gz qemu-6aa837f7bd60903573e0644f503f455454bbf5ae.tar.xz qemu-6aa837f7bd60903573e0644f503f455454bbf5ae.zip | |
qcow: require image size to be > 1 for new images
The qcow driver refuses to open images which are less than
2 bytes in size, but will happily create such images. Add
a check in the create path to avoid this discrepancy.
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170623162419.26068-5-berrange@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
