Message ID | 20180212153715.87555-28-brijesh.singh@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B6A0360467 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 12 Feb 2018 16:04:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4D91283B0 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 12 Feb 2018 16:04:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 978F928731; Mon, 12 Feb 2018 16:04:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1BD4B283B0 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 12 Feb 2018 16:04:50 +0000 (UTC) Received: from localhost ([::1]:46113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1elGb3-0000S3-Mm for patchwork-qemu-devel@patchwork.kernel.org; Mon, 12 Feb 2018 11:04:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <brijesh.singh@amd.com>) id 1elGC0-0003sC-98 for qemu-devel@nongnu.org; Mon, 12 Feb 2018 10:38:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <brijesh.singh@amd.com>) id 1elGBw-0004nD-IS for qemu-devel@nongnu.org; Mon, 12 Feb 2018 10:38:56 -0500 Received: from mail-by2nam01on0060.outbound.protection.outlook.com ([104.47.34.60]:31684 helo=NAM01-BY2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <brijesh.singh@amd.com>) id 1elGBw-0004m5-7e for qemu-devel@nongnu.org; Mon, 12 Feb 2018 10:38:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Nn+/0SEHpv0lms7dFXmni9W1D7lLL0vtH+cH2gR3HgI=; b=4h1xIuPLDz0tpg1A32dG//kEKXAwlRnlBHYqtnWmSgu7jdAHrtFRNAGy3NcXJET0F4hL50SZ0NfT1ZtyP/0o5K012WpVRbXkrv6OIcTnXkuXXcBttbMTbbFiww++/gQ40cV5BUtVXZX2jn0nQ62K/XGOUi/yO28EgeZqpuApPrA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from wsp141597wss.amd.com (165.204.78.1) by BY2PR12MB0146.namprd12.prod.outlook.com (10.162.82.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Mon, 12 Feb 2018 15:38:47 +0000 From: Brijesh Singh <brijesh.singh@amd.com> To: qemu-devel@nongnu.org Date: Mon, 12 Feb 2018 09:37:14 -0600 Message-ID: <20180212153715.87555-28-brijesh.singh@amd.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180212153715.87555-1-brijesh.singh@amd.com> References: <20180212153715.87555-1-brijesh.singh@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: SN4PR0801CA0004.namprd08.prod.outlook.com (10.161.215.142) To BY2PR12MB0146.namprd12.prod.outlook.com (10.162.82.19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7977dfc9-c8b5-4ac5-9bec-08d5722eb603 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BY2PR12MB0146; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0146; 3:DJ+lu+9uIjHKzBrAEMuqwlL1EG2LXb3BF+f2bJ+BoNZcM883W+sU/9cRKaORrd0fFtoRjm9r1DobMFy/6SoqSnM+BB0cKirUc0B1MVJxbqthbfa/Dcc/sYDJN3uQi3xOP9UlqyncaQPYu3qzTAEolvXB7H8DoNGoYWRub8Wx4CIljhGlB7KcLcJIaU9Tpc3m8mLmdFtviIfeFt5gGJi7gg92sz/qDi5+lFJsjfEmzV//dMIdgAoImkXBwsk9qhWZ; 25:lXXVl32/Gx5M64fz3snD8l06SC29R4EHfcBFBw/LQPvVUIehvrZA+VRIBqRRH2O1A/EWGhQJ3ZbEaPxoi76Bw/XdQhhy0G9VmdsgFAI6MHiLEETlHchn4aaDggpNEc0E6EvmbFAGkuAOXncGovv4xOcwiueuM3yerv61UjiRAGcOh3hpbc/0904mafVFI9oA42TT5GrWzb2jjMUokUq+1k2bjFQAXUYrncVzcEOe25w6xV0XtoOdIyWrkf/KVEkwdlyWPyOmaxOttNcm14whiObUE47hpVGJi9HeaRmzAZRbm+aU9dtp6cH3iXSUCNIMW1Tz5oIE7bqSkHZBbr52cA==; 31:a71Jmy9FyXgRRv8+PpH7nmlPSoMjdvUsXk0KuTrzEhIdUETC8Xx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Jdhs0whc X-Microsoft-Antispam-PRVS: <BY2PR12MB014655567CEF38A5116672C7E5F70@BY2PR12MB0146.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231101)(2400082)(944501161)(6055026)(6041288)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:BY2PR12MB0146; BCL:0; PCL:0; RULEID:; SRVR:BY2PR12MB0146; X-Forefront-PRVS: 0581B5AB35 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(1496009)(39380400002)(39860400002)(346002)(396003)(366004)(376002)(199004)(189003)(25786009)(53416004)(66066001)(8676002)(7416002)(105586002)(59450400001)(81156014)(76176011)(81166006)(5660300001)(97736004)(186003)(16526019)(8936002)(106356001)(50226002)(575784001)(2361001)(6116002)(3846002)(47776003)(305945005)(1076002)(86362001)(26005)(2351001)(7736002)(478600001)(36756003)(4326008)(2906002)(53936002)(6666003)(2950100002)(8656006)(52116002)(6486002)(39060400002)(68736007)(54906003)(7696005)(23676004)(386003)(316002)(6916009)(50466002)(8666007)(2870700001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0146; H:wsp141597wss.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0146; 23:zJIDISKkN+4QPf2KlzZxNODqxhqgvgmWAMkqoZD9G?= =?us-ascii?Q?4rXgFJejVDasH++RXP0pzv0vnyQsbR0tpu1uaQqiIKE5SfedAY4ABY3dXng9?= =?us-ascii?Q?4aH9Rr4fz3F4XCge86iphcLaR0oIm4Q+vaCINgneOzS3C9LqPE49JucqXl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ycvQ/QyifhysuXhxItA5VP6rXJsCwJI2mxu5Q3Ia3oD7Ho98CfOW4UK6rkfHYCysi0sLaUAP1OrH5iFmnu7Hwy9khZebn1fP0RcYF4gYa0iXnnW27vDtkxA0Ki2RKfdGmA/ylZ3YapfScF2DY24c/ZRGa6lHhugnSzjF+rZ/SJc5Zxj1O+8mzvRSkWS7InxRCR5JZ2X5wu2KU+0cQ1AFoWWxQyDN9E/xoxi1SLb5xbhezFsrv6 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0146; 20:uJxW2uGTdf6QZxv9B4wuu/gBkJXlU2EP0ml7oSxWzxZYKcCF0+Ub9ehVD0tRJEBnC6GcBiQrMSVTcEhzptVCW/Gzd9fygHc33tmWmXXHDXuzeoBnOdH/BSg+4wJzXQSNHrEcat0NPx72R65UojusIJh3fmp/T91P+z3tD3INxOsQIuPjfc/XmAlAzkjl13017zVfjJ/dzaLFpdzDwut2ild+9k8onJR4bNANsfePC/k36ryOXXi4TreoXn8QZtuJ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2018 15:38:47.6640 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7977dfc9-c8b5-4ac5-9bec-08d5722eb603 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0146 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.34.60 Subject: [Qemu-devel] [PATCH v8 27/28] tests/qmp-test: blacklist query-sev-launch-measure command X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, Brijesh Singh <brijesh.singh@amd.com>, kvm@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>, Stefan Hajnoczi <stefanha@gmail.com>, Alexander Graf <agraf@suse.de>, "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>, Markus Armbruster <armbru@redhat.com>, Bruce Rogers <brogers@suse.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Marcel Apfelbaum <marcel@redhat.com>, Borislav Petkov <bp@suse.de>, Thomas Lendacky <Thomas.Lendacky@amd.com>, Eduardo Habkost <ehabkost@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Alistair Francis <alistair.francis@xilinx.com>, Cornelia Huck <cornelia.huck@de.ibm.com>, Peter Crosthwaite <crosthwaite.peter@gmail.com>, Paolo Bonzini <pbonzini@redhat.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
* Brijesh Singh (brijesh.singh@amd.com) wrote: > The query-sev-launch-measure command returns a measurement of encrypted > memory when SEV is enabled otherwise it returns an error. Blacklist the > command in qmp-test to fix the 'make check' failure. > > Cc: "Daniel P. Berrangé" <berrange@redhat.com> > Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> > Cc: Markus Armbruster <armbru@redhat.com> > Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> > --- > tests/qmp-test.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/qmp-test.c b/tests/qmp-test.c > index 908f9b981f6e..d8720798ad0b 100644 > --- a/tests/qmp-test.c > +++ b/tests/qmp-test.c > @@ -202,6 +202,8 @@ static bool query_is_blacklisted(const char *cmd) > "query-gic-capabilities", /* arm */ > /* Success depends on target-specific build configuration: */ > "query-pci", /* CONFIG_PCI */ > + /* Success depends on launching SEV guest */ > + "query-sev-launch-measure", > NULL > }; > int i; > -- > 2.14.3 > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
diff --git a/tests/qmp-test.c b/tests/qmp-test.c index 908f9b981f6e..d8720798ad0b 100644 --- a/tests/qmp-test.c +++ b/tests/qmp-test.c @@ -202,6 +202,8 @@ static bool query_is_blacklisted(const char *cmd) "query-gic-capabilities", /* arm */ /* Success depends on target-specific build configuration: */ "query-pci", /* CONFIG_PCI */ + /* Success depends on launching SEV guest */ + "query-sev-launch-measure", NULL }; int i;
The query-sev-launch-measure command returns a measurement of encrypted memory when SEV is enabled otherwise it returns an error. Blacklist the command in qmp-test to fix the 'make check' failure. Cc: "Daniel P. Berrangé" <berrange@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> --- tests/qmp-test.c | 2 ++ 1 file changed, 2 insertions(+)