diff options
| author | Paolo Bonzini | 2014-11-28 12:38:03 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2014-12-10 10:31:13 +0100 |
| commit | a56ebc6ba4be1b6060d87b115c48ff57236c8def (patch) | |
| tree | 9890022686c27e00425ed2acdda77e382f09a16a /include | |
| parent | block: Don't probe for unknown backing file format (diff) | |
| download | qemu-a56ebc6ba4be1b6060d87b115c48ff57236c8def.tar.gz qemu-a56ebc6ba4be1b6060d87b115c48ff57236c8def.tar.xz qemu-a56ebc6ba4be1b6060d87b115c48ff57236c8def.zip | |
block: do not use get_clock()
Use the external qemu-timer API instead.
No one else should be calling cpu_get_clock(), get_clock() and
get_clock_realtime() directly; they are internal functions and they
should be confined to qemu-timer.c and cpus.c (where the icount
implementation resides). All accesses should go through
qemu_clock_get_ns.
Cc: kwolf@redhat.com
Cc: stefanha@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1417010463-3527-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
