Provide a unified device handling function #9422
Labels
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
R: duplicate
Resolution: Another issue exists that is very similar to or subsumes this one.
T: enhancement
Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
The problem you're addressing (if any)
Currently, attaching, detaching, and listing devices is performed via three CLI commands
qvm-device
,qvm-block
, andqvm-usb
, and a GUI function of the device widget., having similar, but partially different details and applicability. Furthermore, theqvm-usb
command is restricted to systems runningsys-usb
and has a different way of addressing the devices, and the device widget switches, if possible, transparently between both commands.It would be helpful if the functionality of these three commands was combined into a single function, started either by a single CLI command or, identically, by the device widget GUI function.
While this is probably unimportant for most device classes, it may cause considerable handling problems for USB block devices, which can be handled both via the
qvm-block
command or the device widget on the one hand, or via theqvm-usb
command on the other hand. Especially for Windows VMs, theqvm-block
command may require the Xen PV disk driver to be installed, whereas theqvm-usb
command will work only ifsys-usb
is present, which is not possible if the system is running from a USB drive.The solution you'd like
This new function should use the same UX (CLI and GUI) for any action and should not depend on the current restrictions, and it should address USB block devices using the same names, no matter whether they are connected to
dom0
orsys-usb
.The value to a user, and who that user might be
This would conceptually simplify the use of external devices and avoid pitfalls like those currently discussed in the forum, especially as, at the moment, it is not clear if the complete functionality provided under Qubes R4.1 is available under R4.2, too.
Completion criteria checklist
(This section is for developer use only. Please do not modify it.)
The text was updated successfully, but these errors were encountered: