qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble connecting usb storage device to windows 7 vm,


From: Paul Spaan
Subject: trouble connecting usb storage device to windows 7 vm,
Date: Sat, 2 Dec 2023 19:14:48 +0100

dear qemu,

Im using windows 10 and am trying to connect a sandisk usb thumbstick to my windows 7 VM, the usb seem to work, i got mouse attached to it. How do i connect usb stick to it? it ried multiple ways, with nec usb device and product and vendor id, as shown in a youtube video online, but that didnt work. my windows only has usb2 support so i need to do it with ehci. so i tried the following :

qemu-system-x86_64 -boot d -m 4G -drive file=win7.img -drive if=none,id=GenDisk,file=win10.img -usb -cdrom win7.iso -device usb-ehci,id=ehci -device usb-storage,bus=ehci.0,port=2,drive=GenDisk,

but then i get to see my win10 image on my win7 and not the usb, what am i doing wrong, i also dont know if the port number is correct, where can i find the port number for my usb stick (in windows 10)?, i do know the adres = 2 if i can do anything with that. please help, thank you very much,
greetings,

Paul

reply via email to

[Prev in Thread] Current Thread [Next in Thread]