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

Peter Krempa posted 7 patches 6 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1697121885.git.pkrempa@redhat.com
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(-)
[PATCH 0/7] qemu: Fix two pool-translation related bugs
Posted by Peter Krempa 6 months, 3 weeks ago
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