summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 13840b3023..38ea965bdf 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -267,7 +267,11 @@ else
267 KERNEL_NETWORK_CMD="ip=192.168.7.$n2::192.168.7.$n1:255.255.255.0" 267 KERNEL_NETWORK_CMD="ip=192.168.7.$n2::192.168.7.$n1:255.255.255.0"
268 QEMU_TAP_CMD="-net tap,vlan=0,ifname=$TAP,script=no,downscript=no" 268 QEMU_TAP_CMD="-net tap,vlan=0,ifname=$TAP,script=no,downscript=no"
269 if [ "$KVM_ACTIVE" = "yes" ]; then 269 if [ "$KVM_ACTIVE" = "yes" ]; then
270 QEMU_NETWORK_CMD="-net nic,model=virtio $QEMU_TAP_CMD,vhost=on" 270 if [ "$VHOST_ACTIVE" = "yes" ]; then
271 QEMU_NETWORK_CMD="-net nic,model=virtio $QEMU_TAP_CMD,vhost=on"
272 else
273 QEMU_NETWORK_CMD="-net nic,model=virtio $QEMU_TAP_CMD"
274 fi
271 DROOT="/dev/vda" 275 DROOT="/dev/vda"
272 ROOTFS_OPTIONS="-drive file=$ROOTFS,if=virtio,format=raw" 276 ROOTFS_OPTIONS="-drive file=$ROOTFS,if=virtio,format=raw"
273 else 277 else