[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch 2/2] machine struct - specify max_cpus at the pe
From: |
andrzej zaborowski |
Subject: |
Re: [Qemu-devel] [patch 2/2] machine struct - specify max_cpus at the per machine level |
Date: |
Tue, 7 Oct 2008 23:30:17 +0200 |
2008/10/6 Jes Sorensen <address@hidden>:
> --- qemu.orig/hw/an5206.c
> +++ qemu/hw/an5206.c
> @@ -92,4 +92,5 @@ QEMUMachine an5206_machine = {
> .desc = "Arnewsh 5206",
> .init = an5206_init,
> .ram_require = 512,
> + .max_cpus = 1,
> };
No machine has 0 cpus so there's no point specifying = 1 in every
machine instead of making it the default. The other fields were
thought so that they don't have to be specified except for non-default
values.
Cheers