Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-25 Thread John Snow
On Mon, Feb 21, 2022 at 10:55 AM Damien Hedde wrote: > > Hi, > > The main idea of this series is to be a bit more user-friendly when > using qmp-shell in a non-interactive way: with an input redirection > from a file containing a list of commands. > > I'm working on dynamic qapi config of a qemu m

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-23 Thread Daniel P . Berrangé
On Wed, Feb 23, 2022 at 10:01:05AM -0500, John Snow wrote: > On Wed, Feb 23, 2022 at 6:13 AM Daniel P. Berrangé > wrote: > > > > On Wed, Feb 23, 2022 at 10:57:29AM +0100, Damien Hedde wrote: > > > > > > > > > On 2/22/22 11:31, Daniel P. Berrangé wrote: > > > > On Tue, Feb 22, 2022 at 10:38:09AM +

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-23 Thread John Snow
On Wed, Feb 23, 2022 at 6:13 AM Daniel P. Berrangé wrote: > > On Wed, Feb 23, 2022 at 10:57:29AM +0100, Damien Hedde wrote: > > > > > > On 2/22/22 11:31, Daniel P. Berrangé wrote: > > > On Tue, Feb 22, 2022 at 10:38:09AM +0100, Damien Hedde wrote: > > > > > > > > > > > > Here I just wanted to prop

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-23 Thread Daniel P . Berrangé
On Wed, Feb 23, 2022 at 10:57:29AM +0100, Damien Hedde wrote: > > > On 2/22/22 11:31, Daniel P. Berrangé wrote: > > On Tue, Feb 22, 2022 at 10:38:09AM +0100, Damien Hedde wrote: > > > > > > > > > Here I just wanted to propose a simple way to just send a > > > bunch of commands from a source fil

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-23 Thread Damien Hedde
On 2/22/22 11:31, Daniel P. Berrangé wrote: On Tue, Feb 22, 2022 at 10:38:09AM +0100, Damien Hedde wrote: Here I just wanted to propose a simple way to just send a bunch of commands from a source file and stop if something unexpected happens. Only goal is to be able to share a file on the m

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-22 Thread Daniel P . Berrangé
On Tue, Feb 22, 2022 at 10:38:09AM +0100, Damien Hedde wrote: > > > On 2/22/22 10:21, Daniel P. Berrangé wrote: > > On Tue, Feb 22, 2022 at 08:57:03AM +0100, Damien Hedde wrote: > > > > > > > > > On 2/22/22 07:10, Markus Armbruster wrote: > > > > Damien Hedde writes: > > > > > > > > > Hi, > >

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-22 Thread Markus Armbruster
Damien Hedde writes: > On 2/22/22 07:10, Markus Armbruster wrote: >> Damien Hedde writes: >> >>> Hi, >>> >>> The main idea of this series is to be a bit more user-friendly when >>> using qmp-shell in a non-interactive way: with an input redirection >>> from a file containing a list of commands.

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-22 Thread Damien Hedde
On 2/22/22 10:21, Daniel P. Berrangé wrote: On Tue, Feb 22, 2022 at 08:57:03AM +0100, Damien Hedde wrote: On 2/22/22 07:10, Markus Armbruster wrote: Damien Hedde writes: Hi, The main idea of this series is to be a bit more user-friendly when using qmp-shell in a non-interactive way: wi

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-22 Thread Daniel P . Berrangé
On Tue, Feb 22, 2022 at 08:57:03AM +0100, Damien Hedde wrote: > > > On 2/22/22 07:10, Markus Armbruster wrote: > > Damien Hedde writes: > > > > > Hi, > > > > > > The main idea of this series is to be a bit more user-friendly when > > > using qmp-shell in a non-interactive way: with an input re

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-21 Thread Damien Hedde
On 2/22/22 07:10, Markus Armbruster wrote: Damien Hedde writes: Hi, The main idea of this series is to be a bit more user-friendly when using qmp-shell in a non-interactive way: with an input redirection from a file containing a list of commands. I'm working on dynamic qapi config of a qe

Re: [PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-21 Thread Markus Armbruster
Damien Hedde writes: > Hi, > > The main idea of this series is to be a bit more user-friendly when > using qmp-shell in a non-interactive way: with an input redirection > from a file containing a list of commands. > > I'm working on dynamic qapi config of a qemu machine, this would > be very usef

[PATCH 0/5] qmp-shell modifications for non-interactive use

2022-02-21 Thread Damien Hedde
Hi, The main idea of this series is to be a bit more user-friendly when using qmp-shell in a non-interactive way: with an input redirection from a file containing a list of commands. I'm working on dynamic qapi config of a qemu machine, this would be very useful to provide and reproduce small exa