syzkaller/vm
Alexander Popov 3a5ae29218 vm/qemu: prevent eth0 renaming
create-image.sh tries to enable eth0 network interface of the virtual machine,
but there is no eth0 in a fresh debian-wheezy, since biosdevname renames interfaces.
VM log quotation:
  e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
  e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
  e1000 0000:00:03.0 ens3: renamed from eth0
  ...
  Cannot find device "eth0"
  Bind socket to interface: No such device
  Failed to bring up eth0.

The simplest fix is disabling biosdevname by adding "net.ifnames=0 biosdevname=0"
to the kernel command line.

Signed-off-by: Alexander Popov <alex.popov@linux.com>
2016-11-28 16:11:24 +03:00
..
adb vm: add ability to interrupt commands 2016-11-19 11:14:11 +01:00
gce vm: add ability to interrupt commands 2016-11-19 11:14:11 +01:00
kvm vm: add ability to interrupt commands 2016-11-19 11:14:11 +01:00
local vm: add ability to interrupt commands 2016-11-19 11:14:11 +01:00
qemu vm/qemu: prevent eth0 renaming 2016-11-28 16:11:24 +03:00
merger_test.go vm: merger console/fuzzer output line-by-line 2016-08-28 19:21:57 +02:00
merger.go vm: fix potential deadlock in OutputMerger 2016-08-28 21:00:18 +02:00
vm.go vm/qemu: support non-native mode 2016-11-22 17:00:47 +01:00