diff mbox series

docs/devel/migration: Improve debugging section a bit

Message ID 20201217071450.701909-1-armbru@redhat.com (mailing list archive)
State New, archived
Headers show
Series docs/devel/migration: Improve debugging section a bit | expand

Commit Message

Markus Armbruster Dec. 17, 2020, 7:14 a.m. UTC
Fix typos, and make the example work out of the box.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 docs/devel/migration.rst | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Comments

Dr. David Alan Gilbert Dec. 17, 2020, 11:58 a.m. UTC | #1
* Markus Armbruster (armbru@redhat.com) wrote:
> Fix typos, and make the example work out of the box.
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>

Thanks,

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

and queued.

> ---
>  docs/devel/migration.rst | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
> 
> diff --git a/docs/devel/migration.rst b/docs/devel/migration.rst
> index 49112bb27a..ad381b89b2 100644
> --- a/docs/devel/migration.rst
> +++ b/docs/devel/migration.rst
> @@ -53,22 +53,23 @@ savevm/loadvm functionality.
>  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:
>  
>  .. code-block:: shell
>  
> -  $ qemu-system-x86_64
> -   (qemu) migrate "exec:cat > mig"
> -  $ ./scripts/analyze_migration.py -f mig
> +  $ qemu-system-x86_64 -display none -monitor stdio
> +  (qemu) migrate "exec:cat > mig"
> +  (qemu) q
> +  $ ./scripts/analyze-migration.py -f mig
>    {
>      "ram (3)": {
>          "section sizes": {
>              "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
>  =====================
> -- 
> 2.26.2
>
diff mbox series

Patch

diff --git a/docs/devel/migration.rst b/docs/devel/migration.rst
index 49112bb27a..ad381b89b2 100644
--- a/docs/devel/migration.rst
+++ b/docs/devel/migration.rst
@@ -53,22 +53,23 @@  savevm/loadvm functionality.
 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:
 
 .. code-block:: shell
 
-  $ qemu-system-x86_64
-   (qemu) migrate "exec:cat > mig"
-  $ ./scripts/analyze_migration.py -f mig
+  $ qemu-system-x86_64 -display none -monitor stdio
+  (qemu) migrate "exec:cat > mig"
+  (qemu) q
+  $ ./scripts/analyze-migration.py -f mig
   {
     "ram (3)": {
         "section sizes": {
             "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
 =====================