vmm: simplify receiving memory fds

... and nuke some Option<> while I was there. Given that HashMap has a
usable default and we end up passing an empty HashMap anyway, just get
rid of the Option.

On-behalf-of: SAP julian.stecklina@sap.com
Signed-off-by: Julian Stecklina <julian.stecklina@cyberus-technology.de>
This commit is contained in:
Julian Stecklina
2025-11-03 16:27:12 +01:00
committed by Rob Bradford
parent 3d43245608
commit 1861bc49e7
3 changed files with 28 additions and 34 deletions

View File

@@ -1056,7 +1056,7 @@ impl Vm {
#[cfg(feature = "tdx")]
tdx_enabled,
None,
None,
Default::default(),
)
.map_err(Error::MemoryManager)?
};