[PATCH-for-9.0?] docs: i386: pc: Update maximum CPU numbers for PC Q35

Zhao Liu posted 1 patch 2 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240412085358.731560-1-zhao1.liu@linux.intel.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>
docs/system/target-i386-desc.rst.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH-for-9.0?] docs: i386: pc: Update maximum CPU numbers for PC Q35
Posted by Zhao Liu 2 weeks, 3 days ago
From: Zhao Liu <zhao1.liu@intel.com>

Commit e4e98c7eebfa ("pc: q35: Bump max_cpus to 4096 vcpus") increases
the supported CPUs for PC Q35 machine.

Update maximum CPU numbers for PC Q35 in the document.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
 docs/system/target-i386-desc.rst.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/system/target-i386-desc.rst.inc b/docs/system/target-i386-desc.rst.inc
index 5ebbcda9db4c..319e540573d3 100644
--- a/docs/system/target-i386-desc.rst.inc
+++ b/docs/system/target-i386-desc.rst.inc
@@ -36,7 +36,7 @@ The QEMU PC System emulator simulates the following peripherals:
 -  PCI UHCI, OHCI, EHCI or XHCI USB controller and a virtual USB-1.1
    hub.
 
-SMP is supported with up to 255 CPUs.
+SMP is supported with up to 255 CPUs (and 4096 CPUs for PC Q35 machine).
 
 QEMU uses the PC BIOS from the Seabios project and the Plex86/Bochs LGPL
 VGA BIOS.
-- 
2.34.1
Re: [PATCH-for-9.0?] docs: i386: pc: Update maximum CPU numbers for PC Q35
Posted by Philippe Mathieu-Daudé 2 weeks, 3 days ago
Hi Zhao,

On 12/4/24 10:53, Zhao Liu wrote:
> From: Zhao Liu <zhao1.liu@intel.com>
> 
> Commit e4e98c7eebfa ("pc: q35: Bump max_cpus to 4096 vcpus") increases
> the supported CPUs for PC Q35 machine.
> 
> Update maximum CPU numbers for PC Q35 in the document.
> 
> Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
> ---
>   docs/system/target-i386-desc.rst.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/system/target-i386-desc.rst.inc b/docs/system/target-i386-desc.rst.inc
> index 5ebbcda9db4c..319e540573d3 100644
> --- a/docs/system/target-i386-desc.rst.inc
> +++ b/docs/system/target-i386-desc.rst.inc
> @@ -36,7 +36,7 @@ The QEMU PC System emulator simulates the following peripherals:
>   -  PCI UHCI, OHCI, EHCI or XHCI USB controller and a virtual USB-1.1
>      hub.
>   
> -SMP is supported with up to 255 CPUs.
> +SMP is supported with up to 255 CPUs (and 4096 CPUs for PC Q35 machine).

This comment is not accurate since a while, IIUC:

Up to q35-2.7: 255
q35-2.8: 288
q35-8.0+: 1024
q35-9.0: 4096

>   QEMU uses the PC BIOS from the Seabios project and the Plex86/Bochs LGPL
>   VGA BIOS.
Re: [PATCH-for-9.0?] docs: i386: pc: Update maximum CPU numbers for PC Q35
Posted by Zhao Liu 2 weeks, 3 days ago
Hi Philippe,

On Fri, Apr 12, 2024 at 11:57:35AM +0200, Philippe Mathieu-Daudé wrote:
> Date: Fri, 12 Apr 2024 11:57:35 +0200
> From: Philippe Mathieu-Daudé <philmd@linaro.org>
> Subject: Re: [PATCH-for-9.0?] docs: i386: pc: Update maximum CPU numbers
>  for PC Q35
> 
> > -SMP is supported with up to 255 CPUs.
> > +SMP is supported with up to 255 CPUs (and 4096 CPUs for PC Q35 machine).
> 
> This comment is not accurate since a while, IIUC:
> 
> Up to q35-2.7: 255
> q35-2.8: 288
> q35-8.0+: 1024
> q35-9.0: 4096

Yes, I think there should be no need to mention older versions here?

Since the Q35's 4096 CPUs change will be stated in the v9.0 release, I
doubt we should synchronize the doc update (so I added the "for-v9.0?"
tag to throw this question out).

Thanks,
Zhao