Consolidate oom_check() functions
commitb152aa84d52882bb1846485a89baf13aa07c86bc
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 26 Oct 2010 08:39:26 +0000 (26 10:39 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 30 Oct 2010 08:02:39 +0000 (30 08:02 +0000)
treeef36c582e3567543bed0f8d81c5622d2f4e8052a
parentbc4a957c46acd8f4b2f2ffe6b2f90512325924dd
Consolidate oom_check() functions

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.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Makefile.target
oslib-posix.c
oslib-win32.c
qemu-common.h
qemu-malloc.c