diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-03-30 19:48:52 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-05-07 17:40:24 +0100 |
commit | 979da8b357903ee8a43017cbf640f43460d1e2f0 (patch) | |
tree | 83d92d4751ad3a876a357f67a10ce56f9701baac /docs | |
parent | 7ac5529afba7b4e9c4d9d1cbeb2b607208af97c1 (diff) | |
download | qemu-979da8b357903ee8a43017cbf640f43460d1e2f0.zip qemu-979da8b357903ee8a43017cbf640f43460d1e2f0.tar.gz qemu-979da8b357903ee8a43017cbf640f43460d1e2f0.tar.bz2 |
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>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/devel/migration.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/devel/migration.rst b/docs/devel/migration.rst index e88918f..2eb0862 100644 --- a/docs/devel/migration.rst +++ b/docs/devel/migration.rst @@ -50,6 +50,26 @@ All these migration protocols use the same infrastructure to save/restore state devices. This infrastructure is shared with the savevm/loadvm functionality. +Debugging +========= + +The migration stream can be analyzed thanks to `scripts/analyze_migration.py`. + +Example usage: + +.. code-block:: shell + + $ qemu-system-x86_64 + (qemu) migrate "exec:cat > mig" + $ ./scripts/analyze_migration.py -f mig + { + "ram (3)": { + "section sizes": { + "pc.ram": "0x0000000008000000", + ... + +See also ``analyze_migration.py -h`` help for more options. + Common infrastructure ===================== |