diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2013-10-07 17:26:07 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-10-17 17:31:00 +0200 |
| commit | 8ed961d95708ee6cadac22fba7762724d533a5b4 (patch) | |
| tree | 05724e925eac7bfdb36e053c6330f4cec44af951 /scripts/qapi-types.py | |
| parent | 468cc7cf3b85dd20a833773e6bde9f720f2df677 (diff) | |
| download | focaccia-qemu-8ed961d95708ee6cadac22fba7762724d533a5b4.tar.gz focaccia-qemu-8ed961d95708ee6cadac22fba7762724d533a5b4.zip | |
icount: reorganize icount_warp_rt
To prepare for future code changes, move the increment of qemu_icount_bias outside the "if" statement. Also, hoist outside the if the check for timers that expired due to the "warping". The check is redundant when !runstate_is_running(), but doing it this way helps because the code that increments qemu_icount_bias will be a critical section. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions