|
From: | Andreas Färber |
Subject: | [Qemu-devel] Re: [HaikuPorts-devs] [PATCH 0/8] Add Haiku host support |
Date: | Tue, 21 Sep 2010 22:54:47 +0200 |
Am 20.09.2010 um 21:04 schrieb Ingo Weinhold:
On 2010-09-20 at 00:50:42 [+0200], Andreas Färber <address@hidden > wrote:The following patch series together with qemu_madvise() allows to build andrun QEMU on Haiku, using GCC 4.x. Patches 1-5 add support for Haiku hosts to build ppc-softmmu.They are based on qemu_madvise() v7, since Haiku does not have madvise(),but they do not depend on it themselves so could be cherry-picked.I didn't spot anything related to madvise() in any of the patches.
My saying. :)
Anyway, Haiku does have posix_madvise(), which, unlike madvise(), is part of POSIX.
...which is exactly what qemu_madvise() takes care of, using a configure check.
http://repo.or.cz/w/qemu/afaerber.git/commit/e88131d2177cf12dba99c13fe5ff6a21d8fb7dc1Unfortunately posix_madvise() doesn't supply us with the full spectrum of advice flags KVM needs, so we can't prefer it over madvise() despite being part of POSIX.
Regards, Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |