qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

docs/devel/migration: start a debugging section

Explain how to use analyze-migration.py, this may help.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200330174852.456148-1-marcandre.lureau@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

authored by

Marc-André Lureau and committed by
Dr. David Alan Gilbert
979da8b3 7ac5529a

+20
+20
docs/devel/migration.rst
··· 50 50 save/restore state devices. This infrastructure is shared with the 51 51 savevm/loadvm functionality. 52 52 53 + Debugging 54 + ========= 55 + 56 + The migration stream can be analyzed thanks to `scripts/analyze_migration.py`. 57 + 58 + Example usage: 59 + 60 + .. code-block:: shell 61 + 62 + $ qemu-system-x86_64 63 + (qemu) migrate "exec:cat > mig" 64 + $ ./scripts/analyze_migration.py -f mig 65 + { 66 + "ram (3)": { 67 + "section sizes": { 68 + "pc.ram": "0x0000000008000000", 69 + ... 70 + 71 + See also ``analyze_migration.py -h`` help for more options. 72 + 53 73 Common infrastructure 54 74 ===================== 55 75