summary refs log tree commit diff stats
path: root/hw/nand.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-09-28 17:23:00 +0200
committerKevin Wolf <kwolf@redhat.com>2012-09-28 19:40:56 +0200
commit8f96b5be92fbd74798b97b1dc1ff5fbbe249ed11 (patch)
tree983157d264be8b848640e98970d610fdaae752d2 /hw/nand.c
parent1d809098aa9518cda41c2cf6e660d3d602614907 (diff)
downloadfocaccia-qemu-8f96b5be92fbd74798b97b1dc1ff5fbbe249ed11.tar.gz
focaccia-qemu-8f96b5be92fbd74798b97b1dc1ff5fbbe249ed11.zip
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 'hw/nand.c')
0 files changed, 0 insertions, 0 deletions