[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 8/9] Consolidate oom_check() functions
From: |
Jes Sorensen |
Subject: |
[Qemu-devel] Re: [PATCH 8/9] Consolidate oom_check() functions |
Date: |
Mon, 18 Oct 2010 09:18:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4 |
On 10/16/10 21:02, Blue Swirl wrote:
> On Sat, Oct 16, 2010 at 4:04 PM, <address@hidden> wrote:
>> From: Jes Sorensen <address@hidden>
>>
>> This consolidates the duplicated oom_check() functions, as well as
>> splitting them into OS dependant versions to avoid the #ifdef
>> grossness that was present in the old osdep.c version.
>
> This would break user emulators:
> LINK i386-linux-user/qemu-i386
> qemu-malloc.o: In function `qemu_realloc':
> /src/qemu/qemu-malloc.c:60: undefined reference to `qemu_oom_check'
> qemu-malloc.o: In function `qemu_malloc':
> /src/qemu/qemu-malloc.c:49: undefined reference to `qemu_oom_check'
> qemu-malloc.o: In function `qemu_mallocz':
> /src/qemu/qemu-malloc.c:70: undefined reference to `qemu_oom_check'
> collect2: ld returned 1 exit status
I'll have a look.
Thanks,
Jes
- [Qemu-devel] [PATCH 4/9] We only support eventfd under POSIX, move qemu_eventfd() to os-posix.c, (continued)
- [Qemu-devel] [PATCH 4/9] We only support eventfd under POSIX, move qemu_eventfd() to os-posix.c, Jes . Sorensen, 2010/10/16
- [Qemu-devel] [PATCH 3/9] qemu_pipe() is used only by POSIX code, so move to oslib-posix.c, Jes . Sorensen, 2010/10/16
- [Qemu-devel] [PATCH 6/9] Do not redefine reserved key-words TRUE/FALSE, Jes . Sorensen, 2010/10/16
- [Qemu-devel] [PATCH 5/9] Move qemu_gettimeofday() to OS specific files, Jes . Sorensen, 2010/10/16
- [Qemu-devel] [PATCH 7/9] Separate qemu_pidfile() into OS specific versions, Jes . Sorensen, 2010/10/16
- [Qemu-devel] [PATCH 9/9] Remove unncessary includes, Jes . Sorensen, 2010/10/16
- [Qemu-devel] [PATCH 8/9] Consolidate oom_check() functions, Jes . Sorensen, 2010/10/16