Your message dated Fri, 14 Jul 2023 13:52:58 +0000
with message-id <[email protected]>
and subject line Bug#1037341: fixed in qemu 1:7.2+dfsg-7+deb12u1
has caused the Debian Bug report #1037341,
regarding Missing USB and other support in qemu
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1037341: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037341
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

 

 


--- End Message ---
--- Begin Message ---
Source: qemu
Source-Version: 1:7.2+dfsg-7+deb12u1
Done: Michael Tokarev <[email protected]>

We believe that the bug you reported is fixed in the latest version of
qemu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <[email protected]> (supplier of updated qemu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 11 Jul 2023 23:07:58 +0300
Source: qemu
Architecture: source
Version: 1:7.2+dfsg-7+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian QEMU Team <[email protected]>
Changed-By: Michael Tokarev <[email protected]>
Closes: 1029155 1037341
Changes:
 qemu (1:7.2+dfsg-7+deb12u1) bookworm; urgency=medium
 .
   * d/rules: add the forgotten --enable-libusb for the xen build.
     This makes usb devices available for xen hvm domUs again,
     as it has always been before. Closes: #1037341
   * update to upstream 7.2.3 stable/bugfix release, v7.2.3.diff,
     https://gitlab.com/qemu-project/qemu/-/commits/v7.2.3 :
    - vnc: avoid underflow when accessing user-provided address
    - target/i386: Change wrong XFRM value in SGX CPUID leaf
      (was in debian already)
    - acpi: pcihp: allow repeating hot-unplug requests
    - qemu-options: finesse the recommendations around -blockdev
    - docs/about/deprecated.rst: Add "since 7.1" tag to dtb-kaslr-seed
      deprecation
    - target/arm: Initialize debug capabilities only once
    - hw/net/msf2-emac: Don't modify descriptor in-place in emac_store_desc()
    - hw/arm/boot: Make write_bootloader() public as arm_write_bootloader()
    - hw/arm/aspeed: Use arm_write_bootloader() to write the bootloader
    - hw/arm/raspi: Use arm_write_bootloader() to write boot code
    - hw/intc/allwinner-a10-pic: Don't use set_bit()/clear_bit()
    - target/arm: Define and use new load_cpu_field_low32()
    - hw/sd/allwinner-sdhost: Correctly byteswap descriptor fields
    - hw/net/allwinner-sun8i-emac: Correctly byteswap descriptor fields
    - softfloat: Fix the incorrect computation in float32_exp2
    - meson: leave unnecessary modules out of the build
    - block: Fix use after free in blockdev_mark_auto_del()
    - target/riscv: Fix itrigger when icount is used
    - accel/tcg: Fix atomic_mmu_lookup for reads
    - ui: Fix pixel colour channel order for PNG screenshots
    - async: Suppress GCC13 false positive in aio_bh_poll()
    - tcg: ppc64: Fix mask generation for vextractdm
    - hw/virtio/vhost-user: avoid using uninitialized errp
    - virtio: fix reachable assertion due to stale value of cached region size
    - block/monitor: Fix crash when executing HMP commit
    - target/s390x: Fix EXECUTE of relative branches
    - s390x/tcg: Fix LDER instruction format
    - 9pfs/xen: Fix segfault on shutdown
    - xen/pt: reserve PCI slot 2 for Intel igd-passthru
    - Revert "vhost-user: Monitor slave channel in vhost_user_read()"
    - Revert "vhost-user: Introduce nested event loop in vhost_user_read()"
    - target/ppc: Fix helper_pminsn() prototype
    - tests/docker: bump the xtensa base to debian:11-slim
    - linux-user: Fix mips fp64 executables loading
    - linux-user: fix getgroups/setgroups allocations
      (was in debian already)
    - migration: Handle block device inactivation failures better
    - migration: Minor control flow simplification
    - migration: Attempt disk reactivation in more failure scenarios
    - target/arm: Fix vd == vm overlap in sve_ldff1_z
    - scsi-generic: fix buffer overflow on block limits inquiry
    - target/i386: fix operand size for VCOMI/VUCOMI instructions
    - target/i386: fix avx2 instructions vzeroall and vpermdq
    - vhost: fix possible wrap in SVQ descriptor ring
    - virtio-net: not enable vq reset feature unconditionally
    - virtio-crypto: fix NULL pointer dereference in virtio_crypto_free_request
    - e1000: Count CRC in Tx statistics
    - e1000e: Fix tx/rx counters
    - rtl8139: fix large_send_mss divide-by-zero
      (was in debian already)
    - util/vfio-helpers: Use g_file_read_link()
    - usb/ohci: Set pad to 0 after frame update
    - hw/scsi/lsi53c895a: Fix reentrancy issues in the LSI controller
      (Closes: #1029155, CVE-2023-0330)
    - machine: do not crash if default RAM backend name has been stolen
    - Update version for 7.2.3 release
   * update to upstream 7.2.4 stable/bugfix release, v7.2.4.diff,
     https://gitlab.com/qemu-project/qemu/-/commits/v7.2.4 :
    - gitlab-ci: Avoid to re-run "configure" in the device-crash-test jobs
    - scripts/device-crash-test: Add a parameter to run with TCG only
    - hw/ppc/prep: Fix wiring of PIC -> CPU interrupt
    - ui/gtk: fix passing y0_top parameter to scanout
    - ui/gtk: use widget size for cursor motion event
    - ui/gtk-egl: fix scaling for cursor position in scanout mode
    - ui/sdl2: fix surface_gl_update_texture: Assertion 'gls' failed
    - ui/sdl2: Grab Alt+Tab also in fullscreen mode
    - ui/sdl2: Grab Alt+F4 also under Windows
    - ui/sdl2: disable SDL_HINT_GRAB_KEYBOARD on Windows
    - hw/dma/xilinx_axidma: Check DMASR.HALTED to prevent infinite loop.
    - hw/arm/xlnx-zynqmp: fix unsigned error when checking the RPUs number
    - target/arm: Explicitly select short-format FSR for M-profile
    - target/s390x: Fix LCBB overwriting the top 32 bits
    - tests/tcg/s390x: Test LCBB
    - target/s390x: Fix LOCFHR taking the wrong half of R2
    - tests/tcg/s390x: Test LOCFHR
    - linux-user/s390x: Fix single-stepping SVC
    - tests/tcg/s390x: Test single-stepping SVC
    - s390x/tcg: Fix CPU address returned by STIDP
    - docs: fix multi-process QEMU documentation
    - qga: Fix suspend on Linux guests without systemd
    - 9pfs: prevent opening special files (CVE-2023-2861)
    - hw/remote: Fix vfu_cfg trace offset format
    - vnc: move assert in vnc_worker_thread_loop
    - target/ppc: Fix lqarx to set cpu_reserve
    - target/ppc: Fix nested-hv HEAI delivery
    - target/ppc: Fix PMU hflags calculation
    - hw/riscv: qemu crash when NUMA nodes exceed available CPUs
    - aspeed/hace: Initialize g_autofree pointer
    - target/arm: Fix return value from LDSMIN/LDSMAX 8/16 bit atomics
    - target/arm: Return correct result for LDG when ATA=0
    - hw/intc/allwinner-a10-pic: Handle IRQ levels other than 0 or 1
    - hw/timer/nrf51_timer: Don't lose time when timer is queried in tight loop
    - host-utils: Avoid using __builtin_subcll on buggy versions of Apple Clang
    - pc-bios/keymaps: Use the official xkb name for Arabic layout,
      not the legacy synonym
    - target/hppa: Fix OS reboot issues
    - target/hppa: Provide qemu version via fw_cfg to firmware
    - target/hppa: New SeaBIOS-hppa version 7
      (minus the binary pc-bios/hppa-firmware.img changes)
    - target/hppa: Update to SeaBIOS-hppa version 8
      (minus the binary pc-bios/hppa-firmware.img changes)
    - vhost: release memory_listener object in error path
    - vdpa: fix not using CVQ buffer in case of error
    - vhost-vdpa: do not cleanup the vdpa/vhost-net structures if peer nic
      is present
    - virtio-gpu: Make non-gl display updates work again when blob=true
    - icount: don't adjust virtual time backwards after warp
    - vdpa: mask _F_CTRL_GUEST_OFFLOADS for vhost vdpa devices
    - target/ppc: Fix decrementer time underflow and infinite timer loop
    - vfio/pci: Fix a segfault in vfio_realize
    - vfio/pci: Call vfio_prepare_kvm_msi_virq_batch() in MSI retry path
    - ui/gtk: set the area of the scanout texture correctly
    - Update version for 7.2.4 release
   * remove patches included in v7.2.4:
    - linux-user-fix-getgroups-setgroups-allocations.patch
    - rtl8139-fix-large_send_mss-divide-by-zero.patch
    - target_i386-Change-wrong-XFRM-value.patch
Checksums-Sha1:
 76ef45f8d02601c7dd9a2bd2d870dea52f885aa1 6482 qemu_7.2+dfsg-7+deb12u1.dsc
 cf3b648db0aea3d6fe590c56b3b20cbf39bef0cf 156952 
qemu_7.2+dfsg-7+deb12u1.debian.tar.xz
 808953e98e65f4c963df88e14f16a7e546cd2806 13881 
qemu_7.2+dfsg-7+deb12u1_source.buildinfo
Checksums-Sha256:
 9da7198926ab35161ed165438545fcaca3b916b75559df2ec270491f2155bba0 6482 
qemu_7.2+dfsg-7+deb12u1.dsc
 54f4862ed3e41c82d3b1405a706e214d8bdced8a697577325e23375d7df71367 156952 
qemu_7.2+dfsg-7+deb12u1.debian.tar.xz
 f79f4d232d0484e0947859596568b888b8c697818f54b1690d6c6bbea93d8a9e 13881 
qemu_7.2+dfsg-7+deb12u1_source.buildinfo
Files:
 41bb958053ad5b91128040f09c7b6d55 6482 otherosfs optional 
qemu_7.2+dfsg-7+deb12u1.dsc
 658e6f6b10de43a421c961e7836d73ea 156952 otherosfs optional 
qemu_7.2+dfsg-7+deb12u1.debian.tar.xz
 790edcd98004858c60ac4780f16e9d4c 13881 otherosfs optional 
qemu_7.2+dfsg-7+deb12u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFDBAEBCgAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmSttuwPHG1qdEB0bHMu
bXNrLnJ1AAoJEHAbT2saaT5ZEE0H/20YBaYwIyDIj38omv0SD4Qyl6qIzvJSOLfD
nVPOWbFkGV7B3koX8SyErgUfMBNA4d2GOkaztv28poe9gZJjQYCJZVFLxPmMVOxb
ptezJvGyx4Rf48/fq/bhlP4lUrQpXZP4tcpc36KADaoNPW0pPIPfQvBUPE+fYddS
ulDtVpcgBtYwQejDpk+i4doWeqoF/THG7WST1VovpOJl2xKJH0WuYDXc2qM+ke+q
qad9vQKAYfbUtrGIPBMZKHjBjP3WEu5QhdWR2kJr1JT3kOU5YlZRqjAiCv0cC1WO
T5yfTx9d0wbwbbt/eoFUdloZihlG38i/hPQ/Paodd0hIQHg25Gc=
=RyIb
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to