On Mon, Dec 01, 2014 at 03:30:14PM -0500, John Snow wrote: > From: Fam Zheng <f...@redhat.com> > > This adds three qmp commands to transactions. > > Users can stop a dirty bitmap, start backup of it, and start another > dirty bitmap atomically, so that the dirty bitmap is tracked > incrementally and we don't miss any write. > > Signed-off-by: Fam Zheng <f...@redhat.com> > Signed-off-by: John Snow <js...@redhat.com> > Reviewed-by: Max Reitz <mre...@redhat.com> > --- > blockdev.c | 85 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > qapi-schema.json | 5 +++- > 2 files changed, 89 insertions(+), 1 deletion(-)
Please the following commint on block-next for examples of how to acquire/release AioContext in qmp_transaction: commit 6a50d4a7f758436828091336c8905b6fa870f8cb Author: Stefan Hajnoczi <stefa...@redhat.com> Date: Fri Nov 21 10:48:59 2014 +0000 blockdev: acquire AioContext in QMP 'transaction' actions
pgpTQQ6xchUZA.pgp
Description: PGP signature