1
0
mirror of https://github.com/rancher/os.git synced 2025-09-25 20:52:58 +00:00

Switch to virtio

This commit is contained in:
Darren Shepherd
2015-02-16 20:49:13 -07:00
parent 9aa9550419
commit 6928140540

View File

@@ -41,5 +41,6 @@ else
zcat ${HD_GZ} > ${HD}
fi
kvm -m 1024 -kernel ${KERNEL} -initrd ${INITRD_TEST} -append "$@" -hda ${HD} -serial stdio -netdev user,id=hostnet0 -device virtio-net-pci,romfile=,netdev=hostnet0
qemu-system-x86_64 -kernel ${KERNEL} -initrd ${INITRD_TEST} -m 1024 -net nic,vlan=0,model=virtio -net user,vlan=0,hostfwd=tcp::2222-:22,hostname=rancher -drive if=virtio,file=${HD} -machine accel=kvm -cpu host -smp 4 -append "x $@"
fi