qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt
@ 2014-08-21 14:51 Wei Huang
  2014-08-21 14:59 ` Joel Schopp
  0 siblings, 1 reply; 3+ messages in thread
From: Wei Huang @ 2014-08-21 14:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, kvmarm, wehuang

Current ARM virt model supports up to 4 CPUs. Given that many recent
ARM servers contain 8 or more cores, it is time to bump up max guest CPUs
to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8
VCPUs showed up.

Signed-off-by: Wei Huang <wehuang@redhat.com>
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index ba94298..73a2a0f 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = {
     .name = "virt",
     .desc = "ARM Virtual Machine",
     .init = machvirt_init,
-    .max_cpus = 4,
+    .max_cpus = 8,
 };
 
 static void machvirt_machine_init(void)
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt
  2014-08-21 14:51 [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt Wei Huang
@ 2014-08-21 14:59 ` Joel Schopp
  2014-08-21 15:08   ` Wei Huang
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Schopp @ 2014-08-21 14:59 UTC (permalink / raw)
  To: Wei Huang, qemu-devel; +Cc: peter.maydell, kvmarm


On 08/21/2014 09:51 AM, Wei Huang wrote:
> Current ARM virt model supports up to 4 CPUs. Given that many recent
> ARM servers contain 8 or more cores, it is time to bump up max guest CPUs
> to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8
> VCPUs showed up.
>
> Signed-off-by: Wei Huang <wehuang@redhat.com>
Great minds think alike :)
http://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg03306.html


> ---
>   hw/arm/virt.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> index ba94298..73a2a0f 100644
> --- a/hw/arm/virt.c
> +++ b/hw/arm/virt.c
> @@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = {
>       .name = "virt",
>       .desc = "ARM Virtual Machine",
>       .init = machvirt_init,
> -    .max_cpus = 4,
> +    .max_cpus = 8,
>   };
>   
>   static void machvirt_machine_init(void)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt
  2014-08-21 14:59 ` Joel Schopp
@ 2014-08-21 15:08   ` Wei Huang
  0 siblings, 0 replies; 3+ messages in thread
From: Wei Huang @ 2014-08-21 15:08 UTC (permalink / raw)
  To: Joel Schopp, qemu-devel; +Cc: peter.maydell, kvmarm


On 08/21/2014 09:59 AM, Joel Schopp wrote:
>
> On 08/21/2014 09:51 AM, Wei Huang wrote:
>> Current ARM virt model supports up to 4 CPUs. Given that many recent
>> ARM servers contain 8 or more cores, it is time to bump up max guest CPUs
>> to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8
>> VCPUs showed up.
>>
>> Signed-off-by: Wei Huang <wehuang@redhat.com>
> Great minds think alike :)
> http://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg03306.html
Oops, I missed this one. Thanks for pointing it out. :P

>
>
>> ---
>>   hw/arm/virt.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
>> index ba94298..73a2a0f 100644
>> --- a/hw/arm/virt.c
>> +++ b/hw/arm/virt.c
>> @@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = {
>>       .name = "virt",
>>       .desc = "ARM Virtual Machine",
>>       .init = machvirt_init,
>> -    .max_cpus = 4,
>> +    .max_cpus = 8,
>>   };
>>   static void machvirt_machine_init(void)
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-21 15:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-21 14:51 [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt Wei Huang
2014-08-21 14:59 ` Joel Schopp
2014-08-21 15:08   ` Wei Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).