search for: qemu_madv_invalid

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

2011 Aug 23
0
qemu-kvm-0.15 + CentOS 5.6 + vanilla 2.6.35.14 (working, patch included)
...08-19 11:17:18.000000000 +0200 @@ -10,6 +10,11 @@ #include <sys/time.h> +#include <asm-generic/mman-common.h> +#ifndef MADV_MERGEABLE +#error MADV_MERGEABLE undefined +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, 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_DONTF...