On Mon, Aug 18, 2025 at 04:34:10PM +0200, Maximilian Martin via Devel wrote:
Currently, only vendor/product and bus/device matching are supported for USB host devices. Neither of these provide a stable and persistent way of assigning a guest a specific host device. Vendor/product can be ambiguous. Device numbers change on every enumeration.
This patch adds a bus/port matching, which allows a specific port on the host to be specified using the dotted notation found in Linux's "devpath" sysfs attribute.
The path series is based on the previous work of Thomas Hebb: https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/message/7U3H... This resubmission includes Daniel's patch which extends the USB hostdev test logic.
Thanks, I have tested this code now, so consider the whole series to be Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> I will push this once a CI pipeline succeeds. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|