Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-10-03 Thread Peter Xu
On Thu, Oct 03, 2024 at 10:34:28PM +0200, Maciej S. Szmigiero wrote: > To be clear, these loading threads are mostly blocking I/O threads, NOT > compute threads. > This means that the usual "rule of thumb" that the count of threads should > not exceed the total number of logical CPUs does NOT apply

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-10-03 Thread Maciej S. Szmigiero
On 2.10.2024 23:25, Peter Xu wrote: On Wed, Oct 02, 2024 at 10:11:33PM +0200, Maciej S. Szmigiero wrote: On 1.10.2024 23:30, Peter Xu wrote: On Tue, Oct 01, 2024 at 10:41:14PM +0200, Maciej S. Szmigiero wrote: On 30.09.2024 23:57, Peter Xu wrote: On Mon, Sep 30, 2024 at 09:25:54PM +0200, Maci

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-10-02 Thread Peter Xu
On Wed, Oct 02, 2024 at 10:11:33PM +0200, Maciej S. Szmigiero wrote: > On 1.10.2024 23:30, Peter Xu wrote: > > On Tue, Oct 01, 2024 at 10:41:14PM +0200, Maciej S. Szmigiero wrote: > > > On 30.09.2024 23:57, Peter Xu wrote: > > > > On Mon, Sep 30, 2024 at 09:25:54PM +0200, Maciej S. Szmigiero wrote:

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-10-02 Thread Maciej S. Szmigiero
On 1.10.2024 23:30, Peter Xu wrote: On Tue, Oct 01, 2024 at 10:41:14PM +0200, Maciej S. Szmigiero wrote: On 30.09.2024 23:57, Peter Xu wrote: On Mon, Sep 30, 2024 at 09:25:54PM +0200, Maciej S. Szmigiero wrote: On 27.09.2024 02:53, Peter Xu wrote: On Fri, Sep 27, 2024 at 12:34:31AM +0200, Mac

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-10-01 Thread Peter Xu
On Tue, Oct 01, 2024 at 10:41:14PM +0200, Maciej S. Szmigiero wrote: > On 30.09.2024 23:57, Peter Xu wrote: > > On Mon, Sep 30, 2024 at 09:25:54PM +0200, Maciej S. Szmigiero wrote: > > > On 27.09.2024 02:53, Peter Xu wrote: > > > > On Fri, Sep 27, 2024 at 12:34:31AM +0200, Maciej S. Szmigiero wrote

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-10-01 Thread Maciej S. Szmigiero
On 30.09.2024 23:57, Peter Xu wrote: On Mon, Sep 30, 2024 at 09:25:54PM +0200, Maciej S. Szmigiero wrote: On 27.09.2024 02:53, Peter Xu wrote: On Fri, Sep 27, 2024 at 12:34:31AM +0200, Maciej S. Szmigiero wrote: On 20.09.2024 18:45, Peter Xu wrote: On Fri, Sep 20, 2024 at 05:23:08PM +0200, Ma

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-30 Thread Peter Xu
On Mon, Sep 30, 2024 at 09:25:54PM +0200, Maciej S. Szmigiero wrote: > On 27.09.2024 02:53, Peter Xu wrote: > > On Fri, Sep 27, 2024 at 12:34:31AM +0200, Maciej S. Szmigiero wrote: > > > On 20.09.2024 18:45, Peter Xu wrote: > > > > On Fri, Sep 20, 2024 at 05:23:08PM +0200, Maciej S. Szmigiero wrote

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-30 Thread Maciej S. Szmigiero
On 27.09.2024 02:53, Peter Xu wrote: On Fri, Sep 27, 2024 at 12:34:31AM +0200, Maciej S. Szmigiero wrote: On 20.09.2024 18:45, Peter Xu wrote: On Fri, Sep 20, 2024 at 05:23:08PM +0200, Maciej S. Szmigiero wrote: On 19.09.2024 23:11, Peter Xu wrote: On Thu, Sep 19, 2024 at 09:49:10PM +0200, Ma

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-26 Thread Peter Xu
On Fri, Sep 27, 2024 at 12:34:31AM +0200, Maciej S. Szmigiero wrote: > On 20.09.2024 18:45, Peter Xu wrote: > > On Fri, Sep 20, 2024 at 05:23:08PM +0200, Maciej S. Szmigiero wrote: > > > On 19.09.2024 23:11, Peter Xu wrote: > > > > On Thu, Sep 19, 2024 at 09:49:10PM +0200, Maciej S. Szmigiero wrote

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-26 Thread Maciej S. Szmigiero
On 20.09.2024 18:45, Peter Xu wrote: On Fri, Sep 20, 2024 at 05:23:08PM +0200, Maciej S. Szmigiero wrote: On 19.09.2024 23:11, Peter Xu wrote: On Thu, Sep 19, 2024 at 09:49:10PM +0200, Maciej S. Szmigiero wrote: On 9.09.2024 22:03, Peter Xu wrote: On Tue, Aug 27, 2024 at 07:54:27PM +0200, Mac

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-20 Thread Peter Xu
On Fri, Sep 20, 2024 at 05:23:08PM +0200, Maciej S. Szmigiero wrote: > On 19.09.2024 23:11, Peter Xu wrote: > > On Thu, Sep 19, 2024 at 09:49:10PM +0200, Maciej S. Szmigiero wrote: > > > On 9.09.2024 22:03, Peter Xu wrote: > > > > On Tue, Aug 27, 2024 at 07:54:27PM +0200, Maciej S. Szmigiero wrote:

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-20 Thread Maciej S. Szmigiero
On 19.09.2024 23:11, Peter Xu wrote: On Thu, Sep 19, 2024 at 09:49:10PM +0200, Maciej S. Szmigiero wrote: On 9.09.2024 22:03, Peter Xu wrote: On Tue, Aug 27, 2024 at 07:54:27PM +0200, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" load_finish SaveVMHandler allows migration code to po

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-19 Thread Peter Xu
On Thu, Sep 19, 2024 at 09:49:10PM +0200, Maciej S. Szmigiero wrote: > On 9.09.2024 22:03, Peter Xu wrote: > > On Tue, Aug 27, 2024 at 07:54:27PM +0200, Maciej S. Szmigiero wrote: > > > From: "Maciej S. Szmigiero" > > > > > > load_finish SaveVMHandler allows migration code to poll whether > > > a

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-19 Thread Maciej S. Szmigiero
On 9.09.2024 22:03, Peter Xu wrote: On Tue, Aug 27, 2024 at 07:54:27PM +0200, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" load_finish SaveVMHandler allows migration code to poll whether a device-specific asynchronous device state loading operation had finished. In order to avoid ca

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-09 Thread Peter Xu
On Tue, Aug 27, 2024 at 07:54:27PM +0200, Maciej S. Szmigiero wrote: > From: "Maciej S. Szmigiero" > > load_finish SaveVMHandler allows migration code to poll whether > a device-specific asynchronous device state loading operation had finished. > > In order to avoid calling this handler needless

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-09 Thread Maciej S. Szmigiero
On 5.09.2024 17:13, Avihai Horon wrote: On 27/08/2024 20:54, Maciej S. Szmigiero wrote: External email: Use caution opening links or attachments From: "Maciej S. Szmigiero" load_finish SaveVMHandler allows migration code to poll whether a device-specific asynchronous device state loading op

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-09-05 Thread Avihai Horon
On 27/08/2024 20:54, Maciej S. Szmigiero wrote: External email: Use caution opening links or attachments From: "Maciej S. Szmigiero" load_finish SaveVMHandler allows migration code to poll whether a device-specific asynchronous device state loading operation had finished. In order to avoid

Re: [PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-08-30 Thread Fabiano Rosas
"Maciej S. Szmigiero" writes: > From: "Maciej S. Szmigiero" > > load_finish SaveVMHandler allows migration code to poll whether > a device-specific asynchronous device state loading operation had finished. > > In order to avoid calling this handler needlessly the device is supposed > to notify t

[PATCH v2 08/17] migration: Add load_finish handler and associated functions

2024-08-27 Thread Maciej S. Szmigiero
From: "Maciej S. Szmigiero" load_finish SaveVMHandler allows migration code to poll whether a device-specific asynchronous device state loading operation had finished. In order to avoid calling this handler needlessly the device is supposed to notify the migration code of its possible readiness