On Mon, Jan 27, 2020 at 11:37:01AM +0000, unman wrote:
I run named disposable sys-usbs, from a usb template. In my experience
it is *not* necessary to pass the reset option on each boot. The option
is set once and applies on every boot.
(On one x230 I have a separate print usb, and just switch between the
standard named usb and print qube without any issues. Again the reset
option is set once.)

I cant account for what's happening in your set-up.
I'm assuming that your original sys-usb worked fine.
Take a step back: delete all the disposable sys-usb, and confirm that
your sys-usb works fine.
Then create a disposable template - confirm tat *that* works fine.
Then create disposable sys-usb.

If you hit a problem, tell us what hardware you have.

You quoted a different message than the one you were replying to...

The confusion appears to have been that I thought no-strict-reset was a
setting applied to a PCI device. Instead it appears to be an option
applied to a specific connection between a PCI device and a VM.

Therefore, when *attaching* a PCI device to a VM, you must pass
`--option no-strict-rest=True` *each time you attach the device
manually.*

If you use `--persistent` with qvm-pci then naturally the option is
passed every time you start the VM.

This means that it is not sufficient to do:
```
qvm-pci attach --persistent --option no-strict-reset=True VMNAME DEVICE
qvm-pci attach --persistent OTHER_VMNAME DEVICE
```

Instead you must do:
```
qvm-pci attach --persistent --option no-strict-reset=True VMNAME DEVICE
qvm-pci attach --persistent --option no-strict-reset=True OTHER_VMNAME DEVICE
```

And under no circumstances may you do:
```
qvm-pci attach --persistent --option no-strict-reset=True VMNAME DEVICE
qvm-pci detach VMNAME DEVICE
qvm-pci attach --persistent VMNAME DEVICE
```

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200128033013.GA2550%40danwin1210.me.

Reply via email to