Re: [Qemu-devel] [PATCH 1/4] machine: Register TYPE_MACHINE properties as class properties

2016-10-14 Thread Eduardo Habkost
On Fri, Oct 14, 2016 at 03:08:30PM +0200, Igor Mammedov wrote: > On Thu, 13 Oct 2016 18:26:39 -0300 > Eduardo Habkost wrote: > > > When doing the conversion, the NULL errp arguments on the > > property registration calls were changed to &error_abort. > > > > Signed-off-by: Eduardo Habkost > So

Re: [Qemu-devel] [PATCH 1/4] machine: Register TYPE_MACHINE properties as class properties

2016-10-14 Thread Igor Mammedov
On Thu, 13 Oct 2016 18:26:39 -0300 Eduardo Habkost wrote: > When doing the conversion, the NULL errp arguments on the > property registration calls were changed to &error_abort. > > Signed-off-by: Eduardo Habkost So many property registrations look pretty ugly but still better than doing it per

[Qemu-devel] [PATCH 1/4] machine: Register TYPE_MACHINE properties as class properties

2016-10-13 Thread Eduardo Habkost
When doing the conversion, the NULL errp arguments on the property registration calls were changed to &error_abort. Signed-off-by: Eduardo Habkost --- hw/core/machine.c | 206 ++ 1 file changed, 98 insertions(+), 108 deletions(-) diff --git a/