]> git.proxmox.com Git - mirror_qemu.git/commit
blkdebug: store list of active rules
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jun 2012 06:10:42 +0000 (08:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jul 2012 13:53:02 +0000 (15:53 +0200)
commit571cd43e57beb1f8fd42c60bd3c69777f8ecdc51
tree025eb66614f1f358aeea47b6cb62323298add7bd
parente130225587cb0d48b2c0b7c04b6bf9c95fe75ac9
blkdebug: store list of active rules

This prepares for the next patch, where some active rules may actually
not trigger depending on input to readv/writev.  Store the active rules
in a SIMPLEQ (so that it can be emptied easily with QSIMPLEQ_INIT), and
fetch the errno/once/immediately arguments from there.

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