rust-vmm / vmm-reference

A VMM implementation based of rust-vmm components
Apache License 2.0
146 stars 61 forks source link

Creating busybox image fails #193

Open santifa opened 2 years ago

santifa commented 2 years ago

I tried to run the vmm-reference with the busybox image. Building the image fails with Kernel config not found.

The config.sh sets the variable only if uname -i returns a known platform. I tried a debian buster and a arch linux where both answers with unknown.

I would recommend to add a flag for choosing the hw platform or use lscpu | grep <hw-platform>. Following the man page man 2 uname only uname -m is safe and meaningful.

I have another question: Is it possible to run block devices with a valid grub partition directly?

Thanks for the hard work.

gsserge commented 2 years ago

I've submitted a PR for the first issue https://github.com/rust-vmm/vmm-reference/pull/194