projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb0b2d
)
target-mips: kvm: do not use get_clock()
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 26 Nov 2014 13:33:59 +0000
(14:33 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 15 Dec 2014 11:21:01 +0000
(12:21 +0100)
Use the external qemu-timer API instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-mips/kvm.c
patch
|
blob
|
history
diff --git
a/target-mips/kvm.c
b/target-mips/kvm.c
index 97fd51a02f5c9bddc32ae1d6ae06899030688ec8..a761ea5b32e7e990ef0728f5263ef3e3359a94a2 100644
(file)
--- a/
target-mips/kvm.c
+++ b/
target-mips/kvm.c
@@
-439,7
+439,7
@@
static void kvm_mips_update_state(void *opaque, int running, RunState state)
}
} else {
/* Set clock restore time to now */
- count_resume =
get_clock(
);
+ count_resume =
qemu_clock_get_ns(QEMU_CLOCK_REALTIME
);
ret = kvm_mips_put_one_reg64(cs, KVM_REG_MIPS_COUNT_RESUME,
&count_resume);
if (ret < 0) {