Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8A9ACDE008 for ; Fri, 26 Jun 2026 10:22:21 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wd3ez-0003FC-09; Fri, 26 Jun 2026 06:19:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wd3ew-000365-Tq for qemu-devel@nongnu.org; Fri, 26 Jun 2026 06:19:42 -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 1wd3ev-0005QI-2v for qemu-devel@nongnu.org; Fri, 26 Jun 2026 06:19:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1782469180; 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: in-reply-to:in-reply-to:references:references; bh=jDJzWr4DPm70qXaqFLhNskSOs+Tj3s84msP9xo6bd4U=; b=Ye2SFDiK6atcZEoph9p3eejBcIH1ikXhieDD1M8Zw3HyM2iWUtoCO8/VRKc9+9IOfWQ4bx k2WIvnq5vJwenU7jctgSd1na6dYXvVUvGf/zaf0xe3tmxYUhcosjz2M0XzJ7ES7k1ot1c/ 2LOj8/I0Y0vwjvUXSinXMqaYWq5cWBQ= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-582-dstnw27lP7ON8iN9-i7rgA-1; Fri, 26 Jun 2026 06:19:39 -0400 X-MC-Unique: dstnw27lP7ON8iN9-i7rgA-1 X-Mimecast-MFC-AGG-ID: dstnw27lP7ON8iN9-i7rgA_1782469178 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4924d5231daso6080065e9.0 for ; Fri, 26 Jun 2026 03:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1782469178; x=1783073978; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jDJzWr4DPm70qXaqFLhNskSOs+Tj3s84msP9xo6bd4U=; b=r5Y6rxJkLplO3gmTgiCmrI6SlmLNhEMgOuyt/hunf9XlWB5de5DnlfzamRNeT3eg5y vHLd6bwr33Tviu41VQfsvValUDHmRyZ6qsrZR4lxsFNSFbm5xoIhFkUc+cP625VvcE7h Qi6jX/TGdW7Wr17mnhqFxKRzzwUO+jrfRkhSE6BI3tG0bL7f9AJbHFojNTzUXDKgG49A vCMNB9KLe2Gz7/LhO/pIl7bNRO7Q+cdk14nsB0tSv9TIeEXUlVzeViYFyeXF5YUy/9of 4MXgryKeTNV2qUDHXrSJXS+p0C3HazdxjibnJRHvVnT/zBP5TY69rTHZV6AEm8AiuQJC Eekw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782469178; x=1783073978; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=jDJzWr4DPm70qXaqFLhNskSOs+Tj3s84msP9xo6bd4U=; b=o8yY+gK8swcC07KUXK7yO68rDD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0:490:b7e6:bd1d with SMTP id 5b1f17b1804b1-49266874055mr95173075e9.16.1782469177868; Fri, 26 Jun 2026 03:19:37 -0700 (PDT) X-Received: by 2002:a05:600c:3b17:b0:490:b7e6:bd1d with SMTP id 5b1f17b1804b1-49266874055mr95172445e9.16.1782469177285; Fri, 26 Jun 2026 03:19:37 -0700 (PDT) Received: from [192.168.10.48] ([151.95.124.208]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49268fe949csm79379145e9.5.2026.06.26.03.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2026 03:19:35 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Xiaoyao Li , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PULL 40/45] qemu-options: Add confidential-guest-support to machine options Date: Fri, 26 Jun 2026 12:17:43 +0200 Message-ID: <20260626101748.1728079-41-pbonzini@redhat.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260626101748.1728079-1-pbonzini@redhat.com> References: <20260626101748.1728079-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.445, 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, SPF_HELO_PASS=-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: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: Xiaoyao Li "confidential-guest-support" is the recommended property to configure machine with confidential computing technology instead of "memory-encryption". Add "confidential-guest-support" to machine options and call out explicitly "memory-encryption" is the alias of it and not recommended. Reviewed-by: Daniel P. Berrangé Signed-off-by: Xiaoyao Li Link: https://lore.kernel.org/r/20260512084458.622465-4-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini --- qemu-options.hx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 03456527910..a8ee5d14e14 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -36,7 +36,8 @@ DEF("machine", HAS_ARG, QEMU_OPTION_machine, \ " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n" " suppress-vmdesc=on|off disables self-describing migration (default=off)\n" " nvdimm=on|off controls NVDIMM support (default=off)\n" - " memory-encryption= memory encryption object to use (default=none)\n" + " confidential-guest-support= specifies confidential guest support object (default=none)\n" + " memory-encryption= (memory-encryption is the alias of confidential-guest-support, recommend to use confidential-guest-support)\n" " hmat=on|off controls ACPI HMAT support (default=off)\n" " spcr=on|off controls ACPI SPCR support (default=on)\n" #ifdef CONFIG_POSIX @@ -100,8 +101,12 @@ SRST ``nvdimm=on|off`` Enables or disables NVDIMM support. The default is off. + ``confidential-guest-support=`` + confidential guest support object to use. The default is none. + ``memory-encryption=`` - Memory encryption object to use. The default is none. + The alias of ``confidential-guest-support``. Recommend to use + confidential-guest-support. ``hmat=on|off`` Enables or disables ACPI Heterogeneous Memory Attribute Table -- 2.54.0