[PATCH 0/7] qemu: Fix two pool-translation related bugs

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

 



Fix following problems:
 - fix disk type='volume' disks resolving to local images on apparmor-protected hosts
 - VMs are killed if pool is not available after libvirtd/virtqemud restart

The first one will be annoying for users of Cockpit on apparmor based
boxes. NOTE: I didn't test it though as I don't have such distro handy.

Peter Krempa (7):
  virStorageSourcePoolDef: Turn 'mode' member into proper enum type
  virDomainDiskSourcePoolDefParse: Refactor cleanup
  virDomainDiskTranslateSourcePool: Don't re-translate already
    translated defs
  qemu: domain: Allow preserving translated disk type='volume' data into
    XML if needed
  qemustatusxml2xmltest: Demonstrate use of
    VIR_DOMAIN_DEF_(PARSE|FORMAT)_VOLUME_TRANSLATED
  conf: Save translated disk definition for disk type='volume' to status
    XML
  security: apparmor: Use translated disk definitions for disk
    type=volume

 src/conf/domain_conf.c                    | 111 ++++++++++++----------
 src/conf/domain_conf.h                    |   4 +
 src/conf/storage_source_conf.h            |   3 +-
 src/conf/virdomainobjlist.c               |   3 +-
 src/security/security_apparmor.c          |   8 +-
 src/security/virt-aa-helper.c             |   3 +-
 tests/qemustatusxml2xmldata/modern-in.xml |   4 +-
 tests/qemustatusxml2xmltest.c             |   6 +-
 8 files changed, 84 insertions(+), 58 deletions(-)

-- 
2.41.0




[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