From cc922fddc3fcbbcecce7e438a51045c2feacf767 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 16 Oct 2012 18:25:56 +0200 Subject: [PATCH] conf: Add support for HyperV Enlightenment features Hypervisors are starting to support HyperV Enlightenment features that improve behavior of guests running Microsoft Windows operating systems. This patch adds support for the "relaxed" feature that improves timer behavior and also establishes a framework to add these features in future. --- docs/formatdomain.html.in | 21 ++++++++++ docs/schemas/domaincommon.rng | 28 ++++++++++++- src/conf/domain_conf.c | 74 ++++++++++++++++++++++++++++++++++- src/conf/domain_conf.h | 10 +++++ src/libvirt_private.syms | 2 + 5 files changed, 132 insertions(+), 3 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index ad8a41be68..2417943240 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1047,6 +1047,10 @@ <apic/> <hap/> <privnet/> + <hyperv> + <relaxed state='on'> + </hyperv> + </features> ... @@ -1087,6 +1091,23 @@ This feature is only relevant for container based virtualization drivers, such as LXC. +
hyperv
+
Enable various features improving behavior of guests + running Microsoft Windows. + + + + + + + + + + + +
FeatureDescriptionValue
relaxedRelax contstraints on timers on, off
+ Since 1.0.0 (QEMU only) +

Time keeping

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 70bc0e207d..17ad86b907 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -2946,7 +2946,8 @@ @@ -2979,6 +2980,9 @@ + + + @@ -3434,6 +3438,28 @@ + + + + + + + + + + + + + + + + + on + off + + + +