Bug 981242
Summary: | guest hardware time should be count when guest is paused | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | ShupingCui <scui> |
Component: | qemu-kvm | Assignee: | Marcelo Tosatti <mtosatti> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.5 | CC: | acathrow, bsarathy, chayang, fyang, huding, juzhang, michen, mkenneth, qzhang, scui, shuang, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-02 15:37:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ShupingCui
2013-07-04 10:02:12 UTC
in guest: # cat /sys/devices/system/clocksource/clocksource0/current_clocksource kvm-clock (In reply to ShupingCui from comment #1) > in guest: > # cat /sys/devices/system/clocksource/clocksource0/current_clocksource > kvm-clock Shuping Cui, The RTC clock not counting on vmpause is expected behaviour with clock=vm, as described by QEMU man page: " By default the RTC is driven by the host system time. This allows to use the RTC as accurate reference clock inside the guest, specifically if the host time is smoothly following an accurate external reference clock, e.g. via NTP. If you want to isolate the guest time from the host, you can set clock to "rt" instead. To even prevent it from progressing during suspension, you can set it to "vm". " Can you please confirm the software is behaving as expected, or point to the problem? Thanks. (In reply to Marcelo Tosatti from comment #3) > (In reply to ShupingCui from comment #1) > > in guest: > > # cat /sys/devices/system/clocksource/clocksource0/current_clocksource > > kvm-clock > > Shuping Cui, > > The RTC clock not counting on vmpause is expected behaviour with clock=vm, as > described by QEMU man page: > > " > By default the RTC is driven by the host system time. This allows to use the > RTC as accurate reference clock inside the guest, specifically if the host > time is smoothly following an accurate external reference clock, e.g. via > NTP. If you want to isolate the guest time from the host, you can set clock > to "rt" instead. To even prevent it from progressing during suspension, you > can > set it to "vm". > " > > Can you please confirm the software is behaving as expected, or point to the > problem? Thanks. Hi Marcelo, ok, you're right, the guest RTC clock only count when clock=host, thanks for your help. Best Regards, Shuping |