Message ID | 20240125032328.2522472-27-xiaoyao.li@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2923E134CE for <kvm@vger.kernel.org>; Thu, 25 Jan 2024 03:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706153319; cv=none; b=I4IUpZNU+QE1pCur5fydcOE+Rtb5V/+eWrURtNT3redUF10yCnH5D6oPN7yS/7rvWHgrTn7OhE1wtXDQdxQGDNTzTSe6w7g3HWQr6R5RRZdXrQIVdJGCIOzJbUDmdth7XmrBqOxDoFze5mixdEUigKbw/W5RJowNh3xx+kywYcc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706153319; c=relaxed/simple; bh=SifV+bHjotaRYfMI5ci2SmZvYMKNJixVhjuUxpm+2GA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=acZ57on1wz6vkkEhJrMpRIsDkazTEQ2rsep9KNx7+pY8iVzXQjeDtfD+7MYZ7LZyT/dWGdz5kTIdGv0aollcoDkAEmcBGhrq1S5FNEXssB1uC5P17d1psSxL0fcRUAzEy6TdPWVDFJD12zBrLAxmLRNs0+ysH+Tvt/lm9RgtIgI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=mCH9OhZu; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mCH9OhZu" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706153318; x=1737689318; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SifV+bHjotaRYfMI5ci2SmZvYMKNJixVhjuUxpm+2GA=; b=mCH9OhZujlespvIaV9oIUsfW/5Q731FQu+uJYJlKwcqcQ2xshDF04gcM acjQ1KRraVuT2a+w/guBaAvZZgDLYDznNs5yBZi4jxvEius1ZqOi4m6fs N/J43yZReIlD/poXjL3eNCk1/9MEMyxs2+bMlPi2nwgxgpsB0QSISVQlf z9sFn4RJ8AdXRuaF8szP56jAffk/V6xZf5oVmLIaT7vTe8ECAd7ug+Qfy 6jNp1F+h/u7twroTiPlDYGbW1w0WWQUekh+T2VQ7z4leHjjAkByYTAzap C0ufHdeRwvJC90VLqzIGbn7vPiOTkfQulg9WY+dow5giMvVcPSZcV9P9o A==; X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="9428836" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="9428836" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2024 19:26:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="2085665" Received: from lxy-clx-4s.sh.intel.com ([10.239.48.52]) by orviesa005.jf.intel.com with ESMTP; 24 Jan 2024 19:25:55 -0800 From: Xiaoyao Li <xiaoyao.li@intel.com> To: Paolo Bonzini <pbonzini@redhat.com>, David Hildenbrand <david@redhat.com>, Igor Mammedov <imammedo@redhat.com>, "Michael S . Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Peter Xu <peterx@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Cornelia Huck <cohuck@redhat.com>, =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= <berrange@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com> Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, xiaoyao.li@intel.com, Michael Roth <michael.roth@amd.com>, Sean Christopherson <seanjc@google.com>, Claudio Fontana <cfontana@suse.de>, Gerd Hoffmann <kraxel@redhat.com>, Isaku Yamahata <isaku.yamahata@gmail.com>, Chenyi Qiang <chenyi.qiang@intel.com> Subject: [PATCH v4 26/66] i386/tdx: Make sept_ve_disable set by default Date: Wed, 24 Jan 2024 22:22:48 -0500 Message-Id: <20240125032328.2522472-27-xiaoyao.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240125032328.2522472-1-xiaoyao.li@intel.com> References: <20240125032328.2522472-1-xiaoyao.li@intel.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: <kvm.vger.kernel.org> List-Subscribe: <mailto:kvm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:kvm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
QEMU Guest memfd + QEMU TDX support
|
expand
|
diff --git a/target/i386/kvm/tdx.c b/target/i386/kvm/tdx.c index 51db64bec7ce..91cd116fb153 100644 --- a/target/i386/kvm/tdx.c +++ b/target/i386/kvm/tdx.c @@ -547,7 +547,7 @@ static void tdx_guest_init(Object *obj) qemu_mutex_init(&tdx->lock); - tdx->attributes = 0; + tdx->attributes = TDX_TD_ATTRIBUTES_SEPT_VE_DISABLE; object_property_add_bool(obj, "sept-ve-disable", tdx_guest_get_sept_ve_disable,