more hvm work

This commit is contained in:
Alex Zenla
2024-05-07 17:56:06 -07:00
parent 7dfd38fca9
commit 29b3f91e60
5 changed files with 38 additions and 13 deletions

View File

@ -20,10 +20,10 @@ async fn main() -> Result<()> {
backend_domid: 0,
name: "xenclient-test".to_string(),
max_vcpus: 1,
mem_mb: 300,
mem_mb: 512,
kernel: fs::read(&kernel_image_path).await?,
initrd: fs::read(&initrd_path).await?,
cmdline: "debug elevator=noop earlyprintk=xen".to_string(),
cmdline: "console=hvc0 debug earlyprintk=xen,keep loglevel=10".to_string(),
swap_console_backend: None,
disks: vec![],
channels: vec![],