On Sat, Jan 19, 2013 at 10:17 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 18/01/2013 19:03, Andreas Färber ha scritto: >> I believe this broke bsd-user: util/oslib-posix.c has qemu_vmalloc() >> guarded with >> #if !defined(CONFIG_BSD_USER) >> which now no longer shields it from the qemu_vmalloc() reimplementation >> in bsd-user/mmap.c. >> >> Any suggestion how to fix? > > Does the function really needs to be called qemu_vmalloc? If not, > having the same name for two different things is bad.
I've just sent a patch to fix this. But new code could be introduced that used qemu_vmalloc() so I'm not sure this approach is the best. > > Paolo