diff options
author | Alberto Garcia <berto@igalia.com> | 2015-10-28 17:33:09 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-11-12 16:22:46 +0100 |
commit | 918a17a464bac332b14a19d87106acc81e476f05 (patch) | |
tree | 2bdf50cd9a5e56d00ccef6da8a3f69371a786353 /qemu-bridge-helper.c | |
parent | 556c2b60714e7dae3ed0eb3488910435263dc09f (diff) |
block: Use QEMU_CLOCK_VIRTUAL for the accounting code in qtest mode
This patch switches to QEMU_CLOCK_VIRTUAL for the accounting code in
qtest mode, and makes the latency of the operation constant. This way we
can perform tests on the accounting code with reproducible results.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: 35ed0501450fa572684e9b5e92c361ab6cce565b.1446044838.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions