mirror of https://github.com/xemu-project/xemu.git
docs/devel/migration: Improve debugging section a bit
Fix typos, and make the example work out of the box. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201217071450.701909-1-armbru@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
03350a1e8d
commit
243e7480d5
|
@ -53,22 +53,23 @@ savevm/loadvm functionality.
|
||||||
Debugging
|
Debugging
|
||||||
=========
|
=========
|
||||||
|
|
||||||
The migration stream can be analyzed thanks to `scripts/analyze_migration.py`.
|
The migration stream can be analyzed thanks to `scripts/analyze-migration.py`.
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
$ qemu-system-x86_64
|
$ qemu-system-x86_64 -display none -monitor stdio
|
||||||
(qemu) migrate "exec:cat > mig"
|
(qemu) migrate "exec:cat > mig"
|
||||||
$ ./scripts/analyze_migration.py -f mig
|
(qemu) q
|
||||||
|
$ ./scripts/analyze-migration.py -f mig
|
||||||
{
|
{
|
||||||
"ram (3)": {
|
"ram (3)": {
|
||||||
"section sizes": {
|
"section sizes": {
|
||||||
"pc.ram": "0x0000000008000000",
|
"pc.ram": "0x0000000008000000",
|
||||||
...
|
...
|
||||||
|
|
||||||
See also ``analyze_migration.py -h`` help for more options.
|
See also ``analyze-migration.py -h`` help for more options.
|
||||||
|
|
||||||
Common infrastructure
|
Common infrastructure
|
||||||
=====================
|
=====================
|
||||||
|
|
Loading…
Reference in New Issue