This supersedes the "virtio: Register host notifier handler as external" patch
from yesterday.

The bug was initially reported by Matthew Schumacher as LaunchPad Bug 1570134,
and nicely bisected by Max Reitz. See patch 2 for the analysis.

We are late for 2.6 so the fix is done locally in mirror.c. In 2.7 we should
revisit this and let bdrv_drained_begin do the work.

Fam Zheng (3):
  mirror: Extract mirror_replace
  mirror: Skip BH for mirror_exit if in main loop
  block: Update comment of bdrv_drained_begin

 block/mirror.c        | 43 ++++++++++++++++++++++++++++++-------------
 include/block/block.h |  5 +++++
 2 files changed, 35 insertions(+), 13 deletions(-)

-- 
2.8.0


Reply via email to