summaryrefslogtreecommitdiffstats
path: root/hw/core/stream.c
diff options
context:
space:
mode:
authorPavel Dovgalyuk2015-02-27 14:11:02 +0100
committerPaolo Bonzini2015-02-27 15:15:50 +0100
commit2ed1ebcf65edf6757d8904000889ce52cc0a9d1b (patch)
treeac8d02f7527e36d4a295f2d56e57b1093387382e /hw/core/stream.c
parentvirtio-scsi-dataplane: Call blk_set_aio_context within BQL (diff)
downloadqemu-2ed1ebcf65edf6757d8904000889ce52cc0a9d1b.tar.gz
qemu-2ed1ebcf65edf6757d8904000889ce52cc0a9d1b.tar.xz
qemu-2ed1ebcf65edf6757d8904000889ce52cc0a9d1b.zip
timer: replace time() with QEMU_CLOCK_HOST
This patch replaces time() function calls with calls to qemu_clock_get_ns(QEMU_CLOCK_HOST). It makes such requests deterministic in record/replay mode of icount. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> Message-Id: <20150227131102.11912.89850.stgit@PASHA-ISP> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/stream.c')
0 files changed, 0 insertions, 0 deletions