[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migratio
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration |
Date: |
Fri, 17 Jul 2015 14:57:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 17/07/2015 12:34, Marc-André Lureau wrote:
> On Fri, Jul 17, 2015 at 4:25 AM, Paolo Bonzini <address@hidden> wrote:
> > But LOG_BASE makes little sense across processes, and LOG_FD is unused
> > in QEMU, isn't it? So this patch is not enough to add support of live
> > migration.
>
> You are right, LOG_BASE doesn't make much sense, and LOG_FD isn't
> used, despite some code already there. Furthermore, the log is
> allocated with regular malloc, hardly shareable.
LOG_FD is implemented in the kernel drivers/vhost/vhost.c. It seems to
be an eventfd-like mechanism to save on dirty bitmap scans. However,
it's not well documented how to implement it in a correct way.
In any case, live migration needs a new message type (like LOG_MMAP_FD)
in the vhost-user protocol.
Paolo
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Paolo Bonzini, 2015/07/10
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Linhaifeng, 2015/07/12
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Marc-André Lureau, 2015/07/16
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Paolo Bonzini, 2015/07/16
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Marc-André Lureau, 2015/07/17
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Marc-André Lureau, 2015/07/17
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Paolo Bonzini, 2015/07/17
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Marc-André Lureau, 2015/07/17
- Re: [Qemu-devel] [PATCH v4 1/1] vhost user: add support of live migration, Paolo Bonzini, 2015/07/18