Re: [Qemu-devel] [PATCH V4] migration: add capability to bypass the shared memory

2018-04-19 Thread Dr. David Alan Gilbert
* Lai Jiangshan (jiangshan...@gmail.com) wrote: > On Tue, Apr 10, 2018 at 1:30 AM, Dr. David Alan Gilbert > wrote: > > >> > >> +bool migrate_bypass_shared_memory(void) > >> +{ > >> +MigrationState *s; > >> + > >> +/* it is not workable with postcopy yet. */ > >> +if (migrate_postcopy_

Re: [Qemu-devel] [PATCH V4] migration: add capability to bypass the shared memory

2018-04-16 Thread Lai Jiangshan
On Tue, Apr 10, 2018 at 1:30 AM, Dr. David Alan Gilbert wrote: >> >> +bool migrate_bypass_shared_memory(void) >> +{ >> +MigrationState *s; >> + >> +/* it is not workable with postcopy yet. */ >> +if (migrate_postcopy_ram()) { >> +return false; >> +} > > Please change this

Re: [Qemu-devel] [PATCH V4] migration: add capability to bypass the shared memory

2018-04-11 Thread Lai Jiangshan
On Tue, Apr 10, 2018 at 1:30 AM, Dr. David Alan Gilbert wrote: > Hi, > > * Lai Jiangshan (jiangshan...@gmail.com) wrote: >> 1) What's this >> >> When the migration capability 'bypass-shared-memory' >> is set, the shared memory will be bypassed when migration. >> >> It is the key feature to enable

Re: [Qemu-devel] [PATCH V4] migration: add capability to bypass the shared memory

2018-04-09 Thread Dr. David Alan Gilbert
Hi, * Lai Jiangshan (jiangshan...@gmail.com) wrote: > 1) What's this > > When the migration capability 'bypass-shared-memory' > is set, the shared memory will be bypassed when migration. > > It is the key feature to enable several excellent features for > the qemu, such as qemu-local-migration,

Re: [Qemu-devel] [PATCH V4] migration: add capability to bypass the shared memory

2018-04-04 Thread Xiao Guangrong
On 04/04/2018 07:47 PM, Lai Jiangshan wrote: 1) What's this When the migration capability 'bypass-shared-memory' is set, the shared memory will be bypassed when migration. It is the key feature to enable several excellent features for the qemu, such as qemu-local-migration, qemu-live-update,

[Qemu-devel] [PATCH V4] migration: add capability to bypass the shared memory

2018-04-04 Thread Lai Jiangshan
1) What's this When the migration capability 'bypass-shared-memory' is set, the shared memory will be bypassed when migration. It is the key feature to enable several excellent features for the qemu, such as qemu-local-migration, qemu-live-update, extremely-fast-save-restore, vm-template, vm-fast