[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for bloc
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration |
Date: |
Mon, 10 Apr 2017 11:01:15 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Sat, Apr 08, 2017 at 06:09:16PM +0800, Paolo Bonzini wrote:
> On 07/04/2017 19:33, Stefan Hajnoczi wrote:
> > The migration thread is holding the QEMU global mutex, the AioContext,
> > and the qcow2 s->lock while the L2 table is read from disk.
> >
> > The QEMU global mutex is needed for block layer operations that touch
> > the global drives list. bdrv_is_allocated() can be called without the
> > global mutex.
>
> Hi Stefan,
>
> only virtio-blk and virtio-scsi take the AioContext lock (because they
> support dataplane). For block migration to work with devices such as
> IDE, it needs to take the iothread lock too. I think there's a comment
> about this in migration/block.c.
Good point. :(
Stefan
signature.asc
Description: PGP signature
- [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, jemmy858585, 2017/04/05
- Re: [Qemu-block] [Qemu-devel] [PATCH v3] migration/block:limit the time used for block migration, Daniel P. Berrange, 2017/04/05
- Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, Stefan Hajnoczi, 2017/04/06
- Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, Stefan Hajnoczi, 2017/04/07
- Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, 858585 jemmy, 2017/04/08
- Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, Stefan Hajnoczi, 2017/04/10
- Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, 858585 jemmy, 2017/04/11
- Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, 858585 jemmy, 2017/04/11
- Re: [Qemu-block] [PATCH v3] migration/block:limit the time used for block migration, Stefan Hajnoczi, 2017/04/11