summaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2010-01-27 19:13:49 +0800
committerAvi Kivity <avi@redhat.com>2010-02-09 19:20:15 +0200
commit923de3cf5bf12049628019010e36623fca5ef6d1 (patch)
treecb9e504d6576cb072bcfb9a56a15b9800657c65f /kernel/sched_fair.c
parentc93d89f3dbf0202bf19c07960ca8602b48c2f9a0 (diff)
downloadkernel-crypto-923de3cf5bf12049628019010e36623fca5ef6d1.tar.gz
kernel-crypto-923de3cf5bf12049628019010e36623fca5ef6d1.tar.xz
kernel-crypto-923de3cf5bf12049628019010e36623fca5ef6d1.zip
kvmclock: count total_sleep_time when updating guest clock
Current kvm wallclock does not consider the total_sleep_time which could cause wrong wallclock in guest after host suspend/resume. This patch solve this issue by counting total_sleep_time to get the correct host boot time. Cc: stable@kernel.org Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions