aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-01-17 12:14:37 -0500
committerThanos <tmakatos@gmail.com>2020-01-20 11:28:33 +0000
commitd25a5fc839394fdd00bf31fb861d21990df7a52a (patch)
tree32da9440680fb2567d66e547e090a2e7dc14e964 /README.md
parentf0ef985746d853d0a6f92ea140888ffc6d064ece (diff)
downloadlibvfio-user-d25a5fc839394fdd00bf31fb861d21990df7a52a.zip
libvfio-user-d25a5fc839394fdd00bf31fb861d21990df7a52a.tar.gz
libvfio-user-d25a5fc839394fdd00bf31fb861d21990df7a52a.tar.bz2
explain how to enable VFIO tracing in QEMU
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index bc75b54..a4af5da 100644
--- a/README.md
+++ b/README.md
@@ -177,3 +177,8 @@ If you get the following error when starting QEMU:
qemu-system-x86_64: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/00000000-0000-0000-0000-000000000000: vfio 00000000-0000-0000-0000-000000000000: failed to read device config space: Bad address
it might mean that you haven't properly patched your kernel.
+
+To debug accesses to your PCI device from QEMU add the following to the QEMU
+command line:
+
+ -trace enable=vfio*,file=qemu-vfio.trace