Opened 2 years ago
Closed 2 years ago
#252 closed defect (fixed)
Core should automaticaly unbind all pci devs that are assigned to a VM that is being started
| Reported by: | joanna | Owned by: | marmarek |
|---|---|---|---|
| Priority: | major | Milestone: | Release 1 Beta 2 |
| Component: | core | Keywords: | |
| Cc: |
Description
Change History (2)
comment:1 Changed 2 years ago by marmarek
- Owner changed from joanna to marmarek
- Status changed from new to assigned
comment:2 Changed 2 years ago by marmarek
- Resolution set to fixed
- Status changed from assigned to closed
- PCI devices assigned to VM are bound to pciback at VM start
- new tool qvm-pci
Note: See
TracTickets for help on using
tickets.

Besides, we should, I think, implement some better pci dev management
support in qubes.py. E.g. the QubesVM class should offer methods such as
add_pci_dev(), get_pci_devs(), revoke_pci_dev().
Then it would be trival to write a useful supporting tools, such as:
qvm-lspci, qvm-add-pci-to-vm, qvm-revoke-pci-from-vm.
The current scheme (treating all the pcidevs as a argument string) is
not very fortunate -- qvm-pref is not able to detect simple errors (such
as missing quotation mark, and it also makes it harder to automatically
unbind all the pci devs assigned to VMs.