From: Paolo Bonzini Date: Fri, 27 Jan 2012 13:49:51 +0000 (+0100) Subject: conf: add kvmclock timer X-Git-Tag: v0.9.10-rc1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a137f3620af4f6fd4a4484c6d79af0748aec85e;p=thirdparty%2Flibvirt.git conf: add kvmclock timer Add kvmclock timer to documentation, schema and parsers. Keep the platform timer first since it is kind of special, and alphabetize the others when possible (i.e. when it does not change the ABI). Reviewed-by: Jiri Denemark Signed-off-by: Paolo Bonzini --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 1d0211d893..464c4a33ca 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -943,8 +943,8 @@
name
The name attribute selects which timer is - being modified, and can be one of "platform", "pit", - "rtc", "hpet", or "tsc". + being modified, and can be one of "platform", "hpet", + "kvmclock", "pit", "rtc", or "tsc".
track
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 4da6dca599..2e53e146ef 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -571,9 +571,10 @@ platform + hpet + kvmclock pit rtc - hpet tsc diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index e872396cb7..978e91c8b9 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -576,7 +576,8 @@ VIR_ENUM_IMPL(virDomainTimerName, VIR_DOMAIN_TIMER_NAME_LAST, "pit", "rtc", "hpet", - "tsc"); + "tsc", + "kvmclock"); VIR_ENUM_IMPL(virDomainTimerTrack, VIR_DOMAIN_TIMER_TRACK_LAST, "boot", diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 7a8f12dd81..1d2fb81fb8 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1285,6 +1285,7 @@ enum virDomainTimerNameType { VIR_DOMAIN_TIMER_NAME_RTC, VIR_DOMAIN_TIMER_NAME_HPET, VIR_DOMAIN_TIMER_NAME_TSC, + VIR_DOMAIN_TIMER_NAME_KVMCLOCK, VIR_DOMAIN_TIMER_NAME_LAST, };