core-admin-client/qubesadmin/vm
Marek Marczykowski-Górecki 2f7d1ca476
vm: fix handling policy deny on admin.vm.List
vm.get_power_state() have specifically documented 'NA' state for cases
when it's unable to get VM's power state. Use this when qrexec policy
forbid checking it.

Reported by @pietrushnic
Fixes QubesOS/qubes-issues#3179
2017-10-16 01:32:56 +02:00
..
__init__.py vm: fix handling policy deny on admin.vm.List 2017-10-16 01:32:56 +02:00