Re: [RFC V1 00/14] precreate phase

2024-10-29 Thread Peter Xu
On Tue, Oct 29, 2024 at 10:20:24AM -0300, Fabiano Rosas wrote: > Daniel P. Berrangé writes: > > > On Fri, Oct 25, 2024 at 02:43:06PM +0100, Daniel P. Berrangé wrote: > >> > >> The migration QAPI design has always felt rather odd to me, in that we > >> have perfectly good commands "migrate" & "mi

Re: [RFC V1 00/14] precreate phase

2024-10-29 Thread Daniel P . Berrangé
On Tue, Oct 29, 2024 at 10:20:24AM -0300, Fabiano Rosas wrote: > Daniel P. Berrangé writes: > > > On Fri, Oct 25, 2024 at 02:43:06PM +0100, Daniel P. Berrangé wrote: > >> > >> The migration QAPI design has always felt rather odd to me, in that we > >> have perfectly good commands "migrate" & "mi

Re: [RFC V1 00/14] precreate phase

2024-10-29 Thread Fabiano Rosas
Daniel P. Berrangé writes: > On Fri, Oct 25, 2024 at 02:43:06PM +0100, Daniel P. Berrangé wrote: >> >> The migration QAPI design has always felt rather odd to me, in that we >> have perfectly good commands "migrate" & "migrate-incoming" that are able >> to accept an arbitrary list of parameters

Re: [RFC V1 00/14] precreate phase

2024-10-29 Thread Daniel P . Berrangé
On Fri, Oct 25, 2024 at 02:43:06PM +0100, Daniel P. Berrangé wrote: > > The migration QAPI design has always felt rather odd to me, in that we > have perfectly good commands "migrate" & "migrate-incoming" that are able > to accept an arbitrary list of parameters when invoked. Instead of passing >

Re: [RFC V1 00/14] precreate phase

2024-10-29 Thread Daniel P . Berrangé
On Mon, Oct 28, 2024 at 05:56:10PM -0400, Peter Xu wrote: > On Fri, Oct 25, 2024 at 02:43:06PM +0100, Daniel P. Berrangé wrote: > > On Fri, Oct 25, 2024 at 09:33:51AM -0400, Steven Sistare wrote: > > > On 10/25/2024 4:46 AM, Daniel P. Berrangé wrote: > > > > On Thu, Oct 24, 2024 at 05:16:14PM -0400

Re: [RFC V1 00/14] precreate phase

2024-10-28 Thread Peter Xu
On Fri, Oct 25, 2024 at 02:43:06PM +0100, Daniel P. Berrangé wrote: > On Fri, Oct 25, 2024 at 09:33:51AM -0400, Steven Sistare wrote: > > On 10/25/2024 4:46 AM, Daniel P. Berrangé wrote: > > > On Thu, Oct 24, 2024 at 05:16:14PM -0400, Steven Sistare wrote: > > > > > > > > Regarding: "what you want

Re: [RFC V1 00/14] precreate phase

2024-10-25 Thread Steven Sistare
On 10/25/2024 4:46 AM, Daniel P. Berrangé wrote: On Thu, Oct 24, 2024 at 05:16:14PM -0400, Steven Sistare wrote: Regarding: "what you want is effectively to execute monitor commands from the migration stream" That is not the goal of this series. It could be someone else's goal, when fully dev

Re: [RFC V1 00/14] precreate phase

2024-10-25 Thread Daniel P . Berrangé
On Fri, Oct 25, 2024 at 10:32:15AM -0400, Steven Sistare wrote: > On 10/25/2024 9:43 AM, Daniel P. Berrangé wrote: > > On Fri, Oct 25, 2024 at 09:33:51AM -0400, Steven Sistare wrote: > > > On 10/25/2024 4:46 AM, Daniel P. Berrangé wrote: > > > > On Thu, Oct 24, 2024 at 05:16:14PM -0400, Steven Sist

Re: [RFC V1 00/14] precreate phase

2024-10-25 Thread Steven Sistare
On 10/25/2024 9:43 AM, Daniel P. Berrangé wrote: On Fri, Oct 25, 2024 at 09:33:51AM -0400, Steven Sistare wrote: On 10/25/2024 4:46 AM, Daniel P. Berrangé wrote: On Thu, Oct 24, 2024 at 05:16:14PM -0400, Steven Sistare wrote: Regarding: "what you want is effectively to execute monitor command

Re: [RFC V1 00/14] precreate phase

2024-10-25 Thread Daniel P . Berrangé
On Fri, Oct 25, 2024 at 09:33:51AM -0400, Steven Sistare wrote: > On 10/25/2024 4:46 AM, Daniel P. Berrangé wrote: > > On Thu, Oct 24, 2024 at 05:16:14PM -0400, Steven Sistare wrote: > > > > > > Regarding: "what you want is effectively to execute monitor commands > > > from the migration stream" >

Re: [RFC V1 00/14] precreate phase

2024-10-25 Thread Daniel P . Berrangé
On Thu, Oct 24, 2024 at 05:16:14PM -0400, Steven Sistare wrote: > > Regarding: "what you want is effectively to execute monitor commands > from the migration stream" > > That is not the goal of this series. It could be someone else's goal, when > fully developing a precreate phase, and in that c

Re: [RFC V1 00/14] precreate phase

2024-10-24 Thread Steven Sistare
On 10/23/2024 12:31 PM, Paolo Bonzini wrote: On 10/17/24 17:14, Steve Sistare wrote: Define a new qemu initialization phase called 'precreate' which occurs before most backends or devices have been created.  The only exception is monitor and qtest devices and their associated chardevs. QEMU run

Re: [RFC V1 00/14] precreate phase

2024-10-23 Thread Paolo Bonzini
On 10/17/24 17:14, Steve Sistare wrote: Define a new qemu initialization phase called 'precreate' which occurs before most backends or devices have been created. The only exception is monitor and qtest devices and their associated chardevs. QEMU runs in the main loop during this phase. Monitor

Re: [RFC V1 00/14] precreate phase

2024-10-21 Thread Steven Sistare
On 10/17/2024 11:53 AM, Peter Xu wrote: On Thu, Oct 17, 2024 at 11:19:51AM -0400, Steven Sistare wrote: On 10/17/2024 11:14 AM, Steve Sistare wrote: Define a new qemu initialization phase called 'precreate' which occurs before most backends or devices have been created. The only exception is m

Re: [RFC V1 00/14] precreate phase

2024-10-17 Thread Peter Xu
On Thu, Oct 17, 2024 at 11:19:51AM -0400, Steven Sistare wrote: > On 10/17/2024 11:14 AM, Steve Sistare wrote: > > Define a new qemu initialization phase called 'precreate' which occurs > > before most backends or devices have been created. The only exception > > is monitor and qtest devices and t

Re: [RFC V1 00/14] precreate phase

2024-10-17 Thread Steven Sistare
On 10/17/2024 11:14 AM, Steve Sistare wrote: Define a new qemu initialization phase called 'precreate' which occurs before most backends or devices have been created. The only exception is monitor and qtest devices and their associated chardevs. QEMU runs in the main loop during this phase. Mo

[RFC V1 00/14] precreate phase

2024-10-17 Thread Steve Sistare
Define a new qemu initialization phase called 'precreate' which occurs before most backends or devices have been created. The only exception is monitor and qtest devices and their associated chardevs. QEMU runs in the main loop during this phase. Monitor connections are active and can receive mi