On Tue, 14 Jan 2025 22:38:30 +0800 Zhao Liu <[email protected]> wrote:
> > I this specific case, one basically replaces /machine/unattached > > orphanage with explicit /machine one and many 'cpuN' children, > > which ain't any better than device[N]. > > > > and in future I can imagine that at least in x86 case vcpus > > might have another parent depending on configuration. > > (i.e. being parented to cores instead) > > I remember that this was your idea all along, and I'm not sure if you're > also referring to my previous patches about hybrid topology :-), which I'll I'm sorry, I've should've reviewed it long time ago. But it got lost in from my review queue, can you give me a pointer to the latest you've posted, please? > continue to refresh afterward in future (after all, the hybrid architecture > will continue in x86). And I think, since socket/core/thread are the three > default QEMU topology hierarchies, I understand that it would be best for > thread to always have core as parent. I guess it's fine as /machine/cpu[N] for now, what I've initially wished for is commit message that explains how do we get there and why it's done, so that later, whoever has to touch that code would have an idea why it's there.
