]> git.proxmox.com Git - mirror_qemu.git/commit
blkdebug: Initialize state as 1
authorKevin Wolf <kwolf@redhat.com>
Wed, 30 Jun 2010 15:43:40 +0000 (17:43 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Jul 2010 11:18:02 +0000 (13:18 +0200)
commit8db520cee89bb84f21d107cea2d786894901bc54
treeaf5a1b1adba7a6dc2188b946fcfc6c7da9dfd070
parent698f0d52cde708557801de3c583cafc4a0497a14
blkdebug: Initialize state as 1

state = 0 in rules means that the rule is valid for any state. Therefore it's
impossible to have a rule that works only in the initial state. This changes
the initial state from 0 to 1 to make this possible.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/blkdebug.c