]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/system/cpu-hotplug: Update example's socket-id/core-id
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Oct 2024 12:54:41 +0000 (12:54 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Oct 2024 15:04:46 +0000 (15:04 +0000)
commitbda8c24cb564afe88d7ab713e44aeefdcb10ff63
treec5d00f79b4f15f68419d36e3e1506b89f2be8523
parent918d0de0728c3840e3c459202f9bdbcc690a5727
docs/system/cpu-hotplug: Update example's socket-id/core-id

The example of how to do vCPU hotplug and hot-unlpug in the
cpu-hotplug documentation no longer works, because the way we
allocate socket-id and core-id to CPUs by default has changed at some
point.  The output also no longer matches what current QEMU produces
in some more cosmetic ways.

Update the example to match current QEMU. The differences are:
 * the second CPU is now socket-id=0 core-id=1,
   not socket-id=1 core-id=0
 * the order of fields in QMP responses is now in alphabetical order
 * the "arch" member is no longer present in the query-cpus-fast
   output (it was removed in QEMU 6.0)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20241010131800.3210161-1-peter.maydell@linaro.org
Message-id: 20240819144303.37852-1-peter.maydell@linaro.org
docs/system/cpu-hotplug.rst