[libvirt] [PATCH 0/5] qemu: Fix memfd with default hugetlbfs mount

Michal Privoznik mprivozn at redhat.com
Mon Apr 1 14:04:32 UTC 2019


Michal Prívozník (5):
  qemuxml2argvdata: Drop useless spaces at the beginning of lines
  qemuxml2xmltest: Move virObjectUnref() call
  qemuxml2xmltest: Add memfd tests
  virfile: Introduce and use virFileGetDefaultHugepage
  qemuBuildMemoryBackendProps: Get pagesize early

 src/libvirt_private.syms                      |  1 +
 src/qemu/qemu_command.c                       | 14 ++++
 src/qemu/qemu_conf.c                          | 12 +--
 src/util/virfile.c                            | 25 ++++++
 src/util/virfile.h                            |  3 +
 .../fd-memory-no-numa-topology.xml            | 14 +++-
 .../fd-memory-numa-topology.xml               | 12 ++-
 .../fd-memory-numa-topology2.xml              | 70 +++++++++-------
 .../fd-memory-numa-topology3.xml              | 72 +++++++++--------
 ...memory-default-hugepage.x86_64-latest.args | 37 +++++++++
 .../memfd-memory-default-hugepage.xml         | 42 ++++++++++
 .../memfd-memory-numa.x86_64-latest.args      |  2 +-
 tests/qemuxml2argvdata/memfd-memory-numa.xml  | 80 ++++++++++---------
 tests/qemuxml2argvtest.c                      |  1 +
 .../fd-memory-no-numa-topology.xml            |  1 +
 .../fd-memory-numa-topology.xml               |  1 +
 .../fd-memory-numa-topology2.xml              |  1 +
 .../fd-memory-numa-topology3.xml              |  1 +
 .../memfd-memory-default-hugepage.xml         |  1 +
 .../qemuxml2xmloutdata/memfd-memory-numa.xml  |  1 +
 tests/qemuxml2xmltest.c                       | 18 ++++-
 21 files changed, 295 insertions(+), 114 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/memfd-memory-default-hugepage.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/memfd-memory-default-hugepage.xml
 create mode 120000 tests/qemuxml2xmloutdata/fd-memory-no-numa-topology.xml
 create mode 120000 tests/qemuxml2xmloutdata/fd-memory-numa-topology.xml
 create mode 120000 tests/qemuxml2xmloutdata/fd-memory-numa-topology2.xml
 create mode 120000 tests/qemuxml2xmloutdata/fd-memory-numa-topology3.xml
 create mode 120000 tests/qemuxml2xmloutdata/memfd-memory-default-hugepage.xml
 create mode 120000 tests/qemuxml2xmloutdata/memfd-memory-numa.xml

-- 
2.21.0




More information about the libvir-list mailing list