Power state changes are signaled with events too, so it is possible to cache it and update/invalidate cache with events. Additionally, admin.vm.List returns a power state, so the cache can be populated early. This in particular greatly improves qvm-ls performance - eliminate admin.vm.CurrentState call at all. QubesOS/qubes-issues#3293 |
||
|---|---|---|
| .. | ||
| backup | ||
| tools | ||
| vm | ||
| __init__.py | ||
| app.py | ||
| devices.py | ||
| errors.py | ||
| events.py | ||
| features.py | ||
| firewall.py | ||
| label.py | ||
| storage.py | ||
| tags.py | ||
| utils.py | ||