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, q
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
Version:
# libvirtd --version
libvirtd (libvirt) 4.9.0
# qemu-img --version
qemu-img version 2.12.0 (qemu-kvm-ev-2.12.0-44.1.el7_9.1)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
yaohua.wu
发件人: YaoHua Wu
发送时间: 2020-12-08 16:14
收件人: libvirt-users
主题: Cannot passthrou
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: