Message ID | 20241213195711.316050-4-pbonzini@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 558131EBA07 for <kvm@vger.kernel.org>; Fri, 13 Dec 2024 19:57:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734119847; cv=none; b=C5/byJLBuYxbVDh+kxOEz3I2zU01FPRiN0KALG5aC4DPjRd8C9yd7snJglCKpoMJ+w5kBL1vd5ChKBvIwf/KY8CJtelpBoS5fBAAvFS0lID8JfYFHoQJ94lEWOcDmrHmI54EjV20moT3X0K0bkeygft3QQFVQqUHh9kY+Dc8paA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734119847; c=relaxed/simple; bh=sthHUtFKrqUaPxQfCF60mgyDHtH6m55/15Jq0vpOz5c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=W7s7hp/UyzNi1vZ5/x3RhkR49TgBtZ6SCaDens7ImdZ+49h8Q99cyGpjDpMHjaIyeIXVgyU+AnqJxe8bUJMIgL+zFeH6CeN9AtBudRpXcf31ohvD/MA6Aj3R40LTlSUOQDY/VTSEqoiFLzJQ4seBoLvk8gFVDBpGNLVYwRQ5xSQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=TDOmyd8C; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="TDOmyd8C" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734119844; 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=qcwioA+8IUPWsl77mjGc+fBvaRQn2foraJmcVc4D09c=; b=TDOmyd8CTlRq3smkGLbx+zn/cS9PPwckKVGbyUFsPpXv2XRCvgAjeiLdQ/ecwzg3oPUyVt 2BFM1aeiNDUwOrLvFASjKLxjuNOOI2fsnf3twC/2OIYDJV9WzVYdX4mzUU94LlLBW9OxEu dsny8Kqike4kKsvVJmlDbtJFFp5dnu4= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-401-as6MmIRqNQmgjgOoiinsUQ-1; Fri, 13 Dec 2024 14:57:18 -0500 X-MC-Unique: as6MmIRqNQmgjgOoiinsUQ-1 X-Mimecast-MFC-AGG-ID: as6MmIRqNQmgjgOoiinsUQ Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 86BB6195609E; Fri, 13 Dec 2024 19:57:17 +0000 (UTC) Received: from virtlab1023.lab.eng.rdu2.redhat.com (virtlab1023.lab.eng.rdu2.redhat.com [10.8.1.187]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 89D901955F3C; Fri, 13 Dec 2024 19:57:16 +0000 (UTC) From: Paolo Bonzini <pbonzini@redhat.com> To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: yan.y.zhao@intel.com, isaku.yamahata@intel.com, binbin.wu@linux.intel.com, rick.p.edgecombe@intel.com Subject: [PATCH 03/18] KVM: x86: Add a VM type define for TDX Date: Fri, 13 Dec 2024 14:56:56 -0500 Message-ID: <20241213195711.316050-4-pbonzini@redhat.com> In-Reply-To: <20241213195711.316050-1-pbonzini@redhat.com> References: <20241213195711.316050-1-pbonzini@redhat.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-Type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 |
Series |
TDX MMU prep series part 1
|
expand
|
diff --git a/arch/x86/include/uapi/asm/kvm.h b/arch/x86/include/uapi/asm/kvm.h index 88585c1de416..9e75da97bce0 100644 --- a/arch/x86/include/uapi/asm/kvm.h +++ b/arch/x86/include/uapi/asm/kvm.h @@ -925,5 +925,6 @@ struct kvm_hyperv_eventfd { #define KVM_X86_SEV_VM 2 #define KVM_X86_SEV_ES_VM 3 #define KVM_X86_SNP_VM 4 +#define KVM_X86_TDX_VM 5 #endif /* _ASM_X86_KVM_H */