virsh edit
command. See Editing a guest's configuration file for details.
Value | Description |
---|---|
utc | The guest clock will be synchronized to UTC when booted. |
localtime | The guest clock will be synchronized to the host's configured timezone when booted, if any. |
timezone |
The guest clock will be synchronized to a given timezone, specified by the timezone attribute.
|
variable |
The guest clock will be synchronized to an arbitrary offset from UTC. The delta relative to UTC is specified in seconds, using the adjustment attribute. The guest is free to adjust the Real Time Clock (RTC) over time and expect that it will be honored following the next reboot. This is in contrast to utc mode, where any RTC adjustments are lost at each reboot.
|
<clock offset="utc" />
<clock offset="localtime" />
<clock offset="timezone" timezone="Europe/Paris" />
<clock offset="variable" adjustment="123456" />
name
is required, all other attributes are optional.
Value | Description |
---|---|
platform | The master virtual time source which may be used to drive the policy of other time sources. |
pit | Programmable Interval Timer - a timer with periodic interrupts. |
rtc | Real Time Clock - a continuously running timer with periodic interrupts. |
hpet | High Precision Event Timer - multiple timers with periodic interrupts. |
tsc | Time Stamp Counter - counts the number of ticks since reset, no interrupts. |
platform
or rtc
.
Value | Description |
---|---|
host | RTC wallclock always tracks host time. |
guest | RTC wallclock always tracks guest time. |
Value | Description |
---|---|
none | Continue to deliver at normal rate (i.e. ticks are delayed). |
catchup | Deliver at a higher rate to catch up. |
merge | Ticks merged into one single tick. |
discard | All missed ticks are discarded. |
tsc
. All other timers operate at a fixed frequency (pit
, rtc
), or at a frequency fully controlled by the guest (hpet
).
tsc
. All other timers are always emulated.
Value | Description |
---|---|
auto | Native if safe, otherwise emulated. |
native | Always native. |
emulate | Always emulate. |
paravirt | Native + para-virtualized. |
Value | Description |
---|---|
yes | Force this timer to the visible to the guest. |
no | Force this timer to not be visible to the guest. |
<clock mode="localtime"> <timer name="rtc" tickpolicy="catchup" wallclock="guest" /> <timer name="pit" tickpolicy="none" /> <timer name="hpet" present="no" /> </clock>