qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/5] RFC: Efficient VM backup for qemu (v1)


From: Dietmar Maurer
Subject: Re: [Qemu-devel] [PATCH 1/5] RFC: Efficient VM backup for qemu (v1)
Date: Fri, 23 Nov 2012 09:05:00 +0000

> > > My plan was to have something like bs->job->job_type-
> > >{before,after}_write.
> > >
> > >    int coroutine_fn (*before_write)(BlockDriverState *bs,
> > >         int64_t sector_num, int nb_sectors, QEMUIOVector *qiov,
> > >         void **cookie);
> > >    int coroutine_fn (*after_write)(BlockDriverState *bs,
> > >         int64_t sector_num, int nb_sectors, QEMUIOVector *qiov,
> > >         void *cookie);
> >
> > I don't think that job is the right place. Instead I would put a list
> > of filters into
> > BDS:
> 
> Well, I can also add it to job_type. Just tell me what you prefer, and I will
> write the patch.

BTW, will such filters work with the new virtio-blk-data-plane?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]