search for: qemu_madv_dontfork

Displaying 1 result from an estimated 1 matches for "qemu_madv_dontfork".

2011 Aug 23
0
qemu-kvm-0.15 + CentOS 5.6 + vanilla 2.6.35.14 (working, patch included)
...y) xglue(x, y) @@ -95,6 +100,11 @@ #define QEMU_MADV_INVALID -1 +#include "config-host.h" +#ifndef CONFIG_MADVISE +#error CONFIG_MADVISE undefined +#endif + #if defined(CONFIG_MADVISE) #define QEMU_MADV_WILLNEED MADV_WILLNEED @@ -102,11 +112,13 @@ #ifdef MADV_DONTFORK #define QEMU_MADV_DONTFORK MADV_DONTFORK #else +#error QEMU_MADV_DONTFORK undefined #define QEMU_MADV_DONTFORK QEMU_MADV_INVALID #endif #ifdef MADV_MERGEABLE #define QEMU_MADV_MERGEABLE MADV_MERGEABLE #else +#error MADV_MERGEABLE undefined #define QEMU_MADV_MERGEABLE QEMU_MADV_INVALID #endif --- qemu-kvm-0.15.0/qem...