]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain: add tsc.on_reboot element
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Mar 2022 09:48:38 +0000 (10:48 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Mar 2022 15:30:48 +0000 (16:30 +0100)
commit150540394ddaa515f6857616a2bcf792748f162c
treed2d890fbc1f7bd9f4818bd69f65aa627f82f23f5
parent5cef75787520da6ff1dff80867be5d98ba293f05
domain: add tsc.on_reboot element

Some versions of Windows hang on reboot if their TSC value is greater
than 2^54.  The workaround is to reset the TSC to a small value.  Add
to the domain configuration an attribute for this.  It can be used
by QEMU and in principle also by ESXi, which has a property called
monitor_control.enable_softResetClearTSC as well.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/schemas/domaincommon.rng