qemu-devel
[Top][All Lists]
Advanced

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

Re: sysbus_create_simple Vs qdev_create


From: Paolo Bonzini
Subject: Re: sysbus_create_simple Vs qdev_create
Date: Wed, 29 Jul 2020 18:14:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 29/07/20 18:08, Eduardo Habkost wrote:
>>>> The main thing we get from it is that the QOM paths treat children and
>>>> links the same, and links are properties.  To be honest it's not a
>>>> feature that is very much developed, so perhaps we can remove it but we
>>>> need to evaluate the impact of losing it.
>>> Are link properties usable by -device/device_add/-object/object-add?
>> Not sure exactly what you mean, but there is DEFINE_PROP_LINK and it's
>> used to link devices to objects.  Is it ever used with an actual path
>> rather than just the id of something in /objects?  Probably not.
> I mean: are link properties settable from the command line or
> QMP, as an argument to -device/device_add/-object/object-add?

Then yes.

Paolo




reply via email to

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