Re: [Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-30 Thread Gonglei
> Subject: Re: [Qemu-devel] [PATCH v4 0/5] add description field in > ObjectProperty and PropertyInfo struct > > On Tue, Sep 30, 2014 at 11:02:34AM +0800, arei.gong...@huawei.com wrote: > > From: Gonglei > > > > This patch series based on qom-next tree: > >

Re: [Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-30 Thread Michael S. Tsirkin
On Tue, Sep 30, 2014 at 11:02:34AM +0800, arei.gong...@huawei.com wrote: > From: Gonglei > > This patch series based on qom-next tree: > https://github.com/afaerber/qemu-cpu/commits/qom-next > > Add a description field in both ObjectProperty and PropertyInfo struct. > The descriptions can serve

Re: [Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-30 Thread Gonglei
> Subject: Re: [Qemu-devel] [PATCH v4 0/5] add description field in > ObjectProperty and PropertyInfo struct > > On Tue, Sep 30, 2014 at 11:02:34AM +0800, arei.gong...@huawei.com wrote: > > From: Gonglei > > > > This patch series based on qom-next tree: > >

Re: [Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-30 Thread Markus Armbruster
"Michael S. Tsirkin" writes: > On Tue, Sep 30, 2014 at 11:02:34AM +0800, arei.gong...@huawei.com wrote: >> From: Gonglei >> >> This patch series based on qom-next tree: >> https://github.com/afaerber/qemu-cpu/commits/qom-next >> >> Add a description field in both ObjectProperty and PropertyIn

Re: [Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-30 Thread Paolo Bonzini
Il 30/09/2014 13:35, Michael S. Tsirkin ha scritto: >> > virtio-blk-pci.addr=int32 (Slot and function number, example: 06.0) > Weird. 06.0 is clearly not an int, is it? The QOM property accepts both int32 and str, but always returns an int32 when read. For now we can leave out patch 5 while this

Re: [Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-30 Thread Michael S. Tsirkin
On Tue, Sep 30, 2014 at 11:02:34AM +0800, arei.gong...@huawei.com wrote: > From: Gonglei > > This patch series based on qom-next tree: > https://github.com/afaerber/qemu-cpu/commits/qom-next > > Add a description field in both ObjectProperty and PropertyInfo struct. > The descriptions can serve

Re: [Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-30 Thread Paolo Bonzini
Il 30/09/2014 05:02, arei.gong...@huawei.com ha scritto: > From: Gonglei > > This patch series based on qom-next tree: > https://github.com/afaerber/qemu-cpu/commits/qom-next > > Add a description field in both ObjectProperty and PropertyInfo struct. > The descriptions can serve as documentatio

[Qemu-devel] [PATCH v4 0/5] add description field in ObjectProperty and PropertyInfo struct

2014-09-29 Thread arei.gonglei
From: Gonglei This patch series based on qom-next tree: https://github.com/afaerber/qemu-cpu/commits/qom-next Add a description field in both ObjectProperty and PropertyInfo struct. The descriptions can serve as documentation in the code, and they can be used to provide better help. For example