Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-11 Thread Avihai Horon
On 11/05/2023 16:09, Juan Quintela wrote: External email: Use caution opening links or attachments Avihai Horon wrote: On 10/05/2023 19:41, Juan Quintela wrote: Does this makes sense? Yes, thanks a lot for the full and detailed explanation! Thank you. This indeed solves the problem in

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-11 Thread Juan Quintela
Avihai Horon wrote: > On 10/05/2023 19:41, Juan Quintela wrote: >> Does this makes sense? > > Yes, thanks a lot for the full and detailed explanation! Thank you. > This indeed solves the problem in the scenario I mentioned above. > > However, this relies on the fact that a device support for th

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-11 Thread Avihai Horon
On 10/05/2023 19:41, Juan Quintela wrote: External email: Use caution opening links or attachments Avihai Horon wrote: You have a point here. But I will approach this case in a different way: Destination QEMU needs to be older, because it don't have the feature. So we need to NOT being ab

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-10 Thread Juan Quintela
Avihai Horon wrote: >> You have a point here. >> But I will approach this case in a different way: >> >> Destination QEMU needs to be older, because it don't have the feature. >> So we need to NOT being able to do the switchover for older machine >> types. >> And have something like this is qemu/

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-10 Thread Avihai Horon
On 10/05/2023 12:12, Juan Quintela wrote: External email: Use caution opening links or attachments Avihai Horon wrote: On 03/05/2023 1:49, Peter Xu wrote: External email: Use caution opening links or attachments Only until READY msg received on src could src switchover the precopy to dst.

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-10 Thread Juan Quintela
Avihai Horon wrote: > On 03/05/2023 1:49, Peter Xu wrote: >> External email: Use caution opening links or attachments >> Only until READY msg received on src could src switchover the precopy to >> dst. >> >> Then it only needs 1 more field in SaveVMHandlers rather than 3, and only 1 >> more msg (

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-08 Thread Avihai Horon
On 08/05/2023 3:49, Peter Xu wrote: External email: Use caution opening links or attachments On Sun, May 07, 2023 at 03:54:00PM +0300, Avihai Horon wrote: On 04/05/2023 18:50, Peter Xu wrote: External email: Use caution opening links or attachments On Thu, May 04, 2023 at 01:18:04PM +0300

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-07 Thread Peter Xu
On Sun, May 07, 2023 at 03:54:00PM +0300, Avihai Horon wrote: > > On 04/05/2023 18:50, Peter Xu wrote: > > External email: Use caution opening links or attachments > > > > > > On Thu, May 04, 2023 at 01:18:04PM +0300, Avihai Horon wrote: > > > On 03/05/2023 18:49, Peter Xu wrote: > > > > Externa

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-07 Thread Avihai Horon
On 04/05/2023 18:50, Peter Xu wrote: External email: Use caution opening links or attachments On Thu, May 04, 2023 at 01:18:04PM +0300, Avihai Horon wrote: On 03/05/2023 18:49, Peter Xu wrote: External email: Use caution opening links or attachments On Wed, May 03, 2023 at 06:22:59PM +030

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-04 Thread Peter Xu
On Thu, May 04, 2023 at 01:18:04PM +0300, Avihai Horon wrote: > > On 03/05/2023 18:49, Peter Xu wrote: > > External email: Use caution opening links or attachments > > > > > > On Wed, May 03, 2023 at 06:22:59PM +0300, Avihai Horon wrote: > > > On 03/05/2023 1:49, Peter Xu wrote: > > > > External

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-04 Thread Avihai Horon
On 03/05/2023 18:49, Peter Xu wrote: External email: Use caution opening links or attachments On Wed, May 03, 2023 at 06:22:59PM +0300, Avihai Horon wrote: On 03/05/2023 1:49, Peter Xu wrote: External email: Use caution opening links or attachments On Mon, May 01, 2023 at 05:01:33PM +0300

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-03 Thread Peter Xu
On Wed, May 03, 2023 at 06:22:59PM +0300, Avihai Horon wrote: > > On 03/05/2023 1:49, Peter Xu wrote: > > External email: Use caution opening links or attachments > > > > > > On Mon, May 01, 2023 at 05:01:33PM +0300, Avihai Horon wrote: > > > Hello everyone, > > Hi, Avihai, > > > > > === Flow o

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-03 Thread Avihai Horon
On 03/05/2023 1:49, Peter Xu wrote: External email: Use caution opening links or attachments On Mon, May 01, 2023 at 05:01:33PM +0300, Avihai Horon wrote: Hello everyone, Hi, Avihai, === Flow of operation === To use precopy initial data, the capability must be enabled in the source. As

Re: [PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-02 Thread Peter Xu
On Mon, May 01, 2023 at 05:01:33PM +0300, Avihai Horon wrote: > Hello everyone, Hi, Avihai, > === Flow of operation === > > To use precopy initial data, the capability must be enabled in the > source. > > As this capability must be supported also in the destination, a > handshake is performed d

[PATCH 0/8] migration: Add precopy initial data capability and VFIO precopy support

2023-05-01 Thread Avihai Horon
Hello everyone, This series adds a new migration capability called "precopy initial data". The purpose of this capability is to reduce migration downtime in cases where loading of migration data in the destination can take a lot of time, such as with VFIO migration data. The series then moves to