[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 10/29] migration: new property "x-postcopy-fast"
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [RFC 10/29] migration: new property "x-postcopy-fast" |
Date: |
Tue, 1 Aug 2017 11:13:03 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Mon, Jul 31, 2017 at 07:52:24PM +0100, Dr. David Alan Gilbert wrote:
> * Peter Xu (address@hidden) wrote:
> > This provides a way to start postcopy ASAP when migration starts. To do
> > this, we need both:
> >
> > -global migration.x-postcopy-ram=on \
> > -global migration.x-postcopy-fast=on
>
> Can you explain why this is necessary? Both sides already know
> they're doing a postcopy recovery don't they?
What I wanted to do here is to provide a way to start postcopy at the
very beginning (actually it'll possibly start postcopy at the first
loop in migration_thread), instead of start postcopy until we trigger
it using "migrate_start_postcopy" command.
I used it for easier debugging (so I don't need to type
"migrate_start_postcopy" every time when I trigger postcopy
migration), meanwhile I think it can also be used when someone really
want to start postcopy from the very beginning.
Would such a new parameter makes sense?
--
Peter Xu
- Re: [Qemu-devel] [RFC 06/29] migration: dump str in migrate_set_state trace, (continued)
- [Qemu-devel] [RFC 08/29] migration: reuse mis->userfault_quit_fd, Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 07/29] migration: better error handling with QEMUFile, Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 09/29] migration: provide postcopy_fault_thread_notify(), Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 10/29] migration: new property "x-postcopy-fast", Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 11/29] migration: new postcopy-pause state, Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 12/29] migration: allow dst vm pause on postcopy, Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 13/29] migration: allow src return path to pause, Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 14/29] migration: allow send_rq to fail, Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 15/29] migration: allow fault thread to pause, Peter Xu, 2017/07/28
- [Qemu-devel] [RFC 16/29] qmp: hmp: add migrate "resume" option, Peter Xu, 2017/07/28