Revert "kvm does not crash nbd is dead"

This reverts commit a0e1023b.
parent a0e1023b
......@@ -8,7 +8,7 @@ fi
# TODO: -net nic,model=virtio, but OS installer has to provide the virtio_net
# module
%(qemu_path)s \
exec %(qemu_path)s \
-net nic,macaddr=%(mac_address)s \
-smp %(smp_count)s \
-m %(ram_size)s \
......@@ -20,18 +20,3 @@ fi
-pidfile %(pid_file_path)s \
-no-kvm
# -net tap,ifname=%(tap_interface)s,script=no,downscript=no \
if [ $? -eq 1 ]
then
%(qemu_path)s \
-net nic,macaddr=%(mac_address)s \
-net tap,ifname=%(tap_interface)s,script=no,downscript=no \
-smp %(smp_count)s \
-m %(ram_size)s \
-drive file=%(disk_path)s,if=virtio,boot=on \
-vnc %(vnc_ip)s:1,ipv4,password \
-boot menu=on \
-qmp unix:%(socket_path)s,server \
-pidfile %(pid_file_path)s
-no-kvm
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment