hypervisor: tdx: do not use u64 to represent pointers

Also drop support for building the TDX code for 32-bit targets.  All
CPUs with TDX support are 64-bit so supporting 32-bit targets is not
needed.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
This commit is contained in:
Demi Marie Obenour
2025-06-26 20:03:30 -04:00
committed by Rob Bradford
parent 42522a88c0
commit 199d2d05d8
3 changed files with 25 additions and 15 deletions

View File

@@ -403,9 +403,9 @@ pub trait Vm: Send + Sync + Any {
/// Initialize a TDX memory region for this VM
fn tdx_init_memory_region(
&self,
_host_address: u64,
_host_address: *mut u8,
_guest_address: u64,
_size: u64,
_size: usize,
_measure: bool,
) -> Result<()> {
unimplemented!()