You are not logged in.

#1 2022-05-05 10:17:23

Registered: 2022-05-05
Posts: 2

Qemu 7.0 - usb-host issue

Hello all,
I tried to update qemu to 7.0, I installed qemu-system-x86-7.0.0-9-x86_64.pkg.tar.zst and qemu-common-7.0.0-9-x86_64.pkg.tar.zst, from the arch repo.

I'm trying to start a vm with virsh, but an error pops up:

'usb-host' is not a valid device model name

Regarding usb, I have in my xml a usb device attached to a virtual usb controller:

    <hostdev mode='subsystem' type='usb' managed='no'>
        <vendor id='0x148f'/>
        <product id='0x3070'/>
      <address type='usb' bus='0' port='1'/>

And obviously the virtual usb controllers:

    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>

From my searches it seems that the qemu package was compiled without libusb support?
Qemu was splitted in several packages in 7.0, so maybe I'm missing something?

Thank you for your time


#2 2022-05-05 10:21:26

Forum Moderator
Registered: 2012-10-16
Posts: 22,110

Re: Qemu 7.0 - usb-host issue

qemu-hw-usb-host as a package would be my guess, read/look at the optional dependencies of the qemu package, from a general standpoint it seems qemu-desktop is intended as a baseline metapackage for desktop virtual machines.

Moving to [testing]... More generally note that partial upgrades are unsupported and you might run into more and different trouble if you only selectively pick from testing, thougb I'd assume qemu to be fairly self contained.

Last edited by V1del (2022-05-05 10:24:20)


#3 2022-05-05 10:34:54

Registered: 2022-05-05
Posts: 2

Re: Qemu 7.0 - usb-host issue

V1del wrote:

qemu-hw-usb-host as a package would be my guess

Thank you very much, this is the solution, thank you also for the additional advice.
Much appreciated


Board footer

Powered by FluxBB