qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/4] qom: Replace "automatic arrayification"


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/4] qom: Replace "automatic arrayification"
Date: Thu, 13 Nov 2014 15:39:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0


On 13/11/2014 15:34, Markus Armbruster wrote:
> -    ... "bla" ...
> +    char *name = object_gen_new_property_name(obj, "bla");
> +    ... name ...
> +    g_free(name);
> 
> Not quite as mechanical, in particular finding the obj to pass to
> object_gen_new_property_name().
> 
> Correct?

Yes (except that the obj is just qdev_get_machine()).

> [*] What we want to do is drag them along until the Second Coming, when
> Jesus will set everything right, which naturally includes qdevifying all
> the old crap nobody wants to touch.

Or maybe not.  Look at the bottom:
https://upload.wikimedia.org/wikipedia/commons/a/a5/Michelangelo%2C_Giudizio_Universale_02.jpg

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]