[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33750: Virt-manager missing USB/PCI host device options
From: |
Rutger Helling |
Subject: |
bug#33750: Virt-manager missing USB/PCI host device options |
Date: |
Wed, 19 Dec 2018 09:53:07 +0100 |
Hi Chris,
Thanks for the tips, but I already knew how to work around it. The
point was more that it shouldn't be greyed out. I tried adding
libpciaccess to libvirt, unfortunately that alone didn't do the trick.
On Sat, 15 Dec 2018 20:46:39 -0800
Chris Marusich <address@hidden> wrote:
> Rutger Helling <address@hidden> writes:
>
> > In virt-manager when clicking "Add hardware" on a VM the USB/PCI
> > Host Device boxes are greyed out with the message "Connection does
> > not support host device enumeration". It seems we're missing some
> > dependencies.
>
> I don't have the solution, but I might have a work-around or two.
>
> FYI, even though I also observe the problem you describe, it's
> actually still possible to assign a PCI device to a VM by using
> virsh's "attach-device" command. See "man virsh" for details. This
> requires you to craft an XML file describing the device you wish to
> attach to your VM [1].
>
> In addition, if your goal is just to pass a USB device through to the
> guest, you might try running virt-manager as root. This has worked
> for me in the past.
>
> Of course, we should continue to investigate the actual problem. I
> only mention these work-arounds in the hopes that it helps you out.
>
> Footnotes:
> [1] https://libvirt.org/formatdomain.html
>
pgp7cvJnjDn_u.pgp
Description: OpenPGP digital signature