[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Ba
From: |
ehrhardt |
Subject: |
[Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo |
Date: |
Tue, 28 Oct 2008 10:08:20 +0100 |
From: Christian Ehrhardt <address@hidden>
Fix for qemu runtime error. Full error message:
Number of SMP cpus requested (1), exceeds max cpus supported by machine
`bamboo' (0)
Signed-off-by: Christian Ehrhardt <address@hidden>
Signed-off-by: Hollis Blanchard <address@hidden>
---
[diffstat]
ppc440_bamboo.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
[diff]
diff --git a/qemu/hw/ppc440_bamboo.c b/qemu/hw/ppc440_bamboo.c
--- a/qemu/hw/ppc440_bamboo.c
+++ b/qemu/hw/ppc440_bamboo.c
@@ -203,7 +203,8 @@ void bamboo_init(ram_addr_t ram_size, in
}
QEMUMachine bamboo_machine = {
- "bamboo",
- "bamboo",
- bamboo_init,
+ .name = "bamboo",
+ .desc = "bamboo",
+ .init = bamboo_init,
+ .max_cpus = 1,
};
- [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo,
ehrhardt <=