diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-02-21 09:51:23 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@petalogix.com> | 2011-02-23 10:42:32 +0100 |
commit | c9f7383c6e5423c1b5111d73346a8314b563f019 (patch) | |
tree | 78aded7d4f2bd8d8f73322e6e5f228305e2e7336 /cpus.c | |
parent | 9a31334f419c1d773cf4b4bfbbdace96fbf8a4f4 (diff) |
do not use qemu_icount_delta in the !use_icount case
The !use_icount code is the same for iothread and non-iothread,
except that the timeout is different. Since the timeout might as
well be infinite and is only masking bugs, use the higher value.
With this change the !use_icount code is handled equivalently
in qemu_icount_delta and qemu_calculate_timeout, and we rip it
out of the former.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions