Re: Re: [RFCv2 00/46] RFC: Generate parsexml/formatbuf functions based on directives

2020-12-07 Thread Daniel P . Berrangé
On Mon, Dec 07, 2020 at 05:11:42PM +0800, Shi Lei wrote: > On 2020-12-05 at 02:55, DanielP. Berrangé wrote: > >On Fri, Sep 04, 2020 at 11:34:52AM +0800, Shi Lei wrote: > >> V1 here: > >> [https://www.redhat.com/archives/libvir-list/2020-June/msg00357.html] > >> > >> Differ from V1: > >> > >>   * M

Re: Re: [RFCv2 00/46] RFC: Generate parsexml/formatbuf functions based on directives

2020-12-07 Thread Shi Lei
On 2020-12-05 at 02:55, DanielP. Berrangé wrote: >On Fri, Sep 04, 2020 at 11:34:52AM +0800, Shi Lei wrote: >> V1 here: >> [https://www.redhat.com/archives/libvir-list/2020-June/msg00357.html] >> >> Differ from V1: >> >>   * Move the generator into scripts/xmlgen and rename it 'xmlgen'. >> >>   * D

Re: Re: [RFCv2 00/46] RFC: Generate parsexml/formatbuf functions based on directives

2020-12-06 Thread Shi Lei
On 2020-12-05 at 01:41, DanielP. Berrangé wrote: >On Fri, Sep 04, 2020 at 11:34:52AM +0800, Shi Lei wrote: >> V1 here: >> [https://www.redhat.com/archives/libvir-list/2020-June/msg00357.html] > > >> For those new and changed directives, illustrate them by an example: >> >> struct _virDomainGraphic

Re: [RFCv2 00/46] RFC: Generate parsexml/formatbuf functions based on directives

2020-12-04 Thread Daniel P . Berrangé
On Fri, Sep 04, 2020 at 11:34:52AM +0800, Shi Lei wrote: > V1 here: [https://www.redhat.com/archives/libvir-list/2020-June/msg00357.html] > > Differ from V1: > > * Move the generator into scripts/xmlgen and rename it 'xmlgen'. > > * Declare virXMLChildNode and virXMLChildNodeSet in libvirt_p

Re: [RFCv2 00/46] RFC: Generate parsexml/formatbuf functions based on directives

2020-12-04 Thread Daniel P . Berrangé
On Fri, Sep 04, 2020 at 11:34:52AM +0800, Shi Lei wrote: > V1 here: [https://www.redhat.com/archives/libvir-list/2020-June/msg00357.html] > For those new and changed directives, illustrate them by an example: > > struct _virDomainGraphicsAuthDef { /* genparse, genformat:separate */ > char *

Re:[RFCv2 00/46] RFC: Generate parsexml/formatbuf functions based on directives

2020-11-02 Thread 石磊
Polite ping. Regards, Shi Lei From: "Shi Lei" Date: 2020-09-04 11:34:52 To: libvir-list@redhat.com Subject: [RFCv2 00/46] RFC: Generate parsexml/formatbuf functions based on directives>V1 here: [https://www.redhat.com/archives/libvir-list/2020-June/msg00357.html] > >Differ from V1: > > * Mo