Searched hist:"8 f96b5be" (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | blkdebug.c | 8f96b5be Fri Sep 28 15:23:00 GMT 2012 Paolo Bonzini <pbonzini@redhat.com> 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>
|