Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321369
b: refs/heads/master
c: 4b64866
h: refs/heads/master
i:
  321367: 45f82a9
v: v3
  • Loading branch information
Bruce Rogers authored and Marcelo Tosatti committed Aug 1, 2012
1 parent 5b57753 commit 1a45865
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aea218f3cbbcaac249b6b2c98930a00d6d931f1e
refs/heads/master: 4b6486659a7defef82ea51b276024b3aa357fefc
4 changes: 4 additions & 0 deletions trunk/arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,10 @@ static void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock)
*/
getboottime(&boot);

if (kvm->arch.kvmclock_offset) {
struct timespec ts = ns_to_timespec(kvm->arch.kvmclock_offset);
boot = timespec_sub(boot, ts);
}
wc.sec = boot.tv_sec;
wc.nsec = boot.tv_nsec;
wc.version = version;
Expand Down

0 comments on commit 1a45865

Please sign in to comment.