On Fri, Feb 16, 2018 at 07:58:06PM +0100, Greg Kurz wrote:
> Commit 5d0fb1508e2d "spapr: consolidate the VCPU id numbering logic
> in a single place" introduced a helper to detect thread0 of a virtual
> core based on its VCPU id. This is used to create CPU core nodes in
> the DT, but it is broken i
Commit 5d0fb1508e2d "spapr: consolidate the VCPU id numbering logic
in a single place" introduced a helper to detect thread0 of a virtual
core based on its VCPU id. This is used to create CPU core nodes in
the DT, but it is broken in TCG.
$ qemu-system-ppc64 -nographic -accel tcg -machine dumpdtb=