aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2021-10-15 15:16:44 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-10-23 20:28:56 +0200
commitf98d372aeff5109d2b5a3b858a51347e0ccd36b1 (patch)
tree4794b6a1644b8c058046370e777d842629b8ca40
parent1c3515ad59878ad249a61a4a952f1820a12afb83 (diff)
downloadqemu-f98d372aeff5109d2b5a3b858a51347e0ccd36b1.zip
qemu-f98d372aeff5109d2b5a3b858a51347e0ccd36b1.tar.gz
qemu-f98d372aeff5109d2b5a3b858a51347e0ccd36b1.tar.bz2
analyze-migration.py: fix a long standing typo
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 <lvivier@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211015131645.501281-2-lvivier@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rwxr-xr-xscripts/analyze-migration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/analyze-migration.py b/scripts/analyze-migration.py
index d7177b2..9d239d3 100755
--- a/scripts/analyze-migration.py
+++ b/scripts/analyze-migration.py
@@ -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")