diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-26 14:33:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-15 12:21:01 +0100 |
commit | 906b53a2de31a4612e94000f7cfe3a8e4b002f25 (patch) | |
tree | 8694f03300664d3f3e2b9b7fb88c325c76b5676d | |
parent | 0bb0b2d2fe7f645ddaf1f0ff40ac669c9feb4aa1 (diff) |
target-mips: kvm: do not use get_clock()
Use the external qemu-timer API instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | target-mips/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/kvm.c b/target-mips/kvm.c index 97fd51a02f..a761ea5b32 100644 --- 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) { |