From afe833e9bd63bc7b356f2358e3320b4f21b5f1d6 Mon Sep 17 00:00:00 2001 From: Qiaowei Ren Date: Mon, 28 Mar 2016 21:30:30 +0800 Subject: [PATCH] perf: add new xml element This patch adds new xml element, and so we can have the option of also having perf events enabled immediately at startup. Signed-off-by: Qiaowei Ren Message-id: 1459171833-26416-6-git-send-email-qiaowei.ren@intel.com --- docs/schemas/domaincommon.rng | 27 ++++ src/conf/domain_conf.c | 120 ++++++++++++++++++ src/conf/domain_conf.h | 10 ++ src/qemu/qemu_driver.c | 26 ++++ src/qemu/qemu_process.c | 9 +- tests/domainschemadata/domain-perf-simple.xml | 20 +++ 6 files changed, 210 insertions(+), 2 deletions(-) create mode 100644 tests/domainschemadata/domain-perf-simple.xml diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 46137ec4ca..54c149dd52 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -55,6 +55,9 @@ + + + @@ -392,6 +395,30 @@ + + + + + + + + cmt + + + + + + + + + +