]> Git Repo - qemu.git/commitdiff
analyze-migration.py: fix a long standing typo
authorLaurent Vivier <[email protected]>
Fri, 15 Oct 2021 13:16:44 +0000 (15:16 +0200)
committerLaurent Vivier <[email protected]>
Sat, 23 Oct 2021 18:28:56 +0000 (20:28 +0200)
The parameters of '-d' can be either 'state' or 'desc', not 'dump'
as it is reported in the error message.

Fixes: b17425701d66 ("Add migration stream analyzation script")
Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20211015131645[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
scripts/analyze-migration.py

index d7177b212c86e826303bd93e74cb2578a2d768fa..9d239d309f3309944ab6de95ac6ff539bc432a66 100755 (executable)
@@ -610,4 +610,4 @@ elif args.dump == "desc":
     dump.read(desc_only = True)
     print(jsonenc.encode(dump.vmsd_desc))
 else:
-    raise Exception("Please specify either -x, -d state or -d dump")
+    raise Exception("Please specify either -x, -d state or -d desc")
This page took 0.027921 seconds and 4 git commands to generate.