This is based on top of:
https://www.redhat.com/archives/libvir-list/2015-January/msg00307.html
Martin Kletzander (2):
docs, schema, conf: Add support for PMU feature
qemu: Add support for enabling/disabling PMU
docs/formatdomain.html.in | 6 ++++++
docs/schemas/domaincommon.rng | 11 ++++++++++
src/conf/domain_conf.c | 8 +++++--
src/conf/domain_conf.h | 3 ++-
src/qemu/qemu_command.c | 12 ++++++++++-
.../qemuxml2argv-pmu-feature-off.args | 5 +++++
.../qemuxml2argv-pmu-feature-off.xml | 25 ++++++++++++++++++++++
.../qemuxml2argvdata/qemuxml2argv-pmu-feature.args | 5 +++++
.../qemuxml2argvdata/qemuxml2argv-pmu-feature.xml | 25 ++++++++++++++++++++++
tests/qemuxml2argvtest.c | 3 +++
.../qemuxml2xmlout-pmu-feature.xml | 25 ++++++++++++++++++++++
tests/qemuxml2xmltest.c | 3 +++
12 files changed, 127 insertions(+), 4 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pmu-feature-off.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pmu-feature-off.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pmu-feature.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pmu-feature.xml
create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-pmu-feature.xml