Signed-off-by: Benyu Xu
---
qemu-options.hx | 19 +++
1 file changed, 19 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index 297bd8a..0c2cec3 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -141,6 +141,25 @@ given, the total number of CPUs @var{n} can be
u will pin 8 vcpus one by one and 1:1 to pcpu 0,2,4,6,7,8,9,10.
b)
qemu ... -smp 8 -vcpupin 6-10,0,4,2 ...
It means qemu will pin 8 vcpus one by one and 1:1 to pcpu 6,7,8,9,10,0,4,2.
c)
qemu ... -smp 8 -vcpupin auto ...
It means qemu will pin 8 vcpus one by one and 1:1 to pcpu 0,1,2,
Signed-off-by: Benyu Xu
---
vl.c | 115 +++
1 file changed, 115 insertions(+)
diff --git a/vl.c b/vl.c
index 36ff3f4..8c5dd25 100644
--- a/vl.c
+++ b/vl.c
@@ -167,6 +167,7 @@ int smp_cpus = 1;
int max_cpus = 1;
int smp_cores = 1
Signed-off-by: Benyu Xu
---
cpus.c| 126 ++
include/qom/cpu.h | 9
include/sysemu/cpus.h | 2 +
3 files changed, 137 insertions(+)
diff --git a/cpus.c b/cpus.c
index 14bb8d5..40c3abf 100644
--- a/cpus.c
+++ b/cpus.c