diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-28 17:23:00 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-09-28 19:40:56 +0200 |
commit | 8f96b5be92fbd74798b97b1dc1ff5fbbe249ed11 (patch) | |
tree | 983157d264be8b848640e98970d610fdaae752d2 /qemu-thread-win32.c | |
parent | 1d809098aa9518cda41c2cf6e660d3d602614907 (diff) |
blkdebug: process all set_state rules in the old state
Currently it is impossible to write a blkdebug script that ping-pongs
between two states, because the second set-state rule will use the
state that is set in the first. If you have
[set-state]
event = "..."
state = "1"
new_state = "2"
[set-state]
event = "..."
state = "2"
new_state = "1"
for example the state will remain locked at 1. This can be fixed
by first processing all rules, and then setting the state.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-thread-win32.c')
0 files changed, 0 insertions, 0 deletions