From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rutger Helling Subject: bug#33750: Virt-manager missing USB/PCI host device options Date: Wed, 19 Dec 2018 09:53:07 +0100 Message-ID: <20181219095307.2e127ddf@mykolab.com> References: <20181215001859.5acd13c3@mykolab.com> <87o99m3wpc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/A..+dY=p2Ir4fdKlPN+dZ7x"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZXcE-0002kE-DT for bug-guix@gnu.org; Wed, 19 Dec 2018 03:54:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZXcB-0006Yi-7k for bug-guix@gnu.org; Wed, 19 Dec 2018 03:54:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZXcA-0006YJ-NF for bug-guix@gnu.org; Wed, 19 Dec 2018 03:54:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZXcA-0002Fe-Eg for bug-guix@gnu.org; Wed, 19 Dec 2018 03:54:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o99m3wpc.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Chris Marusich Cc: 33750@debbugs.gnu.org --Sig_/A..+dY=p2Ir4fdKlPN+dZ7x Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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 wrote: > Rutger Helling writes: >=20 > > 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. =20 >=20 > I don't have the solution, but I might have a work-around or two. >=20 > 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]. >=20 > 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. >=20 > Of course, we should continue to investigate the actual problem. I > only mention these work-arounds in the hopes that it helps you out. >=20 > Footnotes:=20 > [1] https://libvirt.org/formatdomain.html >=20 --Sig_/A..+dY=p2Ir4fdKlPN+dZ7x Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEAVThuRzJ2e93ZI3n86cn20T8yjYFAlwaBvMACgkQ86cn20T8 yjYToAgAuCTYJBQIXSAu0NMgQqU2uZe4snGT4U1FYdVAwsl7Tg+pGsOtdLZ3OFU5 2KLzZDLcJ6jOxH1M3xll7sigiO8fve/buwInj3SOTH2UQyGbDBW9eJ9PoLKHhXxw AiYEZ0MRy0XSDF8kt7lfANIdRox7E6uoqQxG4oFYyLvBPyUgWuP3uZWMTmXRVnIF vlv0NJawL4YeU1fW+RaYERxmTAkBlbNULrqjb0Bej7PMjXPBv90ceOAG2itHqqSQ pOgtxr3lyyCs29oOKxGuc+8sq3ochK0s6qrSTGlxj32ZqRL9QMAHtVUQgi2BC7fN Ttyd+SbRJBsew+PviijqUUvXHgYrkg== =Tn31 -----END PGP SIGNATURE----- --Sig_/A..+dY=p2Ir4fdKlPN+dZ7x--