From: "Li, ZhenHua"
There is some runtime check for max cpu count. Make them support 4096 cpus.
Signed-off-by: Li, ZhenHua
---
hw/i386/acpi-build.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index c98df88..5c3bf10 100
From: "Li, ZhenHua"
max_cpus from 255 to 4096. So the machine types can support up to 4096 cpus.
Signed-off-by: Li, ZhenHua
---
include/hw/i386/pc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 9010246..8183141 100644
---
From: "Li, ZhenHua"
Change ACPI_CPU_HOTPLUG_ID_LIMIT from 256 to 4096;
Change MAX_APICS from 256 to 4096;
Signed-off-by: Li, ZhenHua
---
include/hw/acpi/cpu_hotplug_defs.h | 4 ++--
include/hw/i386/apic_internal.h| 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/includ
From: "Li, ZhenHua"
Change MAX_CPUMASK_BITS from 255 to 4096.
Signed-off-by: Li, ZhenHua
---
include/sysemu/sysemu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index ba5c7f8..97961a6 100644
--- a/include/sysemu/sysemu.h
From: "Li, ZhenHua"
These series patches are trying to make Qemu support more than 255 CPUs.
The max cpu number changed to 4096.
Support more than 255 cpus: ACPI and APIC defines
Support more than 255 cpus: max_cpus to 4096
Support more than 255 cpus: max cpumask bit to 4096
Support more th
From: "Li, ZhenHua"
In virtio-blk module, when there is new request, new req structure
will be created by malloc. Use a req pool instead of this, will increase
performance;
Increacement: about 5% to 10%.
Signed-off-by: Li, ZhenHua
---
hw/block/virtio-blk.c | 87
From: "Li, ZhenHua"
In virtio-blk module, when there is new request, new req structure
will be created by malloc. Use a req pool instead of this, will increase
performance;
Increacement: about 5% to 10%.
Signed-off-by: Li, ZhenHua
---
hw/block/virtio-blk.c | 87