qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] translator mega-patch


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] translator mega-patch
Date: Mon, 19 Jun 2017 08:15:18 +0100

On 19 June 2017 at 05:08, Emilio G. Cota <address@hidden> wrote:
> On Sun, Jun 18, 2017 at 17:37:39 +0300, Lluís Vilanova wrote:
>> I kind of dislike it every time I see container_of, and it makes type
>> checking from the compiler a bit more fragile.
>
> container_of is *very* useful! You should like it more :-)

Or you could use qom objects, where the parent-to-child
cast is checked.

thanks
-- PMM



reply via email to

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