Package: qemu-system-x86

Version: 1:7.2+dfsg-7

 

# /usr/sbin/xl usbdev-attach vm_bim hostbus=${BUS} hostaddr=${DEV}

libxl: error: libxl_qmp.c:1837:qmp_ev_parse_error_messages: Domain
19:'usb-host' is not a valid device model name

libxl: error: libxl_device.c:1468:device_addrm_aocomplete: unable to add
device

libxl_device_usbdev_add failed.

 

The error occurs when trying to attach a physical USB device to a domU.

Upgraded from bullseye and started the existing XEN domU. The domU worked
fine with bullseye, the USB passthrough also.

 

The steps with running domU:

*       # /usr/sbin/xl usbctrl-attach vm1 version=1
*       # /usr/sbin/xl usbdev-attach vm1 hostbus=${BUS} hostaddr=${DEV}

 

The expected behavior is working USB passthrough.

The package might compiled with incomplete parameters . --enable-libusb
seems missing.

 

uname -a

Linux xen 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03)
x86_64 GNU/Linux

 

Dependencies:

ii  ipxe-qemu             1.0.0+git-20190125.36a4c85-5.1 all          PXE
boot firmware - ROM images for qemu

ii  libaio1:amd64         0.3.113-4                      amd64        Linux
kernel AIO access library - shared library

ii  libbpf1:amd64         1:1.1.0-1                      amd64        eBPF
helper library (shared library)

ii  libc6:amd64           2.36-9                         amd64        GNU C
Library: Shared libraries

ii  libcapstone4:amd64    4.0.2-5                        amd64
lightweight multi-architecture disassembly framework - library

ii  libfdt1:amd64         1.6.1-4+b1                     amd64        Flat
Device Trees manipulation library

ii  libfuse3-3:amd64      3.14.0-4                       amd64
Filesystem in Userspace (library) (3.x version)

ii  libgcc-s1:amd64       12.2.0-14                      amd64        GCC
support library

ii  libglib2.0-0:amd64    2.74.6-2                       amd64        GLib
library of C routines

ii  libgmp10:amd64        2:6.2.1+dfsg1-1.1              amd64
Multiprecision arithmetic library

ii  libgnutls30:amd64     3.7.9-2                        amd64        GNU
TLS library - main runtime library

ii  libhogweed6:amd64     3.8.1-2                        amd64        low
level cryptographic library (public-key cryptos)

ii  libibverbs1:amd64     44.0-2                         amd64
Library for direct userspace use of RDMA (InfiniBand/iWARP)

ii  libjpeg62-turbo:amd64 1:2.1.5-2                      amd64
libjpeg-turbo JPEG runtime library

ii  libnettle8:amd64      3.8.1-2                        amd64        low
level cryptographic library (symmetric and one-way cryptos)

ii  libnuma1:amd64        2.0.16-1                       amd64
Libraries for controlling NUMA policy

ii  libpixman-1-0:amd64   0.42.2-1                       amd64
pixel-manipulation library for X and cairo

ii  libpmem1:amd64        1.12.1-2                       amd64
Persistent Memory low level support library, v1 runtime

ii  libpng16-16:amd64     1.6.39-2                       amd64        PNG
library - runtime (version 1.6)

ii  librdmacm1:amd64      44.0-2                         amd64
Library for managing RDMA connections

ii  libsasl2-2:amd64      2.1.28+dfsg-10                 amd64        Cyrus
SASL - authentication abstraction library

ii  libseccomp2:amd64     2.5.4-1+b3                     amd64        high
level interface to Linux seccomp filter

ii  libslirp0:amd64       4.7.0-1                        amd64
General purpose TCP-IP emulator library

ii  libudev1:amd64        252.6-1                        amd64
libudev shared library

ii  liburing2:amd64       2.3-3                          amd64        Linux
kernel io_uring access library - shared library

ii  libvdeplug2:amd64     4.0.1-4                        amd64
Virtual Distributed Ethernet - Plug library

ii  libzstd1:amd64        1.5.4+dfsg2-5                  amd64        fast
lossless compression algorithm

ii  qemu-system-common    1:7.2+dfsg-7                   amd64        QEMU
full system emulation binaries (common files)

ii  qemu-system-data      1:7.2+dfsg-7                   all          QEMU
full system emulation (data files)

ii  seabios               1.16.2-1                       all          Legacy
BIOS implementation

ii  zlib1g:amd64          1:1.2.13.dfsg-1                amd64
compression library - runtime

 

Reverting to qemu-system-x86=1:5.2+dfsg-11+deb11u2 solves the problem
temporary.

 

Regards,

Gwyll

 

 

Reply via email to