[PATCHv2 00/16] qemu block-commit support

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

 



I figured I'd better post this now, while I still iron out the
remaining kinks in my SELinux handling (but I'm certainly a lot
closer, now that I have libvirt actually identifying which files
need the temporary SELinux labels).

With this, you can now do things like 'virsh blockcommit $dom
$disk --top relative_name --shallow' even when the backing
chain refers to an absolute backing file name; the QMP command
passed to qemu will have the correct absolute names.

Patches 1-6:
practically unchanged since v1, although not reviewed yet
https://www.redhat.com/archives/libvir-list/2012-October/msg00075.html

Patches 7-13:
new to this series

Patches 14-15:
minor changes since v1 ACKs; see details in each commit
https://www.redhat.com/archives/libvir-list/2012-October/msg00089.html

Patch 16:
new to this series

Also available at:
 http://repo.or.cz/w/libvirt/ericb.git/shortlog/refs/heads/blockjob
 git fetch git://repo.or.cz/libvirt/ericb.git blockjob

Eric Blake (16):
  storage: list more file types
  storage: treat 'aio' like 'raw' at parse time
  storage: match RNG to supported driver types
  storage: use enum for default driver type
  storage: use enum for disk driver type
  storage: use enum for snapshot driver type
  storage: don't probe non-files
  storage: get entire metadata chain in one call
  storage: don't require caller to pre-allocate metadata struct
  storage: remember relative names in backing chain
  storage: make it easier to find file within chain
  storage: cache backing chain while qemu domain is live
  storage: use cache to walk backing chain
  blockjob: manage qemu block-commit monitor command
  blockjob: wire up online qemu block-commit
  blockjob: implement shallow commit flag in qemu

 docs/schemas/domaincommon.rng                      |  27 +-
 docs/schemas/domainsnapshot.rng                    |   2 +-
 src/conf/capabilities.h                            |   4 +-
 src/conf/domain_conf.c                             | 160 ++++--------
 src/conf/domain_conf.h                             |   8 +-
 src/conf/snapshot_conf.c                           |  23 +-
 src/conf/snapshot_conf.h                           |   2 +-
 src/conf/storage_conf.c                            |  15 +-
 src/libvirt.c                                      |   2 -
 src/libvirt_private.syms                           |   1 +
 src/libxl/libxl_conf.c                             |  42 ++--
 src/libxl/libxl_driver.c                           |   6 +-
 src/qemu/qemu_capabilities.c                       |   3 +
 src/qemu/qemu_capabilities.h                       |   1 +
 src/qemu/qemu_cgroup.c                             |  12 +-
 src/qemu/qemu_command.c                            |  18 +-
 src/qemu/qemu_domain.c                             |  40 ++-
 src/qemu/qemu_domain.h                             |   3 +
 src/qemu/qemu_driver.c                             | 236 +++++++++++------
 src/qemu/qemu_hotplug.c                            |   9 +-
 src/qemu/qemu_monitor.c                            |  30 +++
 src/qemu/qemu_monitor.h                            |   7 +
 src/qemu/qemu_monitor_json.c                       |  34 +++
 src/qemu/qemu_monitor_json.h                       |   7 +
 src/qemu/qemu_process.c                            |  23 ++
 src/security/security_dac.c                        |   7 -
 src/security/security_selinux.c                    |  11 -
 src/security/virt-aa-helper.c                      |  27 +-
 src/storage/storage_backend_fs.c                   |  15 +-
 src/util/storage_file.c                            | 279 ++++++++++++++++-----
 src/util/storage_file.h                            |  43 ++--
 src/vbox/vbox_tmpl.c                               |   6 +-
 src/xenxs/xen_sxpr.c                               |  26 +-
 src/xenxs/xen_xm.c                                 |  28 ++-
 tests/sexpr2xmldata/sexpr2xml-curmem.xml           |   2 +-
 .../sexpr2xml-disk-block-shareable.xml             |   2 +-
 .../sexpr2xml-disk-drv-blktap-raw.xml              |   2 +-
 .../sexpr2xml-disk-drv-blktap2-raw.xml             |   2 +-
 38 files changed, 773 insertions(+), 392 deletions(-)

-- 
1.7.11.7

--
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]