[PATCH v4 0/8] qemu: Introduce shared_filesystems configuration option

Peter Krempa posted 8 patches 3 months, 1 week ago
There is a newer version of this series
src/conf/storage_source_conf.c     |  3 ++
src/conf/storage_source_conf.h     |  9 ++++
src/libvirt_private.syms           |  1 +
src/lxc/lxc_controller.c           |  3 +-
src/lxc/lxc_driver.c               |  2 +-
src/lxc/lxc_process.c              |  4 +-
src/qemu/libvirtd_qemu.aug         |  3 ++
src/qemu/qemu.conf.in              | 26 +++++++++
src/qemu/qemu_conf.c               | 31 +++++++++++
src/qemu/qemu_conf.h               |  2 +
src/qemu/qemu_domain.c             |  7 ++-
src/qemu/qemu_extdevice.c          |  2 +-
src/qemu/qemu_migration.c          | 72 +++++++++++++++++++++----
src/qemu/qemu_security.c           | 85 +++++++++++++++++++++++-------
src/qemu/qemu_tpm.c                | 38 +++++++------
src/qemu/qemu_tpm.h                | 10 ++--
src/qemu/test_libvirtd_qemu.aug.in |  5 ++
src/security/security_apparmor.c   |  8 ++-
src/security/security_dac.c        | 50 ++++++++++++++----
src/security/security_driver.h     |  8 ++-
src/security/security_manager.c    | 33 +++++++++---
src/security/security_manager.h    |  9 +++-
src/security/security_nop.c        |  5 ++
src/security/security_selinux.c    | 59 ++++++++++++++++-----
src/security/security_stack.c      | 32 ++++++++---
src/util/virfile.c                 | 63 ++++++++++++++++++++--
src/util/virfile.h                 |  5 +-
tests/securityselinuxlabeltest.c   |  2 +-
tests/virfiletest.c                |  2 +-
29 files changed, 472 insertions(+), 107 deletions(-)
[PATCH v4 0/8] qemu: Introduce shared_filesystems configuration option
Posted by Peter Krempa 3 months, 1 week ago
For justification see v3:

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/message/PISBZCI5MAQQWPN7NMMEGV4VPLJKGEFJ/

This version includes patches that deal with seclabel remembering
without instructing users to disable it.

Patch 2/8 was modified to change the docs for the new option.

Patches 1-5 will get an R-b by me as I've adopted them.

Patches 6-8 are new.

Andrea Bolognani (5):
  security: Fix alignment
  qemu: Introduce shared_filesystems configuration option
  qemu: Propagate shared_filesystems
  utils: Use overrides in virFileIsSharedFS()
  qemu: Always set labels for TPM state

Peter Krempa (3):
  virFileIsSharedFSOverride: Export
  storage_source: Add field for skipping seclabel remembering
  qemu: migration: Don't remember seclabel for images shared from
    current host

 src/conf/storage_source_conf.c     |  3 ++
 src/conf/storage_source_conf.h     |  9 ++++
 src/libvirt_private.syms           |  1 +
 src/lxc/lxc_controller.c           |  3 +-
 src/lxc/lxc_driver.c               |  2 +-
 src/lxc/lxc_process.c              |  4 +-
 src/qemu/libvirtd_qemu.aug         |  3 ++
 src/qemu/qemu.conf.in              | 26 +++++++++
 src/qemu/qemu_conf.c               | 31 +++++++++++
 src/qemu/qemu_conf.h               |  2 +
 src/qemu/qemu_domain.c             |  7 ++-
 src/qemu/qemu_extdevice.c          |  2 +-
 src/qemu/qemu_migration.c          | 72 +++++++++++++++++++++----
 src/qemu/qemu_security.c           | 85 +++++++++++++++++++++++-------
 src/qemu/qemu_tpm.c                | 38 +++++++------
 src/qemu/qemu_tpm.h                | 10 ++--
 src/qemu/test_libvirtd_qemu.aug.in |  5 ++
 src/security/security_apparmor.c   |  8 ++-
 src/security/security_dac.c        | 50 ++++++++++++++----
 src/security/security_driver.h     |  8 ++-
 src/security/security_manager.c    | 33 +++++++++---
 src/security/security_manager.h    |  9 +++-
 src/security/security_nop.c        |  5 ++
 src/security/security_selinux.c    | 59 ++++++++++++++++-----
 src/security/security_stack.c      | 32 ++++++++---
 src/util/virfile.c                 | 63 ++++++++++++++++++++--
 src/util/virfile.h                 |  5 +-
 tests/securityselinuxlabeltest.c   |  2 +-
 tests/virfiletest.c                |  2 +-
 29 files changed, 472 insertions(+), 107 deletions(-)

-- 
2.45.2