[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] docs/devel/migration: start a debugging section
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH] docs/devel/migration: start a debugging section |
Date: |
Thu, 7 May 2020 15:48:09 +0100 |
User-agent: |
Mutt/1.13.4 (2020-02-15) |
* Marc-André Lureau (address@hidden) wrote:
> Explain how to use analyze-migration.py, this may help.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
Queued
> ---
> docs/devel/migration.rst | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/docs/devel/migration.rst b/docs/devel/migration.rst
> index e88918f7639..2eb08624fc3 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
> =====================
>
> --
> 2.26.0.rc2.42.g98cedd0233
>
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] docs/devel/migration: start a debugging section,
Dr. David Alan Gilbert <=