From 1bcee01487fc1bc3c43cd444c864c97a7a2d99f9 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 2 Nov 2008 16:51:02 +0000 Subject: More realistic max_cpus git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5604 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/sun4m.c | 17 +++++------------ hw/sun4u.c | 6 +++--- 2 files changed, 8 insertions(+), 15 deletions(-) (limited to 'hw') diff --git a/hw/sun4m.c b/hw/sun4m.c index b2d4cfa..25f6c1e 100644 --- a/hw/sun4m.c +++ b/hw/sun4m.c @@ -1100,7 +1100,6 @@ QEMUMachine ss5_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, }; QEMUMachine ss10_machine = { @@ -1110,7 +1109,7 @@ QEMUMachine ss10_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, + .max_cpus = 4, }; QEMUMachine ss600mp_machine = { @@ -1120,7 +1119,7 @@ QEMUMachine ss600mp_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, + .max_cpus = 4, }; QEMUMachine ss20_machine = { @@ -1130,7 +1129,7 @@ QEMUMachine ss20_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, + .max_cpus = 4, }; QEMUMachine voyager_machine = { @@ -1140,7 +1139,6 @@ QEMUMachine voyager_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, }; QEMUMachine ss_lx_machine = { @@ -1150,7 +1148,6 @@ QEMUMachine ss_lx_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, }; QEMUMachine ss4_machine = { @@ -1160,7 +1157,6 @@ QEMUMachine ss4_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, }; QEMUMachine scls_machine = { @@ -1170,7 +1166,6 @@ QEMUMachine scls_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, }; QEMUMachine sbook_machine = { @@ -1180,7 +1175,6 @@ QEMUMachine sbook_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, }; static const struct sun4d_hwdef sun4d_hwdefs[] = { @@ -1429,7 +1423,7 @@ QEMUMachine ss1000_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, + .max_cpus = 8, }; QEMUMachine ss2000_machine = { @@ -1439,7 +1433,7 @@ QEMUMachine ss2000_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, + .max_cpus = 20, }; static const struct sun4c_hwdef sun4c_hwdefs[] = { @@ -1643,6 +1637,5 @@ QEMUMachine ss2_machine = { .ram_require = PROM_SIZE_MAX + TCX_SIZE, .nodisk_ok = 1, .use_scsi = 1, - .max_cpus = 16, }; diff --git a/hw/sun4u.c b/hw/sun4u.c index 057d598..057e78f 100644 --- a/hw/sun4u.c +++ b/hw/sun4u.c @@ -588,7 +588,7 @@ QEMUMachine sun4u_machine = { .init = sun4u_init, .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE, .nodisk_ok = 1, - .max_cpus = 16, + .max_cpus = 1, // XXX for now }; QEMUMachine sun4v_machine = { @@ -597,7 +597,7 @@ QEMUMachine sun4v_machine = { .init = sun4v_init, .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE, .nodisk_ok = 1, - .max_cpus = 16, + .max_cpus = 1, // XXX for now }; QEMUMachine niagara_machine = { @@ -606,5 +606,5 @@ QEMUMachine niagara_machine = { .init = niagara_init, .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE, .nodisk_ok = 1, - .max_cpus = 16, + .max_cpus = 1, // XXX for now }; -- cgit v1.1