From nobody Sun Nov 24 15:08:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1722555897; cv=none; d=zohomail.com; s=zohoarc; b=EUZiEFVbmszSLfFr77OERv2TS8xgjHoAt1LMYMHKEpjNPUXf7OUXTsfX8CQkPI/A1Jdg6+I2s3oYKWDg9rlDjcLy08SwFYKgG3AY1rxU3g0GGJqiyO/1vsHt4cYe1YxNIkUZWdwnInNKctjpVtYQOz/FdInbFywJU9FONetCfCM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722555897; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=igfziAhXHEqZepOq2g/cEjBcQT6bFTUtsGt6WB6hWCA=; b=k6q1ds7vPFvJeaYcD7LKU6rBtzQFsuR6MMv4tdbSWz0UDeaR7a45Er27CANF5kV9OmgG4lkbtbR9GkvA+jssn1xtW3fIHfyHp9CuZ/vMmf3H71pTVcQ17pVstpSM34Gr5m7FvJ4W3V05xISktZ1XJUMX1lmj71xCAWYRmmxYIvU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1722555897401982.3004917979938; Thu, 1 Aug 2024 16:44:57 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZfSj-0001Uj-7h; Thu, 01 Aug 2024 19:44:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZfSf-0001Ty-MA for qemu-devel@nongnu.org; Thu, 01 Aug 2024 19:43:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZfSc-0001oC-Oh for qemu-devel@nongnu.org; Thu, 01 Aug 2024 19:43:56 -0400 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-368-8mrNRqOGNW6R5mUzThO3pw-1; Thu, 01 Aug 2024 19:43:50 -0400 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5a429a572daso6085469a12.1 for ; Thu, 01 Aug 2024 16:43:49 -0700 (PDT) Received: from avogadro.local ([151.95.101.29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9ec8879sm31705166b.211.2024.08.01.16.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 16:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722555831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=igfziAhXHEqZepOq2g/cEjBcQT6bFTUtsGt6WB6hWCA=; b=In38YZbPUbedkfeI1RTPp/aJMJ0K77dfAY7SijMxU0m/ytm34uSCHTXQh7XjXqWhXwm4tq OqbFqm+8SL+seZSmh0cb3kYT2KbBbqSAca7wCirnbo7XfFeSMnMaKO3mWewT0JoEtsr4b2 ORfXId4zvvtwTK7ZmJyiLs1OdPwuV58= X-MC-Unique: 8mrNRqOGNW6R5mUzThO3pw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722555828; x=1723160628; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=igfziAhXHEqZepOq2g/cEjBcQT6bFTUtsGt6WB6hWCA=; b=HD/XWc969sFd/I8RGuzurRPfCuCFyFHeAQr8T2w96XgfS/OPz6nmBSec4CRTeTiyww xSTqcacW1gD+HPaLFtgtpq8t6c38znmBa5vKC+UE7Ss0N+t9wm408ArNeN53jnx04BFY 1IxxH5e1jsQc7YCxJ+3qHQ8RRBSSx6eRhKvlsgHXqulmIVg1MyO4qgjZEHwSRxVIVXdw PD/2eHUukhhzHfr4TltUuqefXYr0+coj1E/NGf8aWvc6Wz6nOmiP0YaYjakf7FhEfXOl 8q7abxq+3LUvIFuiCu86ouSxolMkIdqw/yMWojg1UhaxHIm7ydToREEOh3eiqYvUJgog diWg== X-Gm-Message-State: AOJu0YwdFqs11rJM3eOXkgr0M8AQcWvWowCGIS3VFiYBECDWF4kP38cE k2u30DXysHCptEwRRdmxpgxQmU/hZZj/aN94NPtBD7dWOTCnRoYO6U+Bc8NCc4N0p7vkOMCAic5 P4tnZ4l3Z4Bnn3t8bOd6Bb+jOqgffiTRkiYs9qCcMKVfHPeYKQgrrhoKMO/F8MANxAG5YmQ4heO GYCCxLkaVuX5+A3Jl1zIDekIfC+5orMD+s4+Ct X-Received: by 2002:a17:907:94cb:b0:a77:b052:877e with SMTP id a640c23a62f3a-a7dc4e5626fmr140574166b.19.1722555827792; Thu, 01 Aug 2024 16:43:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPIMNy2DFkHQoqIWx3ltDct47CmduchW8AMpdbXdFtQf7XRxtQApCDcfiZ2aRNSoprHETh1Q== X-Received: by 2002:a17:907:94cb:b0:a77:b052:877e with SMTP id a640c23a62f3a-a7dc4e5626fmr140572466b.19.1722555827215; Thu, 01 Aug 2024 16:43:47 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Zixi Chen , Pankaj Gupta Subject: [PATCH] target/i386: SEV: fix mismatch in vcek-disabled property name Date: Fri, 2 Aug 2024 01:43:45 +0200 Message-ID: <20240801234345.355447-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.131, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1722555898535116600 Content-Type: text/plain; charset="utf-8" The vcek-disabled property of the sev-snp-guest object is misspelled vcek-required (which I suppose would use the opposite polarity) in the call to object_class_property_add_bool(). Fix it. Reported-by: Zixi Chen Cc: Pankaj Gupta Signed-off-by: Paolo Bonzini Reviewed-by: Pankaj Gupta --- target/i386/sev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/sev.c b/target/i386/sev.c index a1157c0ede6..a0d271f8986 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -2422,7 +2422,7 @@ sev_snp_guest_class_init(ObjectClass *oc, void *data) object_class_property_add_bool(oc, "author-key-enabled", sev_snp_guest_get_author_key_enabled, sev_snp_guest_set_author_key_enabled); - object_class_property_add_bool(oc, "vcek-required", + object_class_property_add_bool(oc, "vcek-disabled", sev_snp_guest_get_vcek_disabled, sev_snp_guest_set_vcek_disabled); object_class_property_add_str(oc, "host-data", --=20 2.45.2