[PATCH 00/10] Work In Progress: Refactor dealing with disk source data

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

 



This is a work in progress snapshot of my current state to get rid
of a few very ugly places where we deal with storage source information
while labelling images.

The goal of this series will be to get rid of the ugly places and additionally
fix problem when block-copying a networked disk which may break badly.

Peter Krempa (10):
  storage: encryption: Add deep copy function for storage encryption
  util: seclabel: Add deep copy function for device labels
  util: storagefile: Introduce helper to free storage source perms
  util: storagesource: Add helper to copy and free storage source
    seclabels
  util: storagefile: Add deep copy for struct virStorageSource
  qemu: cgroup: Add functions to set cgroup image stuff on individual
    imgs
  util: Don't require full disk definition when getting imagelabels
  security: Sanitize type of @migrated in
    virSecurityManagerRestoreAllLabel
  security: Rename virSecurityManagerSetImageLabel to *Disk*
  qemu: snapshot: Improve approach to deal with snapshot metadata

 src/conf/domain_conf.c           |  14 ---
 src/conf/domain_conf.h           |   3 -
 src/libvirt_private.syms         |   6 +-
 src/lxc/lxc_controller.c         |   2 +-
 src/lxc/lxc_driver.c             |   4 +-
 src/qemu/qemu_cgroup.c           |  92 ++++++++++-------
 src/qemu/qemu_cgroup.h           |   5 +
 src/qemu/qemu_domain.c           |   2 +-
 src/qemu/qemu_driver.c           | 121 ++++++----------------
 src/qemu/qemu_hotplug.c          |  16 +--
 src/qemu/qemu_process.c          |   2 +-
 src/security/security_apparmor.c |   8 +-
 src/security/security_dac.c      |  24 ++---
 src/security/security_driver.h   |  10 +-
 src/security/security_manager.c  |  12 +--
 src/security/security_manager.h  |   8 +-
 src/security/security_nop.c      |  10 +-
 src/security/security_selinux.c  |  20 ++--
 src/security/security_stack.c    |  12 +--
 src/util/virseclabel.c           |  23 +++++
 src/util/virseclabel.h           |   6 +-
 src/util/virstorageencryption.c  |  40 ++++++++
 src/util/virstorageencryption.h  |   3 +
 src/util/virstoragefile.c        | 217 +++++++++++++++++++++++++++++++++++++--
 src/util/virstoragefile.h        |  10 ++
 25 files changed, 449 insertions(+), 221 deletions(-)

-- 
1.9.3

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