actually allocate max memory

This commit is contained in:
Alex Zenla committed 2024-01-10 19:18:48 -08:00
1 parent 153619a02c
commit 629c3d81b0
7 files changed
+80 -64

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ fn main() -> Result<(), XenClientError> {
let image_info = image_loader.parse()?;
println!("loaded kernel image into memory: {:?}", image_info);
let memctl = MemoryControl::new(&call);
let mut boot = BootSetup::new(&call, &domctl, &memctl, domid, 512 * 1024);
boot.initialize(image_info)?;
let mut boot = BootSetup::new(&call, &domctl, &memctl, domid);
boot.initialize(image_info, 512 * 1024)?;
domctl.destroy_domain(domid)?;
println!("domain destroyed: {}", domid);
Ok(())