Add qemu network device

This commit is contained in:
2026-08-26 23:27:58 +02:00
parent 8b544ab688
commit 6af8660f8d
+1
View File
@@ -41,6 +41,7 @@ pub(crate) fn run(name: &str) -> Result<()> {
.arg(initrd_path.as_os_str())
.args(["-append", &cmdline])
.args(["-nographic"])
.args(["-nic", "user,model=virtio-net-pci"])
.status()
.context("Failed to launch qemu-system-x86_64")?;