Hi Volker

On Monday, 22 December 2025 15:45:18 CET Volker Gruenewald wrote:
[...]
> 
> with XEN 4.17 (and earlier) i only do
> 
> xl create /etc/xen/usbvm02.cfg
> xl usbctrl-attach usbvm02 version=3 ports=6
> 
> xl usbdev-attach usbvm02 hostbus=1 hostaddr=5

With the patch I can do:

xl create test2-hvm.cfg

xl usbctrl-attach test2 version=3 ports=6
xl usbdev-attach test2 hostbus=1 hostaddr=2

just fine. So maybe not much changed after all.

Indeed the qemu documentation recommends using the xhcd (usb 3) controller as 
it supports usb1, usb2 and usb3 so no multiple controllers are needed:
https://www.qemu.org/docs/master/system/devices/usb.html

I asked xen upstream if the usb patch can land in their stable-4.20 branch, 
that would be the easiest way to get it into Debian.

$ head -v -n-1 test2-hvm.cfg 
==> test2-hvm.cfg <==
name = "test2"
type = "hvm"
xen_platform_pci = 1
memory = "768"
disk = [
  "phy:/dev/vg0/test-grub,xvda,w",
  "phy:/dev/vg0/test2-root,xvdb,w",
  "phy:/dev/vg0/test2-var,xvdc,w",
  "phy:/dev/vg0/test2-tmp,xvdd,w",
]
vif = [ "type=vif, bridge=br0" ]

Reply via email to