diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-01-17 12:14:37 -0500 |
---|---|---|
committer | Thanos <tmakatos@gmail.com> | 2020-01-20 11:28:33 +0000 |
commit | d25a5fc839394fdd00bf31fb861d21990df7a52a (patch) | |
tree | 32da9440680fb2567d66e547e090a2e7dc14e964 /README.md | |
parent | f0ef985746d853d0a6f92ea140888ffc6d064ece (diff) | |
download | libvfio-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.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |