From a0512a53a3da05f4858c65eae54ddd8fea5fe626 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 23 Jul 2018 20:27:48 +0200 Subject: vm/qemu: use e1000 instead of e1000e e1000e fails on recent Debian distros with: Initialization of device e1000e failed: failed to find romfile "efi-e1000e.rom --- vm/qemu/qemu.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vm/qemu/qemu.go b/vm/qemu/qemu.go index cb2f4bcfa..72fcb8444 100644 --- a/vm/qemu/qemu.go +++ b/vm/qemu/qemu.go @@ -295,7 +295,9 @@ func (inst *instance) Boot() error { args := []string{ "-m", strconv.Itoa(inst.cfg.Mem), "-smp", strconv.Itoa(inst.cfg.CPU), - "-net", "nic", + // e1000e fails on recent Debian distros with: + // Initialization of device e1000e failed: failed to find romfile "efi-e1000e.rom + "-net", "nic,model=e1000", "-net", fmt.Sprintf("user,host=%v,hostfwd=tcp::%v-:22", hostAddr, inst.port), "-display", "none", "-serial", "stdio", -- cgit mrf-deployment