From nobody Sun Dec 14 06:20:36 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; 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=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1752485826; cv=none; d=zohomail.com; s=zohoarc; b=Fa4v4cRxUv301VwU7uSRodPeJjpVXocTJRkgjzOgSOdfzVrBlQrZtMuQSITkHp1uxxNTGOHyf8bwJIpVJLkb4b1ZOdSjtDDOEGxAm29RBOhngqsVw7yiMs3D1OSiAsTuOB9MtGBjzXYdN1bG1I8uwKJQqozt2glwi619kf31gSk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1752485826; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=1NptRlGTIJvdi/VE2f79nveJdwJDHmrdlcMOWDgNDMY=; b=h4g7IvdXj3tFLssZv08ZMXz3ZYlzW2WwHySKk2qJNvGFVaPw/jqUmEg8CCSvX0fwkC+ST4ZDLkUy9URsP49YKM8bwzcFxQBD8SCxQj6LNa1wVxYrMeUW58ofkqqFa+uwXE/4/ULS32lh4JMFOHkvH67Qn5PtEHzzXnIkiJPaqnU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; 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 1752485826380862.0773035524361; Mon, 14 Jul 2025 02:37:06 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ubFc4-0005QY-J1; Mon, 14 Jul 2025 05:36:46 -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 1ubFTk-00012T-Bw for qemu-devel@nongnu.org; Mon, 14 Jul 2025 05:28:16 -0400 Received: from mgamail.intel.com ([192.198.163.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ubFTi-0003Dn-GN for qemu-devel@nongnu.org; Mon, 14 Jul 2025 05:28:08 -0400 Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2025 02:28:03 -0700 Received: from lxy-clx-4s.sh.intel.com ([10.239.48.52]) by orviesa002.jf.intel.com with ESMTP; 14 Jul 2025 02:28:02 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1752485286; x=1784021286; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZMxbMTL6bAWxmAOXFXy6V/3TWlJVejOwkxqLEDzE1sI=; b=IEbjppsWpt+e3dqSBIAXjgQ+Rx6Q/t3CuOopXNKzwW3+WIlvvgH+TvKk KQUIjzzQtZnamI9WzOJE85KXgUwof/IHyC4VfKrKIUQx/5QsgKu04+b9J b8b8DwYggnU0JcoFDnKBa8XeOmBpTZglTLehbYACwu78av3ntTtGYmDqJ fn1GXMSbj2HtFbVx/0fWPlK6l5Q4+iPyIoDRVECTV0UPIdwB1/iiluMhc Z8CnaCbt3070bF38UdN7LyszdSzLcjebLB8QxsVhm+zINQF4DnxPm6GRi hkBKVMGRxHtPu6BRo2OxcE4lpGbhCGfkrIhTYR7eY9F0Z2KWxGUKWH3fB g==; X-CSE-ConnectionGUID: Ke0/pcISTci9XuxU5a/GPA== X-CSE-MsgGUID: l223o21qTueC1tSyHsjmuw== X-IronPort-AV: E=McAfee;i="6800,10657,11491"; a="66029273" X-IronPort-AV: E=Sophos;i="6.16,310,1744095600"; d="scan'208";a="66029273" X-CSE-ConnectionGUID: kO1cpXzjQ0WNebkH7jYOGA== X-CSE-MsgGUID: 9pOi4A94S/+1CJGBMvpreA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,310,1744095600"; d="scan'208";a="187882736" From: Xiaoyao Li To: Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= Cc: qemu-devel@nongnu.org, Xiaoyao Li Subject: [PATCH 2/5] i386/sev: Remove the example that references memory-encryption Date: Mon, 14 Jul 2025 17:19:50 +0800 Message-ID: <20250714091953.448226-3-xiaoyao.li@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250714091953.448226-1-xiaoyao.li@intel.com> References: <20250714091953.448226-1-xiaoyao.li@intel.com> 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=192.198.163.10; envelope-from=xiaoyao.li@intel.com; helo=mgamail.intel.com X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, RCVD_IN_DNSWL_MED=-2.3, 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 @intel.com) X-ZM-MESSAGEID: 1752485827283116600 Content-Type: text/plain; charset="utf-8" "confidential-guest-support" is the recommended property to configure sev for the machine, and amd-memory-encryption.rst has already switched to use "confidential-guest-support" in the example. Instead of changing "memory-encryption" to "confidential-guest-support" in the comment of struct SevGuestState, just drop the example for simplicity. Signed-off-by: Xiaoyao Li Reviewed-by: Daniel P. Berrang=C3=A9 --- target/i386/sev.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/i386/sev.c b/target/i386/sev.c index 1a12f0671cc6..b1831e9ab14e 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -131,10 +131,6 @@ struct SevCommonStateClass { * * The SevGuestState object is used for creating and managing a SEV * guest. - * - * # $QEMU \ - * -object sev-guest,id=3Dsev0 \ - * -machine ...,memory-encryption=3Dsev0 */ struct SevGuestState { SevCommonState parent_obj; --=20 2.43.0