Re: GSoC Intro - TUI interface for QMP

2021-06-11 Thread Vladimir Sementsov-Ogievskiy via
24.05.2021 20:34, John Snow wrote: On 5/24/21 9:32 AM, Stefan Hajnoczi wrote: On Sat, May 22, 2021 at 12:32:00AM +0530, Niteesh G. S. wrote: Welcome Niteesh :) I look forward to working with you this summer. By end of this summer, I would like to get a basic TUI with some desirable features

Re: GSoC Intro - TUI interface for QMP

2021-06-10 Thread John Snow
On 6/9/21 8:07 AM, Daniel P. Berrangé wrote: I think that's overthinking things. Even a small QEMU install is 10s of MB in size once you add up the qemu binary, firmware blobs and depedancies. If we only keep the raw help text from the json, we'll have < 1/2 MB, which is lost in the noise of the

Re: GSoC Intro - TUI interface for QMP

2021-06-10 Thread Markus Armbruster
John Snow writes: > On 6/9/21 7:56 AM, Markus Armbruster wrote: >>> The client could cache the information. (Against what kind of an >>> identifier? Can QEMU report some kind of token that uniquely >>> identifies its binary or uniquely identifies the set of QAPI commands >>> it supports?) > >> I

Re: GSoC Intro - TUI interface for QMP

2021-06-09 Thread John Snow
On 6/9/21 7:56 AM, Markus Armbruster wrote: The client could cache the information. (Against what kind of an identifier? Can QEMU report some kind of token that uniquely identifies its binary or uniquely identifies the set of QAPI commands it supports?) I proposed something like it to permit Q

Re: GSoC Intro - TUI interface for QMP

2021-06-09 Thread Daniel P . Berrangé
On Tue, Jun 08, 2021 at 11:49:41AM -0400, John Snow wrote: > On 6/8/21 11:01 AM, Markus Armbruster wrote: > > John Snow writes: > > > > [...] > > > > > A challenge will be where to pull the help text from. The QEMU server > > > is not capable (today) of sending help information over the QMP sock

Re: GSoC Intro - TUI interface for QMP

2021-06-09 Thread Daniel P . Berrangé
On Tue, Jun 08, 2021 at 05:01:28PM +0200, Markus Armbruster wrote: > John Snow writes: > > [...] > > > A challenge will be where to pull the help text from. The QEMU server > > is not capable (today) of sending help information over the QMP socket > > itself. > > > > We will need to implement a

Re: GSoC Intro - TUI interface for QMP

2021-06-09 Thread Markus Armbruster
John Snow writes: > On 6/8/21 11:01 AM, Markus Armbruster wrote: >> John Snow writes: >> [...] >> >>> A challenge will be where to pull the help text from. The QEMU server >>> is not capable (today) of sending help information over the QMP socket >>> itself. >>> >>> We will need to implement a

Re: GSoC Intro - TUI interface for QMP

2021-06-08 Thread John Snow
On 6/8/21 11:01 AM, Markus Armbruster wrote: John Snow writes: [...] A challenge will be where to pull the help text from. The QEMU server is not capable (today) of sending help information over the QMP socket itself. We will need to implement a QMP command inside of QEMU directly that is ca

Re: GSoC Intro - TUI interface for QMP

2021-06-08 Thread Markus Armbruster
John Snow writes: [...] > A challenge will be where to pull the help text from. The QEMU server > is not capable (today) of sending help information over the QMP socket > itself. > > We will need to implement a QMP command inside of QEMU directly that > is capable of delivering this information

Re: GSoC Intro - TUI interface for QMP

2021-06-02 Thread Bruno Piazera Larsen
On 24/05/2021 14:34, John Snow wrote: On 5/24/21 9:32 AM, Stefan Hajnoczi wrote: On Sat, May 22, 2021 at 12:32:00AM +0530, Niteesh G. S. wrote: Welcome Niteesh :) I look forward to working with you this summer. By end of this summer, I would like to get a basic TUI with some desirable feat

Re: GSoC Intro - TUI interface for QMP

2021-06-01 Thread John Snow
On 5/26/21 11:35 AM, Niteesh G. S. wrote: Hello Stefan, On Mon, May 24, 2021 at 7:02 PM Stefan Hajnoczi > wrote: On Sat, May 22, 2021 at 12:32:00AM +0530, Niteesh G. S. wrote: > By end of this summer, I would like to get a basic TUI with some desirable

Re: Fwd: GSoC Intro - TUI interface for QMP

2021-05-26 Thread Niteesh G. S.
Hello Stefan, On Mon, May 24, 2021 at 7:02 PM Stefan Hajnoczi wrote: > On Sat, May 22, 2021 at 12:32:00AM +0530, Niteesh G. S. wrote: > > By end of this summer, I would like to get a basic TUI with some > desirable > > features working. Some of the features I would like to get working are > > 1)

Re: GSoC Intro - TUI interface for QMP

2021-05-24 Thread John Snow
On 5/24/21 9:32 AM, Stefan Hajnoczi wrote: On Sat, May 22, 2021 at 12:32:00AM +0530, Niteesh G. S. wrote: Welcome Niteesh :) I look forward to working with you this summer. By end of this summer, I would like to get a basic TUI with some desirable features working. Some of the features I woul

Re: Fwd: GSoC Intro - TUI interface for QMP

2021-05-24 Thread Stefan Hajnoczi
On Sat, May 22, 2021 at 12:32:00AM +0530, Niteesh G. S. wrote: > By end of this summer, I would like to get a basic TUI with some desirable > features working. Some of the features I would like to get working are > 1) Syntax checking > 2) Syntax highlighting > 3) Code completion > 4) Logging > > I

Fwd: GSoC Intro - TUI interface for QMP

2021-05-21 Thread Niteesh G. S.
Hello all, I am Niteesh, one of the students selected under Google Summer of Code 2021 to work on the project* Interactive, asynchronous QMP TUI.* Link to my proposal: https://docs.google.com/document/d/1o_U9txCyqZDYIqqhj4V0IEO9-20KY2pb4egi75ueXco/edit?usp=sharing The goal of this project is to g