summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2014-09-25 21:07:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-26 13:35:08 +0200
commit541be9274e8ef227fb1b50ce124fd2cc2dce81a5 (patch)
tree7854d5e16bc0c653afc3126fa8a9b8c0639775e6 /configure
parenta697d240ff0f913da3f8cf082ed49acceccdd569 (diff)
downloadhqemu-541be9274e8ef227fb1b50ce124fd2cc2dce81a5.zip
hqemu-541be9274e8ef227fb1b50ce124fd2cc2dce81a5.tar.gz
kvm/valgrind: don't mark memory as initialized
since commit 7dda5dc82a77 ("migration: initialize RAM to zero") the guest memory is defined zero. No need to call valgrind on guest memory. This reverts commit 62fe83318d2f ("qemu: Use valgrind annotations to mark kvm guest memory as defined") thus speeding up kvm start if <includedir>/valgrind/valgrind.h is available. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 1a9daa5..f9c0926 100755
--- a/configure
+++ b/configure
@@ -3961,12 +3961,11 @@ else
fi
########################################
-# check if we have valgrind/valgrind.h and valgrind/memcheck.h
+# check if we have valgrind/valgrind.h
valgrind_h=no
cat > $TMPC << EOF
#include <valgrind/valgrind.h>
-#include <valgrind/memcheck.h>
int main(void) {
return 0;
}
OpenPOWER on IntegriCloud