Re: [RFC PATCH v5 007/104] x86/virt/tdx: Add a helper function to return system wide info about TDX module

From: Paolo Bonzini
Date: Sun Mar 13 2022 - 09:59:21 EST


On 3/4/22 20:48, isaku.yamahata@xxxxxxxxx wrote:
Signed-off-by: Isaku Yamahata<isaku.yamahata@xxxxxxxxx>
---
arch/x86/include/asm/tdx.h | 55 ++++++++++++++++++++++++++++++++++++++
arch/x86/virt/vmx/tdx.c | 16 +++++++++--
arch/x86/virt/vmx/tdx.h | 52 -----------------------------------
3 files changed, 69 insertions(+), 54 deletions(-)

Patch looks good, but place these definitions in arch/x86/include/asm/tdx.h already in Kai's series if possible.

Apart from that,

Reviewed-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

Paolo