[libvirt PATCH v2 3/8] conf: Introduce VIR_DOMAIN_TIMER_NAME_ARMVTIMER

Ján Tomko jtomko at redhat.com
Thu Feb 13 13:26:24 UTC 2020


On Fri, Feb 07, 2020 at 03:27:03PM +0100, Andrea Bolognani wrote:
>This new timer model will be used to control the behavior of the
>virtual timer for KVM ARM/virt guests.
>
>Signed-off-by: Andrea Bolognani <abologna at redhat.com>
>---
> docs/schemas/domaincommon.rng | 1 +
> src/conf/domain_conf.c        | 1 +
> src/conf/domain_conf.h        | 1 +
> src/libxl/libxl_conf.c        | 1 +
> src/libxl/xen_common.c        | 1 +
> src/qemu/qemu_command.c       | 2 ++
> src/qemu/qemu_domain.c        | 3 +++
> 7 files changed, 10 insertions(+)
>
>diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
>index 9577d26c2a..29b6b95357 100644
>--- a/docs/schemas/domaincommon.rng
>+++ b/docs/schemas/domaincommon.rng
>@@ -1239,6 +1239,7 @@
>             <choice>
>               <value>hpet</value>
>               <value>pit</value>
>+              <value>armvtimer</value>
>             </choice>
>           </attribute>
>           <optional>
>diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
>index 51ae520897..78d964ed9e 100644
>--- a/src/conf/domain_conf.c
>+++ b/src/conf/domain_conf.c
>@@ -1063,6 +1063,7 @@ VIR_ENUM_IMPL(virDomainTimerName,
>               "tsc",
>               "kvmclock",
>               "hypervclock",
>+              "armvtimer",
> );

Okay, so this name is a libvirt invention.

And the timer itself is present on all ARM/virt guests and cannot be
disabled, correct?

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200213/70756023/attachment-0001.sig>


More information about the libvir-list mailing list