Re: [RFC PATCH v1 5/8] qapi: golang: Generate qapi's event types in Go

2022-05-10 Thread Victor Toso
Hi, On Tue, May 10, 2022 at 11:42:10AM +0100, Daniel P. Berrangé wrote: > On Sat, Apr 02, 2022 at 12:41:01AM +0200, Victor Toso wrote: > > This patch handles QAPI event types and generates data structures in > > Go that handles it. > > > > At the moment of this writing, it generates 51 structures

Re: [RFC PATCH v1 5/8] qapi: golang: Generate qapi's event types in Go

2022-05-10 Thread Daniel P . Berrangé
On Sat, Apr 02, 2022 at 12:41:01AM +0200, Victor Toso wrote: > This patch handles QAPI event types and generates data structures in > Go that handles it. > > At the moment of this writing, it generates 51 structures (49 events) > > In Golang, each event is handled as a Go structure and there is n

[RFC PATCH v1 5/8] qapi: golang: Generate qapi's event types in Go

2022-04-01 Thread Victor Toso
This patch handles QAPI event types and generates data structures in Go that handles it. At the moment of this writing, it generates 51 structures (49 events) In Golang, each event is handled as a Go structure and there is no big difference, in the Go generated code, between what is a QAPI event