diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2021-12-11 22:40:28 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2021-12-11 22:40:28 +0100 |
commit | c57b2b348b2889ddcf94de5ccb147d40734345be (patch) | |
tree | ac53f0f2141b2992455fc3b7dd74e4da85c61b9a /src | |
parent | 6660154d7eaae83f3e8765af8b93dcd651e05452 (diff) | |
download | notes-c57b2b348b2889ddcf94de5ccb147d40734345be.tar.gz notes-c57b2b348b2889ddcf94de5ccb147d40734345be.zip |
qemu: add debug logging
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/qemu.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tools/qemu.md b/src/tools/qemu.md index 93a724f..2a833e4 100644 --- a/src/tools/qemu.md +++ b/src/tools/qemu.md @@ -174,6 +174,19 @@ lsblk -f /dev/sda -virtfs local,id=someName,path=<someHostPath>,mount_tag=someName,security_model=none ``` +## Debug logging + +```bash +# List debug items. +-d help + +# Write debug log to file instead stderr. +-D <file> + +# Examples +-d in_asm Log executed guest instructions. +``` + ## Tracing ```bash |