core-admin/qubes
Marek Marczykowski-Górecki d0b8933374
devices: add assignment.device property
Make it easy to retrieve DeviceInfo object out of DeviceAssignment
object. The only missing piece of information for that is device class,
so add it. Make it optional, as it can be filled on demand when passing
the object through DeviceCollection (either by listing devices, or
attaching/detaching).

This is mostly to ease handling options in libvirt template - to get
them, you need to use `assignments()`, istead of `persistent()` or
`attached()`, but there were no _simple_ way of getting actual device
object.

This also makes DeviceCollection._device method not needed anymore.
2017-05-22 03:21:07 +02:00
..
api admin: add admin.vm.Remove method 2017-05-19 18:49:21 +02:00
ext pci: fix device-pre-attach event signature 2017-05-19 18:49:22 +02:00
qmemman qmemman: update for py3k 2017-02-27 02:37:49 +01:00
storage storage: make LinuxKernel pool track vm kernel version 2017-05-17 11:17:21 +02:00
tests admin: add admin.vm.Remove method 2017-05-19 18:49:21 +02:00
tools qmemman: fix list/filter handling on python3 2017-05-18 09:44:48 +02:00
vm vm: make sure qmemman connection is closed even on failed VM startup 2017-05-17 11:17:22 +02:00
__init__.py property: add property.__str__ 2017-05-19 18:49:21 +02:00
app.py qubes/app: don't fail on saving qubes.xml when 'qubes' group isn't there 2017-05-12 18:11:27 +02:00
backup.py backup: add a little more usage info, include docs in main index 2017-04-21 19:58:32 +02:00
config.py Remove unused helper scripts 2017-05-12 18:43:35 +02:00
core2migration.py Make pylint ♥ 2017-04-15 23:50:11 +02:00
devices.py devices: add assignment.device property 2017-05-22 03:21:07 +02:00
dochelpers.py Add documentation for mgmt 2017-03-13 21:51:52 +01:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
exc.py mgmt: vm.features handling (mgmt.vm.feature.*) 2017-05-12 14:25:28 +02:00
firewall.py firewall: add clone and comparing methods, missing docstrings 2017-05-16 09:05:00 +02:00
log.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
rngdoc.py Make pylint happy 2017-04-21 16:57:35 +02:00
tarwriter.py Make pylint happy 2017-04-21 16:57:35 +02:00
utils.py Make pylint happy 2017-04-21 16:57:35 +02:00