[PATCHv3 00/26] Work In Progress: Refactor handling of disk image metadata

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

 



In my quest to fix various issues with image chain handling I've set out to
fix labelling of the image files. While I'm not far enough yet, the series has grown
rather large and contains a few fixes of other stuff.

I'm posting it incomplete to star review on the trivial parts.

Peter Krempa (26):
  utils:
    s/virStorageSourceClearBackingStore/virStorageSourceBackingStoreClear
  security: Rename virSecurityManagerRestoreImageLabel to *Disk*
  security: manager: Avoid forward decl of virSecurityManagerDispose
  security: manager: Unify function header format
  security: manager: Document behavior of disk label manipulation funcs
  security: Fix header formatting of a few functions
  security: nop: Avoid very long lines
  storage: Move readonly and shared flags to disk source from disk def
  util: storagesource: Add helper to copy and free storage source
    seclabels
  util: storagefile: Add deep copy for struct virStorageSource
  util: cgroup: Add helper to convert device mode to string
  qemu: cgroup: Add functions to set cgroup image stuff on individual
    imgs
  qemu: cgroup: Setup only the top level disk image for read-write
    access
  locking: Add APIs to lock individual image files
  security: Introduce APIs to label single images
  security: selinux: Implement per-image seclabel restore
  security: selinux: Implement per-image seclabel set
  security: DAC: Implement per-image seclabel restore
  security: DAC: Implement per-image seclabel set
  security: AppArmor: Implement per-image seclabel restore
  security: AppArmor: Implement per-image seclabel set
  util: storage: Add helper to determine whether storage is local
  util: storage: Make virStorageFileChainLookup more network storage
    aware
  util: storage: Return complete parent info from
    virStorageFileChainLookup
  qemu: blockcopy: Use the mirror disk source to label the files
  qemu: blockcopy: Don't remove existing disk mirror info

 src/conf/domain_conf.c           |  18 +-
 src/conf/domain_conf.h           |   2 -
 src/libvirt_private.syms         |  10 +-
 src/libxl/libxl_conf.c           |   2 +-
 src/locking/domain_lock.c        |  65 +++++---
 src/locking/domain_lock.h        |   8 +
 src/lxc/lxc_cgroup.c             |   2 +-
 src/lxc/lxc_controller.c         |   2 +-
 src/lxc/lxc_driver.c             |   2 +-
 src/qemu/qemu_cgroup.c           | 110 +++++++------
 src/qemu/qemu_cgroup.h           |   3 +
 src/qemu/qemu_command.c          |  14 +-
 src/qemu/qemu_conf.c             |   4 +-
 src/qemu/qemu_domain.c           |   2 +-
 src/qemu/qemu_driver.c           |  65 +++-----
 src/qemu/qemu_hotplug.c          |  24 +--
 src/qemu/qemu_migration.c        |  16 +-
 src/security/security_apparmor.c |  52 ++++--
 src/security/security_dac.c      | 115 ++++++-------
 src/security/security_driver.h   |  22 ++-
 src/security/security_manager.c  | 347 +++++++++++++++++++++++++++------------
 src/security/security_manager.h  |  22 ++-
 src/security/security_nop.c      | 166 ++++++++++++-------
 src/security/security_selinux.c  | 154 +++++++++--------
 src/security/security_stack.c    |  50 +++++-
 src/security/virt-aa-helper.c    |   2 +-
 src/util/vircgroup.c             |  62 +++++--
 src/util/vircgroup.h             |   2 +
 src/util/virstoragefile.c        | 239 +++++++++++++++++++++++----
 src/util/virstoragefile.h        |  17 +-
 src/vbox/vbox_tmpl.c             |  30 ++--
 src/xenxs/xen_sxpr.c             |  10 +-
 src/xenxs/xen_xm.c               |  10 +-
 tests/virstoragetest.c           |  86 +++++-----
 34 files changed, 1140 insertions(+), 595 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]

  Powered by Linux