-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device handling API design issues #4626
Comments
Those also should be two separate Admin API methods, instead of just |
Another issue with the current devices API is how new devices are announced - there is just a |
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
So, I made a proposal for how the new API should look like from the client perspective. Any comments, @marmarek ? |
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
This is not a working API, this is just a proposal for it. references QubesOS/qubes-issues#4626
Qubes R4.0:
Event 'device-attached' means two essentially different things:
Those should be two different events: an actual device-attach and some sort of device-assigned-to-vm, because the current way leads to tears and heartbreak and confusion.
Idea of "persistent" assignment doesn't really fit for some devices. It's okay-ish for PCI, as those devices are not hot-pluggable (mostly), but not so much for USB. The most weirdest is when VM is started with a device attached persistently, but then the device is unplugged. Now device is still "attached persistently", but not really attached (or even present).
There are also other problems like #4780. Also, it's useful to be able to start a VM even if device currently is missing (and attach it when device will be plugged in).
The text was updated successfully, but these errors were encountered: