From: Udo L. <udo...@al...> - 2015-12-30 21:47:17
|
Hi Heiko, I use proxmox-ve (http://proxmox.com/en/downloads/category/iso-images-pve) for virtualisation (easy solution if you have an free box for test). It's not depend on the qemu-version - it's the same with 2.2 and 2.4. The command-line for one VM with an ide (vm-106-disk-1.raw) and an virtio-hdd (vm-106-disk-2.raw): root 335033 3.8 0.3 1497000 212924 ? Sl Dec29 54:56 /usr/bin/kvm -id 106 -chardev socket,id=qmp,path=/var/run/qemu-server/106.qmp,server,nowait -mon chardev=qmp,mode=control -vnc unix:/var/run/qemu-server/106.vnc,x509,password -pidfile /var/run/qemu-server/106.pid -daemonize -smbios type=1,uuid=a9e989b0-843d-4fec-a569-1cfda760978f -name test-dl -smp 1,sockets=1,cores=1,maxcpus=1 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000 -vga cirrus -cpu kvm64,+lahf_lm,+x2apic,+sep -m 1024 -k de -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device usb-tablet,id=tablet,bus=uhci.0,port=1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -iscsi initiator-name=iqn.1993-08.org.debian:01:5197a2bd6852 -drive file=/mnt/local_iso/template/iso/dl-1.8.0-2015-12-29-i686.iso,if=none,id=drive-ide2,media=cdrom,aio=native -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=100 -drive file=/mnt/local_pve/images/106/vm-106-disk-2.raw,if=none,id=drive-virtio0,format=raw,aio=native,cache=none,detect-zeroes=on -device virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa -drive file=/mnt/local_pve/images/106/vm-106-disk-1.raw,if=none,id=drive-ide0,format=raw,aio=native,cache=none,detect-zeroes=on -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0 -netdev type=tap,id=net0,ifname=tap106i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=7A:BC:80:D4:F2:55,netdev=net0,bus=pci.0,addr=0x12,id=net0 Udo On 30.12.2015 21:57, Heiko Zuerker wrote: > > Udo, > > I just downloaded QEMU and tested this and I see a different behavior. > But I'm also new, so I'm not sure if I'm doing this right. > I don't see a vd0 device at all, the harddisk I configured showed up > as hda. > What's the command line you use to start it? > > I also added a message now that tells if it detects QEMU and loads the > modules. > It correctly loaded them on during my test. > > Which version of QEMU are you using? I downloaded 2.5. > > Heiko > |