This time with some tests.
You may recognize 2/3 which I've posted here:
https://www.redhat.com/archives/libvir-list/2017-June/msg00258.html
Michal Privoznik (3):
qemuxml2xmltest: Test hugepage enabled domains
qemu: Allow memAccess for hugepages again
qemu: Prefer hugepages over mem source='file'
src/qemu/qemu_command.c | 24 +++------
.../qemuxml2argv-fd-memory-numa-topology2.args | 2 +-
.../qemuxml2argv-hugepages-memaccess.args | 42 +++++++++++++++
.../qemuxml2argv-hugepages-memaccess.xml | 62 ++++++++++++++++++++++
.../qemuxml2argv-hugepages-memaccess2.args | 39 ++++++++++++++
.../qemuxml2argv-hugepages-memaccess2.xml | 62 ++++++++++++++++++++++
.../qemuxml2argv-hugepages-pages4.xml | 14 +++--
.../qemuxml2argv-hugepages-pages5.xml | 14 +++--
.../qemuxml2argv-hugepages-pages6.xml | 14 +++--
tests/qemuxml2argvtest.c | 6 +++
.../qemuxml2xmlout-hugepages-memaccess.xml | 1 +
.../qemuxml2xmlout-hugepages-memaccess2.xml | 1 +
.../qemuxml2xmlout-hugepages-pages4.xml | 1 +
.../qemuxml2xmlout-hugepages-pages5.xml | 1 +
.../qemuxml2xmlout-hugepages-pages6.xml | 1 +
tests/qemuxml2xmltest.c | 5 ++
16 files changed, 262 insertions(+), 27 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-memaccess.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-memaccess.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-memaccess2.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hugepages-memaccess2.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-hugepages-memaccess.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-hugepages-memaccess2.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-hugepages-pages4.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-hugepages-pages5.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-hugepages-pages6.xml
--
2.13.0