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

2022-05-10 Thread Daniel P . Berrangé
On Tue, May 10, 2022 at 01:21:29PM +0200, Victor Toso wrote: > Hi, > > On Tue, May 10, 2022 at 11:10:45AM +0100, Daniel P. Berrangé wrote: > > On Sat, Apr 02, 2022 at 12:40:58AM +0200, Victor Toso wrote: > > > This patch handles QAPI alternate types and generates data > > > structures in Go that h

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

2022-05-10 Thread Victor Toso
Hi, On Tue, May 10, 2022 at 11:10:45AM +0100, Daniel P. Berrangé wrote: > On Sat, Apr 02, 2022 at 12:40:58AM +0200, Victor Toso wrote: > > This patch handles QAPI alternate types and generates data > > structures in Go that handles it. > > > > At this moment, there are 5 alternates in qemu/qapi,

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

2022-05-10 Thread Daniel P . Berrangé
On Sat, Apr 02, 2022 at 12:40:58AM +0200, Victor Toso wrote: > This patch handles QAPI alternate types and generates data structures > in Go that handles it. > > At this moment, there are 5 alternates in qemu/qapi, they are: > * BlockDirtyBitmapMergeSource > * Qcow2OverlapChecks > * BlockdevRef

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

2022-04-01 Thread Victor Toso
This patch handles QAPI alternate types and generates data structures in Go that handles it. At this moment, there are 5 alternates in qemu/qapi, they are: * BlockDirtyBitmapMergeSource * Qcow2OverlapChecks * BlockdevRef * BlockdevRefOrNull * StrOrNull Alternate types are similar to Union bu