[PATCH v2 00/11] Another round of qemu:///embed fixes

Michal Privoznik posted 11 patches 4 years ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1585234828.git.mprivozn@redhat.com
There is a newer version of this series
src/conf/domain_conf.c                        | 72 ---------------
src/conf/domain_conf.h                        |  7 --
src/hypervisor/domain_driver.c                | 88 +++++++++++++++++++
src/hypervisor/domain_driver.h                | 11 +++
src/libvirt_private.syms                      |  3 +-
src/lxc/lxc_domain.c                          |  3 +-
src/qemu/qemu_command.c                       | 19 ++--
src/qemu/qemu_conf.c                          | 69 +++++++++------
src/qemu/qemu_conf.h                          | 23 +++--
src/qemu/qemu_domain.c                        |  9 +-
src/qemu/qemu_driver.c                        | 26 +++---
src/qemu/qemu_process.c                       |  9 +-
tests/domaincapstest.c                        |  2 +-
.../qemuxml2argvdata/cpu-numa-memshared.args  |  8 +-
.../fd-memory-no-numa-topology.args           |  2 +-
.../fd-memory-numa-topology.args              |  4 +-
.../fd-memory-numa-topology2.args             |  8 +-
.../fd-memory-numa-topology3.args             | 12 +--
.../hugepages-memaccess2.args                 | 12 +--
.../qemuxml2argvdata/pages-dimm-discard.args  |  4 +-
...vhost-user-fs-fd-memory.x86_64-latest.args |  2 +-
tests/testutilsqemu.c                         |  2 +-
tests/virsystemdtest.c                        |  5 +-
23 files changed, 217 insertions(+), 183 deletions(-)
[PATCH v2 00/11] Another round of qemu:///embed fixes
Posted by Michal Privoznik 4 years ago
v2 of:

https://www.redhat.com/archives/libvir-list/2020-March/msg00992.html

Basically, a lot of patches from v1 was ACKed, but there were some
suggestions which I put into separate commits and now am resending as
v2.

diff to v1:
- Renamed virDomainDriverHashRoot() to virDomainDriverGenerateRootHash()
- Generate hashed path only if the base (prefix) would point outside of
the root dir
- Use "qemu" instead of "QEMU" when generating hashed path
- New patches 2/11, 7/11

Michal Prívozník (11):
  tests: Fix virQEMUDriverConfigNew() calling with respect to @root
  qemu: Drop two layers of nesting of memoryBackingDir
  conf: Move virDomainGenerateMachineName to hypervisor/
  virDomainDriverGenerateMachineName: Factor out embed path hashing
  qemu: Introduce virQEMUDriverGetEmbedRoot
  qemuDomainGetMachineName: Access embeddedRoot from driver rather than
    cfg
  qemu: use virQEMUDriverGetEmbedRoot() to access embeddedRoot
  Revert "qemu_conf: Track embed root dir"
  qemu: Make hugepages path generation embed driver aware
  qemu: Make memory path generation embed driver aware
  qemu: Make auto dump path generation embed driver aware

 src/conf/domain_conf.c                        | 72 ---------------
 src/conf/domain_conf.h                        |  7 --
 src/hypervisor/domain_driver.c                | 88 +++++++++++++++++++
 src/hypervisor/domain_driver.h                | 11 +++
 src/libvirt_private.syms                      |  3 +-
 src/lxc/lxc_domain.c                          |  3 +-
 src/qemu/qemu_command.c                       | 19 ++--
 src/qemu/qemu_conf.c                          | 69 +++++++++------
 src/qemu/qemu_conf.h                          | 23 +++--
 src/qemu/qemu_domain.c                        |  9 +-
 src/qemu/qemu_driver.c                        | 26 +++---
 src/qemu/qemu_process.c                       |  9 +-
 tests/domaincapstest.c                        |  2 +-
 .../qemuxml2argvdata/cpu-numa-memshared.args  |  8 +-
 .../fd-memory-no-numa-topology.args           |  2 +-
 .../fd-memory-numa-topology.args              |  4 +-
 .../fd-memory-numa-topology2.args             |  8 +-
 .../fd-memory-numa-topology3.args             | 12 +--
 .../hugepages-memaccess2.args                 | 12 +--
 .../qemuxml2argvdata/pages-dimm-discard.args  |  4 +-
 ...vhost-user-fs-fd-memory.x86_64-latest.args |  2 +-
 tests/testutilsqemu.c                         |  2 +-
 tests/virsystemdtest.c                        |  5 +-
 23 files changed, 217 insertions(+), 183 deletions(-)

-- 
2.24.1