qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] xen: Use conditional compilation for xen map ca


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] xen: Use conditional compilation for xen map cache (fixes w32 builds)
Date: Thu, 19 May 2011 16:22:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7

On 05/18/2011 08:27 PM, Stefano Stabellini wrote:
On Wed, 18 May 2011, Stefan Weil wrote:
The current implementation used stubs for systems without XEN.
This is unusual for QEMU and adds unneeded dependencies.

MinGW32 for example does not provide munmap(), so the XEN
code creates compiler warnings (missing prototype).
Compilations without optimisation even result in linker
errors (missing function).

Fix this by using conditional compilation.
After a conversation on IRC with Stefan I found out that most of the
problems are gone away after my recent "xen mapcache fixes and
improvements" patch series.

To completely solve the compilation issues with MinGW32 I just need to
remove two includes from xen-mapcache.h, so I am appending an updated
version of patch #3 "xen: remove xen_map_block and xen_unmap_block" to
do just that.

I have also pushed another git branch:

git://xenbits.xen.org/people/sstabellini/qemu-dm.git mapcache_fixes_2

So please resend v2 to the ML. From my POV the patches look ok, but I'd like to give others some more chance of commenting on them.


Alex




reply via email to

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