Hi there again!
Thank you for your answers, I have new question.
 
I want to identify PCI devices (e.g. network cards) and observed one strange 
thing. I use qmp command "qom-list-type" and build tree from it output. Some 
items don't have parent and don't give information about themselves. E. g. 
"e1000-base". It has three children and it belongs to PCI devices, but I can't 
know it, cuz command "qom-list-properties" returns empty message.

There is no information about "e1000-base" in "qom-list-type" output. It is 
referenced only as a parent for network cards.
Is it ok? Maybe is there other way for get information about all PCI devices?



Best regards,
Natalia


-----Original Message-----
From: Paolo Bonzini [mailto:pbonz...@redhat.com] 
Sent: Tuesday, June 11, 2019 4:45 PM
To: Markus Armbruster
Cc: Natalia Fursova; Andreas Färber; 'Паша'; qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qgraph

On 11/06/19 15:39, Markus Armbruster wrote:
>> Right, and we should move more towards class-based properties so that
>> the dynamic nature of QOM is only used for the bare minimum needed (e.g.
>> memory regions).
> What are we doing to make new code conform to that?
> 
> What are we doing to update existing code?

Almost nothing and completely nothing. :(

Paolo


Reply via email to