Documentation/Debugging

From QEMU
Revision as of 14:41, 20 May 2010 by AnthonyLiguori (talk | contribs) (Created page with '== Using valgrind == You can use [http://www.valgrind.org valgrind] to detect memory corruption and leaks within QEMU. valgrind really doesn't function well when using KVM so i…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using valgrind

You can use valgrind to detect memory corruption and leaks within QEMU. valgrind really doesn't function well when using KVM so it's advised to use TCG. Additionally, you will need to use the --smc-check=all option to instruct valgrind to detect self-modifying which TCG makes extensive use of.