qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC 1/5] qdev: add child alias properties


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC 1/5] qdev: add child alias properties
Date: Wed, 14 May 2014 15:31:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Il 14/05/2014 15:27, Andreas Färber ha scritto:
> +PropertyInfo qdev_prop_child_alias = {
> +    .name  = "ChildAlias",
Won't this turn into the QMP-exposed type of the property? That would be
wrong then, requiring per-type alias property types. They could be
macro-automated of course, if we need them.

Paolo had cleaned up type names to match QAPI schema for 2.0, CC'ing.

Replying to this patch series has been on my todo list for a long time...

I think we should avoid making the ChildAlias property a qdev property. This means redoing how "-device foo,help" works, so that it includes QOM properties as well.

Paolo



reply via email to

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