Re: [Qemu-devel] [PATCH v3 7/8] blockdev: add Abort transaction

2013-05-16 Thread Stefan Hajnoczi
On Wed, May 15, 2013 at 01:01:15PM -0600, Eric Blake wrote: > On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote: > > +++ b/qapi-schema.json > > @@ -1630,6 +1630,14 @@ > > '*mode': 'NewImageMode', '*speed': 'int' } } > > > > ## > > +# @Abort > > +# > > +# This action can be used to test

Re: [Qemu-devel] [PATCH v3 7/8] blockdev: add Abort transaction

2013-05-15 Thread Wenchao Xia
于 2013-5-16 3:01, Eric Blake 写道: On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote: The Abort action can be used to test QMP 'transaction' failure. Add it as the last action to exercise the .abort() and .cleanup() code paths for all previous actions. Signed-off-by: Stefan Hajnoczi --- blockdev.

Re: [Qemu-devel] [PATCH v3 7/8] blockdev: add Abort transaction

2013-05-15 Thread Eric Blake
On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote: > The Abort action can be used to test QMP 'transaction' failure. Add it > as the last action to exercise the .abort() and .cleanup() code paths > for all previous actions. > > Signed-off-by: Stefan Hajnoczi > --- > blockdev.c | 15 ++

[Qemu-devel] [PATCH v3 7/8] blockdev: add Abort transaction

2013-05-15 Thread Stefan Hajnoczi
The Abort action can be used to test QMP 'transaction' failure. Add it as the last action to exercise the .abort() and .cleanup() code paths for all previous actions. Signed-off-by: Stefan Hajnoczi --- blockdev.c | 15 +++ qapi-schema.json | 11 ++- 2 files changed, 25