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

Michal Privoznik posted 5 patches 4 years, 12 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1554127340.git.mprivozn@redhat.com
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
[libvirt] [PATCH 0/5] qemu: Fix memfd with default hugetlbfs mount
Posted by Michal Privoznik 4 years, 12 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list