aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-11 22:40:28 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-11 22:40:28 +0100
commitc57b2b348b2889ddcf94de5ccb147d40734345be (patch)
treeac53f0f2141b2992455fc3b7dd74e4da85c61b9a /src/tools
parent6660154d7eaae83f3e8765af8b93dcd651e05452 (diff)
downloadnotes-c57b2b348b2889ddcf94de5ccb147d40734345be.tar.gz
notes-c57b2b348b2889ddcf94de5ccb147d40734345be.zip
qemu: add debug logging
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qemu.md13
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