|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 10/30] qdev: don't access name through info |
Date: | Tue, 03 Jan 2012 14:41:30 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 01/03/2012 02:39 PM, Anthony Liguori wrote:
It's a pity that this loses type-safety.You mean at run time or because OBJECT() cast is so lose? We can fix the later..
At compile-time, i.e. the latter. But no problem, I really think it should be fixed in the compiler.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |