Re: Cannot passthrough usb with bus number and device number

2020-12-08 Thread YaoHua Wu
Yes, I checked the libvirt code and found that the strtoul function is used to do the hexadecimal conversion, thank you for your reply :) yaohua...@zstack.io From: YaoHua Wu Date: 2020-12-08 16:14 To: libvirt-users Subject: Cannot passthrough usb with bus number and device number Sometimes

Re: Cannot passthrough usb with bus number and device number

2020-12-08 Thread Andreas Tscharner
On 08.12.20 09:14, YaoHua Wu wrote: Sometimes, qemu cannot find correct usb device number Reproduce steps: 1、lsusb Bus 001 Device 011: ID 090c:1000 1、prepare usb device attach xml 2、virsh attach-device vm usb.xml error: internal error: Did not find USB device 090c:1000 bus:1 device 9 Ques

回复: Cannot passthrough usb with bus number and device number

2020-12-08 Thread YaoHua Wu
passthrough usb with bus number and device number Sometimes, qemu cannot find correct usb device number Reproduce steps: 1、lsusb Bus 001 Device 011: ID 090c:1000 1、prepare usb device attach xml 2、virsh attach-device vm usb.xml error: internal error: Did not find USB

Cannot passthrough usb with bus number and device number

2020-12-08 Thread YaoHua Wu
Sometimes, qemu cannot find correct usb device number Reproduce steps: 1、lsusb Bus 001 Device 011: ID 090c:1000 1、prepare usb device attach xml 2、virsh attach-device vm usb.xml error: internal error: Did not find USB device 090c:1000 bus:1 device 9 Question: