[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Using qemu command not able launch VM
From: |
Koushik Dutta |
Subject: |
[Qemu-devel] Using qemu command not able launch VM |
Date: |
Sat, 7 Oct 2017 13:23:25 +0530 |
Hi All (qemu members),
I installed qemu utility in my host machine. I want to start Virtual
machine using qemu command.
My host machine: Intel-X86
Script for launching VM :
T=/home/koushik/vpp/cloud_ubuntu_img
sudo qemu-system-i386 -enable-kvm -m 1024 -smp
sockets=1,cpus=4,cores=2 -cpu host \
-vga none -nographic \
-kernel $T/vmlinuz-4.4.0-96-generic --append "console=ttyAMA0
root=/dev/vda rw" \
-drive file=$T/custom32.img,if=virtio,aio=threads \
-chardev socket,id=char1,path=/tmp/sock1.sock \
-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce\
-device virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1 \
-object
memory-backend-file,id=mem,size=1024M,mem-path=/dev/hugepages,share=on \
-numa node,memdev=mem -mem-prealloc \
#-debugcon file:debug.log -global isa-debugcon.iobase=0x402
Bug: Invalid netdev type
Please let me know where i did wrong.
Please help me.
Thanks to all in advance.
Thanks & Regards,
Koushik
- [Qemu-devel] Using qemu command not able launch VM,
Koushik Dutta <=