[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qgraph
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] qgraph |
Date: |
Tue, 11 Jun 2019 15:39:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
> On 11/06/19 10:56, Markus Armbruster wrote:
>> Yes, this is how introspection (both QMP and QOM) is commonly used.
>> Just keep in mind one difference: QMP is static, QOM is dynamic.
>>
>> QMP being static means it's defined at compile time. So is the value of
>> query-qmp-schema. Same QEMU build, same value. This permits caching.
>>
>> QOM being dynamic means to introspect an object's properties, you have
>> to create it. Worse, an object's properties may (in theory) change at
>> any time. *Properties*, not just property *values*. In practice, I'd
>> expect properties to change only at realize time.
>
> 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?
- Re: [Qemu-devel] qgraph, (continued)
- Re: [Qemu-devel] qgraph, Natalia Fursova, 2019/06/05
- Re: [Qemu-devel] qgraph, Natalia Fursova, 2019/06/10
- Re: [Qemu-devel] qgraph, Andreas Färber, 2019/06/10
- Re: [Qemu-devel] qgraph, Paolo Bonzini, 2019/06/10
- Re: [Qemu-devel] qgraph, Andreas Färber, 2019/06/10
- Re: [Qemu-devel] qgraph, Paolo Bonzini, 2019/06/10
- Re: [Qemu-devel] qgraph, Andreas Färber, 2019/06/10
- Re: [Qemu-devel] qgraph, Paolo Bonzini, 2019/06/10
- Re: [Qemu-devel] qgraph, Markus Armbruster, 2019/06/11
- Re: [Qemu-devel] qgraph, Paolo Bonzini, 2019/06/11
- Re: [Qemu-devel] qgraph,
Markus Armbruster <=
- Re: [Qemu-devel] qgraph, Paolo Bonzini, 2019/06/11
- Re: [Qemu-devel] qgraph, Andreas Färber, 2019/06/11