Am 29.04.21 um 09:18 schrieb Pierre Bernhardt: > After which will not start the vm: > usr/bin/qemu-system-x86_64 -monitor stdio -k de -machine accel=kvm -m 4096 > -no- > fd-bootchk -fda /home/user/qemu/Win7/floppy -cdrom /home/user/qemu/cd.iso -hda > /home/user/qemu/Win7/hda.qcow2 -hdb /home/user/qemu/Win7/acronis.qcow2 -boot > once=c,menu=on -net nic,macaddr=00:ef:55:f9:d7:d9,model=rtl8139 -net user -usb > -device usb-host,bus=usb.0,hostbus=1,hostport=6 -rtc base=localtime -name > "Win7" This line was after I added hostbus and hostport numbers. aqemu leave them empty: usr/bin/qemu-system-x86_64 -monitor stdio -k de -machine accel=kvm -m 4096 -no-fd-bootchk -fda /home/user/qemu/Win7/floppy -cdrom /home/user/qemu/cd.iso -hda /home/user/qemu/Win7/hda.qcow2 -hdb /home/user/qemu/Win7/acronis.qcow2 -boot once=c,menu=on -net nic,macaddr=00:ef:55:f9:d7:d9,model=rtl8139 -net user -usb -device usb-host,bus=usb.0,hostbus=,hostport= -rtc base=localtime -name "Win7"
By the way this will not change the error message. > I get the following error if I try to start it in console: > (qemu) qemu-system-x86_64: -device usb-host,bus=usb.0,hostbus=1,hostport=6: > Bus > 'usb.0' not found > > After searching the web I found a work around by using vendor and product id. > Replacing the bus.0 etc. parameters by that values works, the vm is starting > and the device is usuable in the vm: > > usr/bin/qemu-system-x86_64 -monitor stdio -k de -machine accel=kvm -m 4096 > -no- > fd-bootchk -fda /home/user/qemu/Win7/floppy -cdrom /home/user/qemu/cd.iso -hda > /home/user/qemu/Win7/hda.qcow2 -hdb /home/user/qemu/Win7/acronis.qcow2 -boot > once=c,menu=on -net nic,macaddr=00:ef:55:f9:d7:d9,model=rtl8139 -net user -usb > -device -usb -device usb-host,vendorid=0x0c4b,productid=0x0500 -rtc > base=localtime -name "Win7" I made a typo because must retype from console because could not C&P: usr/bin/qemu-system-x86_64 -monitor stdio -k de -machine accel=kvm -m 4096 -no- fd-bootchk -fda /home/user/qemu/Win7/floppy -cdrom /home/user/qemu/cd.iso -hda /home/user/qemu/Win7/hda.qcow2 -hdb /home/user/qemu/Win7/acronis.qcow2 -boot once=c,menu=on -net nic,macaddr=00:ef:55:f9:d7:d9,model=rtl8139 -net user -usb -device usb-host,vendorid=0x0c4b,productid=0x0500 -rtc base=localtime -name "Win7"