qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 1/2] Introduce CharDriverState qdev property typ


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH 1/2] Introduce CharDriverState qdev property type
Date: Tue, 21 Jul 2009 09:53:42 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Gerd Hoffmann wrote:
On 07/17/09 16:41, Anthony Liguori wrote:

Signed-off-by: Anthony Liguori<address@hidden>

Hmm, I think that goes into the wrong direction. Properties should not be pointers to internal qemu state. Yes, there is qemu_prop_ptr, but I consider that a temporary stopgap until we can do better. Instead CharDriverState's should get a name and we need a way to lookup them by name. Then we can store the name instead of a pointer into the property.

Would you have a property type that was basically a char driver state name?

cheers,
  Gerd



--
Regards,

Anthony Liguori





reply via email to

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