qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/i386: Fix broken build for MinGW


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] hw/i386: Fix broken build for MinGW
Date: Mon, 07 Jan 2013 18:16:51 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121215 Iceowl/1.0b1 Icedove/3.0.11

Am 07.01.2013 09:35, schrieb Gerd Hoffmann:
On 01/04/13 22:57, Stefan Weil wrote:
pc-testdev.c cannot be compiled with MinGW:

   CC    i386-softmmu/hw/i386/../pc-testdev.o
hw/i386/../pc-testdev.c:38:22: warning: sys/mman.h: file not found
hw/i386/../pc-testdev.c: In function ‘test_flush_page’:
hw/i386/../pc-testdev.c:103: warning: implicit declaration of function 
‘mprotect’
...

+obj-$(CONFIG_KVM) += pc-testdev.o

CONFIG_POSIX is the better choice I think.

cheers,
   Gerd

I agree.

This patch was superseded by a newer one which indeed uses
CONFIG_POSIX and was applied by Blue, see

http://patchwork.ozlabs.org/patch/209653/

Cheers,
Stefan




reply via email to

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