Skip to contentSkip to conversation

docs/system/riscv: remove core limit from virt machine

PATCH Superseded Daniel Henrique Barboza 1 participant 2 messages Oct 19, 2023 – Oct 20, 2023 RISC-V

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/system/riscv: remove core limit from virt machine

The 'virt' RISC-V machine does not have a 8 core limit. The current limit is set in include/hw/riscv/virt.h, VIRT_CPUS_MAX, set to 512 at this moment.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1945

---
 docs/system/riscv/virt.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/riscv/virt.rst +1 -1
index f9a2eac544..f5fa7b8b29 100644
@@ -12,7 +12,7 @@ Supported devices
 
 The ``virt`` machine supports the following devices:
 
-* Up to 8 generic RV32GC/RV64GC cores, with optional extensions
+* Up to 512 generic RV32GC/RV64GC cores, with optional extensions
 * Core Local Interruptor (CLINT)
 * Platform-Level Interrupt Controller (PLIC)
 * CFI parallel NOR flash memory
Signature · 1 line
2.41.0
#1 lore raw

The commit title is misleading. We're not removing the core limit, we're updating it.

I just sent a new version with an appropriate commit title. Thanks,

Daniel

Quoted 23 lines · Daniel Henrique Barboza

The 'virt' RISC-V machine does not have a 8 core limit. The current limit is set in include/hw/riscv/virt.h, VIRT_CPUS_MAX, set to 512 at this moment.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1945

---
  docs/system/riscv/virt.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/riscv/virt.rst +1 -1
index f9a2eac544..f5fa7b8b29 100644
@@ -12,7 +12,7 @@ Supported devices
 
  The ``virt`` machine supports the following devices:
 
-* Up to 8 generic RV32GC/RV64GC cores, with optional extensions
+* Up to 512 generic RV32GC/RV64GC cores, with optional extensions
  * Core Local Interruptor (CLINT)
  * Platform-Level Interrupt Controller (PLIC)
  * CFI parallel NOR flash memory