Re: [Qemu-devel] [PATCH v2 4/4] migration: use bdrv_drain_all_begin/end() instead bdrv_drain_all()

2017-05-22 Thread Stefan Hajnoczi
On Mon, May 22, 2017 at 02:17:35PM +0200, Kevin Wolf wrote: > Am 19.05.2017 um 12:32 hat Stefan Hajnoczi geschrieben: > > blk/bdrv_drain_all() only takes effect for a single instant and then > > resumes block jobs, guest devices, and other external clients like the > > NBD server. This can be

Re: [Qemu-devel] [PATCH v2 4/4] migration: use bdrv_drain_all_begin/end() instead bdrv_drain_all()

2017-05-22 Thread Kevin Wolf
Am 19.05.2017 um 12:32 hat Stefan Hajnoczi geschrieben: > blk/bdrv_drain_all() only takes effect for a single instant and then > resumes block jobs, guest devices, and other external clients like the > NBD server. This can be handy when performing a synchronous drain > before terminating the

[Qemu-devel] [PATCH v2 4/4] migration: use bdrv_drain_all_begin/end() instead bdrv_drain_all()

2017-05-19 Thread Stefan Hajnoczi
blk/bdrv_drain_all() only takes effect for a single instant and then resumes block jobs, guest devices, and other external clients like the NBD server. This can be handy when performing a synchronous drain before terminating the program, for example. Monitor commands usually need to quiesce I/O