[PATCH 0/8] Add qcow2 extensions support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since QEMU 1.1 qcow2 supports a features bitfield, allowing
to implement additional features without breaking compatibility
with older QEMU versions.

The version header on-disk is bumped to 3, however the format name
is still 'qcow2', not 'qcow3' (which is what I used in v2).

v2: https://www.redhat.com/archives/libvir-list/2013-February/msg00212.html
qcow2 vs. qcow3 discussion:
https://www.redhat.com/archives/libvir-list/2013-March/msg00094.html

Ján Tomko (8):
  storage: rework qemu-img command line generation
  tests: don't overwrite error in storage xml-to-argv test
  util: add support for qcow2v3 image detection
  conf: add features to volume target XML
  storage: add support for creating qcow2 images with extensions
  conf: split out snapshot disk XML formatting
  Add qcow2 features support to snapshots
  qemu: add qcow2 extension support to inactive external snapshots

 docs/formatsnapshot.html.in                      |   5 +
 docs/formatstorage.html.in                       |  19 +++
 docs/schemas/Makefile.am                         |   1 +
 docs/schemas/domainsnapshot.rng                  |   7 +
 docs/schemas/storagefilefeatures.rng             |  24 ++++
 docs/schemas/storagevol.rng                      |   7 +
 libvirt.spec.in                                  |   1 +
 mingw-libvirt.spec.in                            |   2 +
 src/conf/snapshot_conf.c                         | 127 ++++++++++++++----
 src/conf/snapshot_conf.h                         |   2 +
 src/conf/storage_conf.c                          |  76 ++++++++++-
 src/conf/storage_conf.h                          |   6 +-
 src/libvirt_private.syms                         |   2 +
 src/qemu/qemu_driver.c                           |  72 +++++++---
 src/storage/storage_backend.c                    | 143 +++++++++++++-------
 src/storage/storage_backend_fs.c                 |  10 ++
 src/util/virstoragefile.c                        | 164 ++++++++++++++++++-----
 src/util/virstoragefile.h                        |  12 ++
 tests/domainsnapshotxml2xmlin/disk_snapshot.xml  |   5 +
 tests/domainsnapshotxml2xmlout/disk_snapshot.xml |   4 +
 tests/storagevolxml2argvdata/qcow2-1.1.argv      |   1 +
 tests/storagevolxml2argvdata/qcow2-lazy.argv     |   1 +
 tests/storagevolxml2argvdata/vol-qcow2-1.1.xml   |  32 +++++
 tests/storagevolxml2argvdata/vol-qcow2-lazy.xml  |  35 +++++
 tests/storagevolxml2argvtest.c                   |   6 +-
 tests/storagevolxml2xmlin/vol-qcow2-1.1.xml      |  32 +++++
 tests/storagevolxml2xmlin/vol-qcow2-lazy.xml     |  35 +++++
 tests/storagevolxml2xmlout/vol-qcow2-1.1.xml     |  33 +++++
 tests/storagevolxml2xmlout/vol-qcow2-lazy.xml    |  35 +++++
 tests/storagevolxml2xmltest.c                    |   2 +
 30 files changed, 769 insertions(+), 132 deletions(-)
 create mode 100644 docs/schemas/storagefilefeatures.rng
 create mode 100644 tests/storagevolxml2argvdata/qcow2-1.1.argv
 create mode 100644 tests/storagevolxml2argvdata/qcow2-lazy.argv
 create mode 100644 tests/storagevolxml2argvdata/vol-qcow2-1.1.xml
 create mode 100644 tests/storagevolxml2argvdata/vol-qcow2-lazy.xml
 create mode 100644 tests/storagevolxml2xmlin/vol-qcow2-1.1.xml
 create mode 100644 tests/storagevolxml2xmlin/vol-qcow2-lazy.xml
 create mode 100644 tests/storagevolxml2xmlout/vol-qcow2-1.1.xml
 create mode 100644 tests/storagevolxml2xmlout/vol-qcow2-lazy.xml

-- 
1.8.1.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]