[Qemu-devel] Re: [PATCH v5] Introduce qemu_madvise()

2010-09-14 Thread Andreas Färber
Am 14.09.2010 um 22:36 schrieb Blue Swirl: On Tue, Sep 14, 2010 at 8:28 PM, Andreas Färber > wrote: diff --git a/osdep.h b/osdep.h index 1cdc7e2..6fb4ff3 100644 --- a/osdep.h +++ b/osdep.h @@ -90,6 +90,41 @@ void *qemu_memalign(size_t alignment, size_t size); void *qemu_vmalloc(size_t size);

[Qemu-devel] Re: [PATCH v5] Introduce qemu_madvise()

2010-09-14 Thread Blue Swirl
On Tue, Sep 14, 2010 at 8:28 PM, Andreas Färber wrote: > From: Andreas Färber > > vl.c has a Sun-specific hack to supply a prototype for madvise(), > but the call site has apparently moved to arch_init.c. > > Haiku doesn't implement madvise() in favor of posix_madvise(). > OpenBSD and Solaris 10