Re: [Qemu-devel] [PATCH 4/4] Support more than 255 cpus: runtime check

2014-05-15 Thread Max Filippov
On Thu, May 15, 2014 at 11:16 AM, Li, ZhenHua wrote: > Maybe it should be 4 bytes for 4096 (0x1000). I'd say that 2 bytes should be enough, but actually I don't see why anybody would care in that function how many bytes it is. > On 05/13/2014 04:19 PM, Max Filippov wrote: >> >> On Tue, May 13, 2

Re: [Qemu-devel] [PATCH 4/4] Support more than 255 cpus: runtime check

2014-05-15 Thread Li, ZhenHua
Maybe it should be 4 bytes for 4096 (0x1000). On 05/13/2014 04:19 PM, Max Filippov wrote: On Tue, May 13, 2014 at 11:09 AM, Li, Zhen-Hua wrote: From: "Li, ZhenHua" There is some runtime check for max cpu count. Make them support 4096 cpus. Signed-off-by: Li, ZhenHua --- hw/i386/acpi-buil

Re: [Qemu-devel] [PATCH 4/4] Support more than 255 cpus: runtime check

2014-05-13 Thread Max Filippov
On Tue, May 13, 2014 at 11:09 AM, Li, Zhen-Hua wrote: > From: "Li, ZhenHua" > > There is some runtime check for max cpu count. Make them support 4096 cpus. > > Signed-off-by: Li, ZhenHua > --- > hw/i386/acpi-build.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git

[Qemu-devel] [PATCH 4/4] Support more than 255 cpus: runtime check

2014-05-13 Thread Li, Zhen-Hua
From: "Li, ZhenHua" There is some runtime check for max cpu count. Make them support 4096 cpus. Signed-off-by: Li, ZhenHua --- hw/i386/acpi-build.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index c98df88..5c3bf10 100