From patchwork Sat Oct 23 18:31:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1545227 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hc96N0QHqz9s0r for ; Sun, 24 Oct 2021 05:41:32 +1100 (AEDT) Received: from localhost ([::1]:33142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meLxR-0001Zu-Qh for incoming@patchwork.ozlabs.org; Sat, 23 Oct 2021 14:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meLnx-0005H7-RY; Sat, 23 Oct 2021 14:31:43 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:60345) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meLns-0006Zw-Ap; Sat, 23 Oct 2021 14:31:40 -0400 Received: from quad ([82.142.24.54]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N2Unv-1mpBUr3Y23-013rKZ; Sat, 23 Oct 2021 20:31:31 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 10/11] analyze-migration.py: fix a long standing typo Date: Sat, 23 Oct 2021 20:31:22 +0200 Message-Id: <20211023183123.813116-11-laurent@vivier.eu> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211023183123.813116-1-laurent@vivier.eu> References: <20211023183123.813116-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:gh06F+74oA6StfovsGBNpmNQWQNQxicljU8ZhpCb/oP1DHJDoK8 MJfwckMAxCUOI8d071lZlFdpLMp8DyfM3eMjOkp56sl/ZKRSGcLgTnJMC1EVZ7kfuhV8JlJ hRLK65hClCdsOsBYGXMjZK2nXicKeqEcQsWt2OLE2SBohDyM8zNU9g/E1sfGh5Gj0wInpEt ZmG5y1NuS2KkJ+f3rBS/A== X-UI-Out-Filterresults: notjunk:1;V03:K0:/0Jaj9Cwajk=:+3LF5aEWV44siaLIWI8Ky0 bjRNbcr0yP7+EWA2Lt40Vi8vDpCTn7H7NsIpuOYcWSdJXCtyiaF+zugClcbQaTQiuyOnTdXRM w4/Dav0QX7pGFkr8f6IxyFy5bTdB6LTIDB4C90TtPzlJVEfUNb34I/jpYsrmU4ZFf5koeIJeN 4rNVg1FtXu57c75bLUbZorvDK3/B2dYK80aGIlPVWQn13awL4I92BQ/1FM6qG2dWgNqp+UAqQ xE4hV2QgzEOtuI2HPQXm+uMBLO/MoYIYV0HFn9mpEbx6+1S5tIJ/bjJviFPuPLpcL9HZPqSlI TmrY0QRu+rQTlPXc0w6feszmf7UKkJInZjJk2E4BWWCXWN/ea8IZMBR1BOW15C2MQ4LTI90bK m3xCsfcH6i0Jm02Xa8UfoDp2qv2PeunNWg2r35pTeNtGyCi04bWoakVBO7YHHMJPjyUoiZ9jS +p3VGvkuWJgK/2ZmuAhhQwgIUezPzrFR81V5g1kh4rjCmBedbkbNrXYNyxTbAUYXu6fLV+N57 jP/x8rD6h/SVRGqA58pE5q/v7xIJ3GQgyXymm6ucw2m9/rMn4WA1czUXUVLLmjDWtryvmxVUc 9EoKmj+7CHLpn4mP+DYxyBRfG9LA+voPQdv7p/DQpTGZ2v2H+bjtdIkvjTqufK/SmMSLM1+yH jvXvNr55pz2Z8TAkjP5q+BaB+cKFickbdqljZ/qK1N+qCFd6nPvYaIIU3Q/3Bqc7sIuY= Received-SPF: none client-ip=212.227.126.187; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Laurent Vivier 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 Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20211015131645.501281-2-lvivier@redhat.com> Signed-off-by: Laurent Vivier --- scripts/analyze-migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/analyze-migration.py b/scripts/analyze-migration.py index d7177b212c86..9d239d309f33 100755 --- a/scripts/analyze-migration.py +++ b/scripts/analyze-migration.py @@ -610,4 +610,4 @@ def default(self, o): 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")