PingAm 18.08.25, 16:40 schrieb Maximilian Martin via Devel lists.libvirt.org>:
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
From: Maximilian Martin
Adds documentation for the new USB bus/port addressing.
The new "port" attribute is explained.
Resolves: https://gitlab.com/libvirt/libvirt/-/issues/513
Signed-off-by: Maximilian Martin
---
docs/formatdomain.rst | 29 -
1 file changed, 16 ins
From: Maximilian Martin
Adds USB bus/port addressing the domain XML file
schema. Optionally, the physical USB port can be
declared instead of the USB device address.
Signed-off-by: Maximilian Martin
---
src/conf/schemas/domaincommon.rng | 11 ---
1 file changed, 8 insertions(+), 3 dele
From: Maximilian Martin
The USB vendor/product is usually translated into a device/bus at
startup using the hostdev logic. We don't run the latter in the
unit test suite, but we can fake it by hardcoding a translation.
This demonstrates that we format the command line with the normal
device/bus p
From: Maximilian Martin
This adds the physical USB port to the capabilities of a
USB device in nodedev XML.
example: 1.4
Signed-off-by: Maximilian Martin
---
src/conf/node_device_conf.c | 5 +++
src/conf/node_device_conf.h | 1 +
src/conf/schemas/basictype
From: Maximilian Martin
USB bus/port addressing is translated into a bus/device addressing
at startup using the hostdev logic. This test covers XML parsing
and CLI formatting for bus/port addressing.
Signed-off-by: Maximilian Martin
---
...ostdev-usb-address-port.x86_64-latest.args | 36 ++
From: Maximilian Martin
This patch implements USB bus/port matching. In addition
to vendor/product and bus/device matching, bus/port
matching is implemented. This involves additions and
refactorings in the domain configuration, host device
handling, and USB helpers. Also, test methods are
refacto
From: Maximilian Martin
This patch adds devpath files to the virusb test data.
These files are mockups for the USB sysfs files that
contain the port of a USB device in dotted notation.
They are used for testing of USB bus/port matching.
Signed-off-by: Maximilian Martin
---
tests/virusbtestdata
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 ma
u, Jun 26, 2025 at 06:01:30PM +0200, Maximilian Martin wrote:
Am 23.06.2025 um 16:50 schrieb Daniel P. Berrangé:
On Mon, Apr 21, 2025 at 09:38:34PM +0200, Maximilian Martin via Devel wrote:
This resubmission splits up the previous patch into multiple patches and
incorporates review comme
Am 23.06.2025 um 16:50 schrieb Daniel P. Berrangé:
On Mon, Apr 21, 2025 at 09:38:34PM +0200, Maximilian Martin via Devel wrote:
This resubmission splits up the previous patch into multiple patches and
incorporates review comments from Michal Prívozník.
Currently, only vendor/product and bus
Am 23.06.2025 um 16:32 schrieb Daniel P. Berrangé via Devel:
On Mon, Jun 23, 2025 at 04:11:25PM +0200, Michal Prívozník via Devel wrote:
On 4/21/25 21:38, Maximilian Martin via Devel wrote:
This resubmission splits up the previous patch into multiple patches and
incorporates review comments
Bump :)
Am 20.05.2025 um 20:49 schrieb Maximilian Martin:
Friendly ping :)
Am 21.04.2025 um 21:38 schrieb Maximilian Martin via Devel:
This resubmission splits up the previous patch into multiple patches and
incorporates review comments from Michal Prívozník.
Currently, only vendor/product
Friendly ping :)
Am 21.04.2025 um 21:38 schrieb Maximilian Martin via Devel:
This resubmission splits up the previous patch into multiple patches and
incorporates review comments from Michal Prívozník.
Currently, only vendor/product and bus/device matching are supported for USB
host
devices
From: Maximilian Martin
Adds documentation for the new USB bus/port addressing.
The new "port" attribute is explained.
Signed-off-by: Maximilian Martin
---
docs/formatdomain.rst | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/docs/formatdomai
From: Maximilian Martin
This patch implements USB bus/port matching. In addition
to vendor/product and bus/device matching, bus/port
matching is implemented. This involves additions and
refactorings in the domain configuration, host device
handling, and USB helpers. Also, test methods are
refacto
This resubmission splits up the previous patch into multiple patches and
incorporates review comments from Michal Prívozník.
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 spec
From: Maximilian Martin
This patch adds devpath files to the virusb test data.
These files are mockups for the USB sysfs files that
contain the port of a USB device in dotted notation.
They are used for testing of USB bus/port matching.
Signed-off-by: Maximilian Martin
---
tests/virusbtestdata
From: Maximilian Martin
Adds USB bus/port addressing the domain XML file
schema. Optionally, the physical USB port can be
declared instead of the USB device address.
Signed-off-by: Maximilian Martin
---
src/conf/schemas/domaincommon.rng | 11 ---
1 file changed, 8 insertions(+), 3 dele
Ping :)
It's a much requested feature and certainly a low-hanging fruit.
I'm happy to integrate feedback!
Am 17.03.2025 um 21:59 schrieb Maximilian Martin via Devel:
From: Maximilian Martin
Currently, only vendor/product and bus/device matching are supported for USB
host
device
From: Maximilian Martin
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.
Thi
21 matches
Mail list logo