qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 3/3] ppc/spapr: Fix MAX_CPUS to 255
@ 2014-06-27  6:47 Nikunj A Dadhania
  2014-07-11  4:28 ` Nikunj A Dadhania
  2014-07-28 13:41 ` Alexander Graf
  0 siblings, 2 replies; 3+ messages in thread
From: Nikunj A Dadhania @ 2014-06-27  6:47 UTC (permalink / raw)
  To: qemu-devel, agraf; +Cc: aik, qemu-ppc, nikunj

MAX_CPUS 256 is inconsistent with qemu supporting upto 255 cpus. This
MAX_CPUS number was percolated back to "virsh capabilities" with wrong
max_cpus.

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
---
 hw/ppc/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 33f77d2..eab0f5f 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -79,7 +79,7 @@
 
 #define TIMEBASE_FREQ           512000000ULL
 
-#define MAX_CPUS                256
+#define MAX_CPUS                255
 
 #define PHANDLE_XICP            0x00001111
 
-- 
1.8.3.1

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

* Re: [Qemu-devel] [PATCH 3/3] ppc/spapr: Fix MAX_CPUS to 255
  2014-06-27  6:47 [Qemu-devel] [PATCH 3/3] ppc/spapr: Fix MAX_CPUS to 255 Nikunj A Dadhania
@ 2014-07-11  4:28 ` Nikunj A Dadhania
  2014-07-28 13:41 ` Alexander Graf
  1 sibling, 0 replies; 3+ messages in thread
From: Nikunj A Dadhania @ 2014-07-11  4:28 UTC (permalink / raw)
  To: qemu-devel, agraf; +Cc: qemu-ppc, aik

Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> writes:

> MAX_CPUS 256 is inconsistent with qemu supporting upto 255 cpus. This
> MAX_CPUS number was percolated back to "virsh capabilities" with wrong
> max_cpus.

Agraf, ping

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

* Re: [Qemu-devel] [PATCH 3/3] ppc/spapr: Fix MAX_CPUS to 255
  2014-06-27  6:47 [Qemu-devel] [PATCH 3/3] ppc/spapr: Fix MAX_CPUS to 255 Nikunj A Dadhania
  2014-07-11  4:28 ` Nikunj A Dadhania
@ 2014-07-28 13:41 ` Alexander Graf
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Graf @ 2014-07-28 13:41 UTC (permalink / raw)
  To: Nikunj A Dadhania, qemu-devel; +Cc: aik, qemu-ppc


On 27.06.14 08:47, Nikunj A Dadhania wrote:
> MAX_CPUS 256 is inconsistent with qemu supporting upto 255 cpus. This
> MAX_CPUS number was percolated back to "virsh capabilities" with wrong
> max_cpus.
>
> Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>

Nice one :). Thanks, applied to ppc-next-2.2.


Alex

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

end of thread, other threads:[~2014-07-28 13:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-27  6:47 [Qemu-devel] [PATCH 3/3] ppc/spapr: Fix MAX_CPUS to 255 Nikunj A Dadhania
2014-07-11  4:28 ` Nikunj A Dadhania
2014-07-28 13:41 ` Alexander Graf

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).