aboutsummaryrefslogtreecommitdiff
path: root/run-qemu
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-02-05 13:42:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-02-05 13:42:53 +0000
commit3f110ccc3b888d66f7489fd29b1220891fd4fddb (patch)
tree534d8d206acf3ad33ff7e527789105f0c84af008 /run-qemu
parent7c5752df5d7b7f952529ced3b03a74abe1c926f3 (diff)
downloadlh-bootstrap-3f110ccc3b888d66f7489fd29b1220891fd4fddb.tar.xz
Switch to virtio-net-pci
Diffstat (limited to 'run-qemu')
-rwxr-xr-xrun-qemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-qemu b/run-qemu
index e3c8aa8..13cf9cf 100755
--- a/run-qemu
+++ b/run-qemu
@@ -17,4 +17,4 @@ exec qemu-system-${QEMU_ARCH} -nographic $cpuoption -smp 4 -m 2G -nodefaults -di
-drive if=virtio,file=$OUTPUT/rwfs.qcow2,format=qcow2,media=disk,index=2 \
-drive if=virtio,file=$OUTPUT/userfs.qcow2,format=qcow2,media=disk,index=3 \
-netdev user,id=eth0,hostfwd=::2222-10.0.2.1:22 \
- -device virtio-net-device,netdev=eth0
+ -device virtio-net-pci,netdev=eth0