core-admin/qubes
Marek Marczykowski-Górecki ae600e24bf
storage: simplify pool.volumes usage
Add convenient collection wrapper for easier getting selected volume.
Storage pool implementation may still provide only volume listing
function (pool.list_volumes), or, additionally, optimized
pool.get_volume.

This means it is both possible to iterate over volumes:
```python
for volume in pool.volumes:
    ...

```

And get a single volume:
```python
volume = pool.volumes[vid]
```

QubesOS/qubes-issues#2256
2017-06-26 13:09:26 +02:00
..
api
ext
qmemman
storage storage: simplify pool.volumes usage 2017-06-26 13:09:26 +02:00
tests
tools Merge branch 'core3-qmemman-fix' 2017-06-22 23:16:35 +02:00
vm Merge branch 'core3-devel-20170619' 2017-06-23 02:53:17 +02:00
__init__.py
app.py
backup.py backup: add a little more usage info, include docs in main index 2017-04-21 19:58:32 +02:00
config.py vm: make vm.hvm=True by default 2017-06-05 23:38:30 +02:00
core2migration.py Make pylint ♥ 2017-04-15 23:50:11 +02:00
devices.py
dochelpers.py
events.py
exc.py
firewall.py firewall: add clone and comparing methods, missing docstrings 2017-05-16 09:05:00 +02:00
log.py
rngdoc.py
tarwriter.py
utils.py