From patchwork Thu Feb 15 15:39:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brijesh Singh X-Patchwork-Id: 10222233 Return-Path: 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 5AFB4602CB for ; Thu, 15 Feb 2018 16:11:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4ACEF2945C for ; Thu, 15 Feb 2018 16:11:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EA8C2945F; Thu, 15 Feb 2018 16:11:52 +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 9060F29457 for ; Thu, 15 Feb 2018 16:11:51 +0000 (UTC) Received: from localhost ([::1]:34028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emM8U-0002M5-G1 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 15 Feb 2018 11:11:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emLf0-0004rt-Dx for qemu-devel@nongnu.org; Thu, 15 Feb 2018 10:41:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emLew-0003g9-Ge for qemu-devel@nongnu.org; Thu, 15 Feb 2018 10:41:22 -0500 Received: from mail-cys01nam02on0058.outbound.protection.outlook.com ([104.47.37.58]:48924 helo=NAM02-CY1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emLew-0003fq-7d for qemu-devel@nongnu.org; Thu, 15 Feb 2018 10:41:18 -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=pdfzVJ3N77Dlli36UgxIl+xfXxW9MjNExPWHmTVSP4w=; b=Ktnyoskn3KzJ0WdXLRoIjX32WpeEGhkr8ovSMvOTvzoXbIDhLEQk5xmHlGz6PdUhOjRUY+MLh3A/58FYW/E3QwatvJ1AipTFP2YVFVKFEm8Uk+b1KTadZlhMtJlv20po5YHNGAr2TIQgfMqeuICSmdjr1V4fnhUyHjDjSPObCrU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from wsp141597wss.amd.com (165.204.78.1) by SN1PR12MB0157.namprd12.prod.outlook.com (10.162.3.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Thu, 15 Feb 2018 15:41:13 +0000 From: Brijesh Singh To: qemu-devel@nongnu.org Date: Thu, 15 Feb 2018 09:39:53 -0600 Message-ID: <20180215153955.3253-28-brijesh.singh@amd.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180215153955.3253-1-brijesh.singh@amd.com> References: <20180215153955.3253-1-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: CY4PR04CA0044.namprd04.prod.outlook.com (10.172.133.30) To SN1PR12MB0157.namprd12.prod.outlook.com (10.162.3.144) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 229b54aa-28dd-41f7-cd66-08d5748a8c2c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:SN1PR12MB0157; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 3:51iFw51QiDDxwhRQjnB7TleARwgABNy0PN5eqqace6DPAQaqLqvrJ++/vRiddwVHQQ/FyjrHPGsslelcuAfES17RbpUvHWfmbXQmbBY4mB0KmGrw01xqAMtc1UBTFxiqK5jqc0AFJXewQSRC641l+bjTRuYKw8CNafXpM0b0dLSz4Kbheq/ZxpaEwAHA0MZWcS1WF8E8sAidtHAmzBYch9yAoMgVHSKGrLHxXWxeMYwqw2nZu46r2dBQNoydKGOf; 25:Jq3Xdu2JF5RFkyUbg7+GCgHgx52BymkFoUkHlzjvrMTs43lMw6Hm76+XHiIhpWRmQPZG7m2lhRBcI20WyuaCIDXdBaaXglrwNKr6AvzBRn976YLB7wIHkVGVz56M39DEnIbgtJWIIT42KbD2ftPuq4gXvow6S2q880bF+Xs8PRmM+oK2rfbsnq9MGE1Hocl/yQ5PUbbrSPlM3m5lcrMxbNuxTKLh1qsHl3S60DnyRhZ3Hq3tmCxuyWh6UiAUY0eW7s+KM7aGSZM8lANG5I9W7OlIq48/qnL6tDrP04eTZI8X01aUuDjeO6lcIjHuIvjJGOmd7G3sQ/afJSa/ymGl9A==; 31:AcrVLiyr8WLjyN07CFvreK8L2mrJiIdZBVcIRQDi3PgMg4aCwXp0KwM0OX1Cjsly3Ij752wMnmEErwKSmpIQM+/qYuN4AHNSWKdFJCWJ5nXZvSudibDLpxC8SHyMA93qLqJHSeABWn5yGpjuxwsf27UHA4CM0mof0sE6PdDvlcqbwAOERh9i15IBWD7Zb9ieubQJNRNJNanb5nG6l/3v2E/n3p0/Dwg2dPj1JJNROcg= X-MS-TrafficTypeDiagnostic: SN1PR12MB0157: X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 20:pr7iFxFH3N/5IwTWPbaOrOTc443zmkoKYXqNjAwR2gk+mlGtKgJVTEwVZ/kpZaqNGuCIDulcHMEL5br79sa0Fuun1HlNuZMj0es5SG1ie9BSO8+mXwmNZEd+7oB/jjY2jyOHYQWUSs4v2i5IVJoVf1ZQU1fSKcYkLczkUXtE9QX6lyGq2I22A+Gw590AkcN9Rq/haesdXTJyaS57489BQHn5C5rECM7MzvgE7+RGNj+cNBdCtyBatdxYlzuRK50do75aO3toGXbgxTItxToTsGPFk4NW1na01AjzvOH+CF3yUqiTEeMbmyVhlHv6HopHmrV+1exvB97VcUQC7AWEGzwHYh4CQNvwlYaxcaWI3DQ/flo8sMGAbxml+tgDhxKqDnWc3jm03+mf5tmT/K8fLpwuP8NZAZ90DsPd9JpZf86GUliH3CjpKY5Jti9Q5Mq7odSmcXJ1eS9RCC3Ygtmr6Kp8eqOyLpZE+CDIckS/1Yqt/3N/yfvSeKGe/w4QmMq5; 4:DSsBnyRDM5sE455DoVTtZ3Nlc1hki0fOjY3YasetVq0w1AqVn7Gj95753268UOcLkFXX5/l+tFiKRqb619r1ZrTjJXQ4sMFmm2FueBAhEtV+Sfyks25sMcgfW+AlS0ppxuUTicjBFC0Jnjc/FKJfTfv98ixghH1fT9ljoIe+hArKbGWbxoanYk7ncXl3urhWEAMjsTyqnjlS4DYIdU3gd5P2Kr8GO5G2lCV/Nm8Q3JWyhXlXosy6OUUqZ1PbZIMzc6p9YFJjXrzr5RrhpKYZx797TmELbpamJ5SD07iq6Vj9GoxIaNDp/mR5PDky2r/E X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231101)(944501161)(6055026)(6041288)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:SN1PR12MB0157; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0157; X-Forefront-PRVS: 058441C12A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(1496009)(376002)(39380400002)(346002)(396003)(39860400002)(366004)(189003)(199004)(26005)(3846002)(386003)(8936002)(5660300001)(186003)(16526019)(316002)(6666003)(8666007)(1076002)(54906003)(6116002)(50466002)(7416002)(478600001)(59450400001)(8676002)(68736007)(86362001)(2906002)(50226002)(2870700001)(39060400002)(2351001)(6916009)(7736002)(106356001)(23676004)(8656006)(52116002)(25786009)(4326008)(97736004)(2950100002)(6486002)(2361001)(36756003)(76176011)(81166006)(53416004)(66066001)(53936002)(81156014)(47776003)(305945005)(105586002)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0157; H:wsp141597wss.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; SN1PR12MB0157; 23:ojSDSboMirji6Rh7MuuuBD0FSzuhAyH6L6U/xOZ6E?= =?us-ascii?Q?QYaSEwNveuTQs1mv84szj7WBG6f8eiDWPVqVJPoI6OUJaQcGyR4JAqAqVELo?= =?us-ascii?Q?bn55LfhB/C9wNZgRefF3M8OTNN5GKXAlH40XQcwNmqlOo/BzZD2ojtWrth8y?= =?us-ascii?Q?fBy90yX1gJuRWmccPIn/wcaotuVBdDKL/CP+cLYNaF+0tTVExwIX8wr/JSMc?= =?us-ascii?Q?F2SFJPfx+6/eb/8xRj9lHtpmtMlxBBijcCQvR3pJjrp53oN8wvGv7a2QYa9M?= =?us-ascii?Q?6J3EPExUdtVMnWtRedo7lUB4PxqWgUv4hIiD8k9PHbbje1laGjK5321ZDm9Z?= =?us-ascii?Q?G0CCz2CqohCyZtFPMTk9Z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Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 20:ezpFEwZTb1/jTvYqnR4IqtUlV2cwdVMIaNqMbuiP3kjnn5NQ5Vw/85xBZC4IU0GEfVIfBsuD1JwjCdiMQG0Sykbh5ovT1KmG+ql/iJ4O5ZIVF8XdSbTWFTD/iRd0HGBXBwMkLgyLydMzU2WtnMIBkH3ZfsAIgzmWruAPZTENRSGbVMMKM3o/X43/QGQPSK8AIGr18vuJ/qRfXaqsrGWZnh0kmTh8B3pRh/ubv3C6DYHwrXzLUEI/MgZuAv9CPKb7 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2018 15:41:13.2285 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 229b54aa-28dd-41f7-cd66-08d5748a8c2c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0157 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.37.58 Subject: [Qemu-devel] [PATCH v9 27/29] 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Brijesh Singh , kvm@vger.kernel.org, "Michael S. Tsirkin" , Stefan Hajnoczi , Alexander Graf , "Edgar E. Iglesias" , Markus Armbruster , Bruce Rogers , Christian Borntraeger , Marcel Apfelbaum , Borislav Petkov , Thomas Lendacky , Eduardo Habkost , Richard Henderson , "Dr. David Alan Gilbert" , Alistair Francis , Cornelia Huck , Peter Crosthwaite , Paolo Bonzini Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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é" Cc: "Dr. David Alan Gilbert" Cc: Markus Armbruster Reviewed-by: "Dr. David Alan Gilbert" Signed-off-by: Brijesh Singh --- tests/qmp-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/qmp-test.c b/tests/qmp-test.c index 580848307ad1..83ad949ec1d9 100644 --- a/tests/qmp-test.c +++ b/tests/qmp-test.c @@ -203,6 +203,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;