Re: [Qemu-devel] [PATCH 15/47] blkdebug: process all set_state rules in the old state

2012-07-24 Thread Blue Swirl
On Tue, Jul 24, 2012 at 11:03 AM, Paolo Bonzini wrote: > 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 = "

[Qemu-devel] [PATCH 15/47] blkdebug: process all set_state rules in the old state

2012-07-24 Thread Paolo Bonzini
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 =