[libvirt] [PATCH v2 0/4] Predictable file names for memory-backend-file

Michal Privoznik mprivozn at redhat.com
Tue Oct 24 11:41:18 UTC 2017


v2 of:

https://www.redhat.com/archives/libvir-list/2017-October/msg01063.html

Patches are to be found here too:

https://github.com/zippy2/libvirt/tree/qemu_mem_path_v3

diff to v1:
-Dropped qemu.conf config knob
-s/rmdir/virFileDeleteTree/ in qemuProcessBuildDestroyMemoryPathsImpl() because
 qemu leaves files behind and thus we need to unlink them too.

Michal Privoznik (4):
  conf: s/virDomainObjGetShortName/virDomainDefGetShortName/
  qemu: Move memPath generation from memoryBackingDir to a separate
    function
  qemu: Use predictable file names for memory-backend-file
  news: Document predictable file names for memory-backend-file

 docs/news.xml                                      |  11 ++
 src/conf/domain_conf.c                             |   4 +-
 src/conf/domain_conf.h                             |   2 +-
 src/libvirt_private.syms                           |   2 +-
 src/qemu/qemu_command.c                            |   9 +-
 src/qemu/qemu_conf.c                               |  71 ++++++++++-
 src/qemu/qemu_conf.h                               |  10 ++
 src/qemu/qemu_domain.c                             |   4 +-
 src/qemu/qemu_driver.c                             |  19 ++-
 src/qemu/qemu_hotplug.c                            |   2 +-
 src/qemu/qemu_process.c                            | 137 +++++++++++++++------
 src/qemu/qemu_process.h                            |   8 +-
 .../qemuxml2argv-cpu-numa-memshared.args           |   6 +-
 .../qemuxml2argv-fd-memory-numa-topology.args      |   3 +-
 .../qemuxml2argv-fd-memory-numa-topology2.args     |   6 +-
 .../qemuxml2argv-fd-memory-numa-topology3.args     |   9 +-
 .../qemuxml2argv-hugepages-memaccess2.args         |   9 +-
 17 files changed, 244 insertions(+), 68 deletions(-)

-- 
2.13.6




More information about the libvir-list mailing list