Am 03.07.2012 18:03, schrieb Paolo Bonzini:
> Il 03/07/2012 17:40, Kevin Wolf ha scritto:
case ACTION_INJECT_ERROR:
-vars->inject_errno = rule->options.inject.error;
-vars->inject_once= rule->options.inject.once;
-vars->inject_immediate
Il 03/07/2012 17:40, Kevin Wolf ha scritto:
>> > case ACTION_INJECT_ERROR:
>> > -vars->inject_errno = rule->options.inject.error;
>> > -vars->inject_once= rule->options.inject.once;
>> > -vars->inject_immediately = rule->options.inject.immediately;
>> > +
Am 06.06.2012 08:10, schrieb Paolo Bonzini:
> 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
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