Re: [Qemu-devel] [PATCH V4 5/5] block: make all steps in qmp_transaction() as callback

2013-05-05 Thread Wenchao Xia
于 2013-5-3 22:46, Eric Blake 写道: On 05/01/2013 08:26 PM, Wenchao Xia wrote: Make it easier to add other operations to qmp_transaction() by using callbacks, with external snapshots serving as an example implementation of the callbacks. Signed-off-by: Wenchao Xia --- blockdev.c | 92

Re: [Qemu-devel] [PATCH V4 5/5] block: make all steps in qmp_transaction() as callback

2013-05-03 Thread Eric Blake
On 05/01/2013 08:26 PM, Wenchao Xia wrote: > Make it easier to add other operations to qmp_transaction() by using > callbacks, with external snapshots serving as an example implementation > of the callbacks. > > Signed-off-by: Wenchao Xia > --- > blockdev.c | 92 +++

[Qemu-devel] [PATCH V4 5/5] block: make all steps in qmp_transaction() as callback

2013-05-01 Thread Wenchao Xia
Make it easier to add other operations to qmp_transaction() by using callbacks, with external snapshots serving as an example implementation of the callbacks. Signed-off-by: Wenchao Xia --- blockdev.c | 92 ++- 1 files changed, 71 inserti