qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fixes related to processing of qemu's -numa opt


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] Fixes related to processing of qemu's -numa option
Date: Tue, 19 Jun 2012 22:51:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120506 Iceowl/1.0b1 Icedove/3.0.11

qemu-devel was no longer cc'ed, let us add it again.

Cheers,
Stefan

Am 19.06.2012 22:35, schrieb Eduardo Habkost:
On Tue, Jun 19, 2012 at 04:33:35AM -0700, Chegu Vinod wrote:
[...]
+#include<sched.h>
Did you check whether this and the macros you're using are available on
POSIX and mingw32? vl.c is a pretty central file.
POSIX, yes.  mingw32, no.  Use of preprocessor conditionals is probably
in order.
[...]
I started looking at this yesterday and quickly realized that even if
I did what I think Eric suggested (see below)
we won't be solving the underlying issue of going beyond 64VCPUs

#ifndef __MINGW32__

//use the macros

#else

// do without the macros...i.e. use current way (which goes upto 64way after
//   fixing the typecasting issue)

#endif


Looking for other suggestions (besides having to write our own flavor
of the the macros
from scratch).
You can use the bitmap functions at bitmap.{h,c} instead of cpu_set_t.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]