From c57b2b348b2889ddcf94de5ccb147d40734345be Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sat, 11 Dec 2021 22:40:28 +0100 Subject: qemu: add debug logging --- src/tools/qemu.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/tools') 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=,mount_tag=someName,security_model=none ``` +## Debug logging + +```bash +# List debug items. +-d help + +# Write debug log to file instead stderr. +-D + +# Examples +-d in_asm Log executed guest instructions. +``` + ## Tracing ```bash -- cgit v1.2.3