Google Groupes

Re: [qubes-users] Error while assigning USB-Controller to usb-vm


Marek Marczykowski-Górecki 26 avr. 2015 13:13
Envoyé au groupe : qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Apr 25, 2015 at 11:19:06PM +0200, Fabian Wloch wrote:
> Hello,
> i just installed Qubes R3 on my Notebook (MSI Gp60 2PE Leopard), which works
> fine, beside 1 thing: I cant assign my USB Controller to an USB-VM.
> To be more exactly, only the USB 3.0 Controller is affected.
>
> If i assign the controller to the VM, i get the following Error:
> <----------------->
> Error starting domain: internal error Unable to reset PCI
> device 0000:00:14.0: no FLR, PM reset or bus reset available.
> <----------------->
>
> The thing is, that this worked pretty fine under R2, which is why im
> wondering why it isnt working now.
>
> I dont really find an answer which is helping me. The only solution i found,
> was to assign all other PCI devices to that VM which are running under the
> same bus as the mentioned device. But i have no idea how to find out, which
> devices are meant actually.
> And the thing i mentioned above - under Version R2 it worked, so this
> couldnt be the problem, right?
>
> Has anyone any suggestions?

This is a "feature"... Toolstack used in Qubes R2 ignore any errors
during reset of PCI device (either during device assignment to VM, or
cleanup). In R3 we use libvirt, which does not ignore such errors. And
it isn't configurable there.

I'm working on some workaround for that, but the default is correct -
assigning to VM a PCI device which does not support reset isn't safe and
shouldn't be done.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVPUbcAAoJENuP0xzK19csHncH/2LItiyRjkQLvV3bNaAmYzl0
JP+pFmxn8o7Nk7Kj1EnWWW9hhsCmGGut62dlUG1bptEWvXpQnySONu4/e/6EeGr4
VImMuWDmyqz5auHX1EsT5OaBFyPUmoCWdOA78HaMUa6k1Nud7XmUqjaasBWs20OY
PxKqWuQhnVHicvr6aUbAAeTqdVTemkZ2YFBb9GUGAbf3UbHgq659/plZR1DUjWiH
fdR4Im+0HNkiSr4brV1fVNjlSi3J7GFhcLTd2ReJJnvXG/sODS32Zti1p47tKkgq
GyohnAyRNIxpphHBRhLryXPhBK1PdOjLirDhYyrkqNTMCKOVDmCuHk3XKGBxj7c=
=Aw6p
-----END PGP SIGNATURE-----