From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRTyy-0000XK-DX for qemu-devel@nongnu.org; Thu, 25 Oct 2012 16:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRTyx-0007dl-2K for qemu-devel@nongnu.org; Thu, 25 Oct 2012 16:24:48 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:56146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRTyw-0007cD-Sb for qemu-devel@nongnu.org; Thu, 25 Oct 2012 16:24:47 -0400 Message-ID: <5089A008.8030202@weilnetz.de> Date: Thu, 25 Oct 2012 22:24:40 +0200 From: Stefan Weil MIME-Version: 1.0 References: <20121024141215.737e0f2a@doriath.home> In-Reply-To: <20121024141215.737e0f2a@doriath.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] win32: fix broken build due to missing QEMU_MADV_HUGEPAGE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino , aliguori@us.ibm.com Cc: Kevin Wolf , qemu-devel Am 24.10.2012 18:12, schrieb Luiz Capitulino: > Commit ad0b5321f1f797274603ebbe20108b0750baee94 forgot to add > QEMU_MADV_HUGEPAGE macros for when CONFIG_MADVISE is not defined. > This broke the build for Windows. Fix it. > > Signed-off-by: Luiz Capitulino > --- > osdep.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/osdep.h b/osdep.h > index c5fd3d9..585e2c1 100644 > --- a/osdep.h > +++ b/osdep.h > @@ -121,6 +121,7 @@ void qemu_vfree(void *ptr); > #define QEMU_MADV_DONTFORK QEMU_MADV_INVALID > #define QEMU_MADV_MERGEABLE QEMU_MADV_INVALID > #define QEMU_MADV_DONTDUMP QEMU_MADV_INVALID > +#define QEMU_MADV_HUGEPAGE QEMU_MADV_INVALID > > #else /* no-op */ > > @@ -129,6 +130,7 @@ void qemu_vfree(void *ptr); > #define QEMU_MADV_DONTFORK QEMU_MADV_INVALID > #define QEMU_MADV_MERGEABLE QEMU_MADV_INVALID > #define QEMU_MADV_DONTDUMP QEMU_MADV_INVALID > +#define QEMU_MADV_HUGEPAGE QEMU_MADV_INVALID > > #endif > Reviewed-by: Stefan Weil This is a build fix for latest QEMU. Please apply it as soon as possible. Regards Stefan Weil