core-admin/qubes-rpc
Marek Marczykowski-Górecki f42cd28901
admin-api: create and install actual Admin API RPC endpoints
Install files in /etc/qubes-rpc for all methods defined in API
documentation, even if not yet implemented (qubesd will handle it
raising appropriate exception).
Use minimal program written in C (qubesd-query-fast), instead of
qubesd-query in python for performance reasons:
 - a single qubesd-query run: ~300ms
 - equivalent in shell (echo | nc -U): ~40ms
 - qubesd-query-fast: ~20ms

Many tools makes multiple API calls, so performance here do matter. For
example qvm-ls (from VM) currently takes about 60s on a system with 24
VMs.

Also make use of `$include:` directive in policy file, to make it easier
defining a VM with full Admin API access.

QubesOS/qubes-issues#853
2017-05-23 03:24:15 +02:00
..
.gitignore admin-api: create and install actual Admin API RPC endpoints 2017-05-23 03:24:15 +02:00
Makefile admin-api: create and install actual Admin API RPC endpoints 2017-05-23 03:24:15 +02:00
qubes-notify-tools hvm: update appmenus only on the first qubes.NotifyTools call 2015-08-09 21:21:47 +02:00
qubes-notify-updates typo 2015-10-21 20:57:30 +00:00
qubes.FeaturesRequest qubes/tools/qvm-features: add tool for managing qvm-features 2016-05-19 03:02:24 +02:00
qubes.GetRandomizedTime use shuf rather than od because it is more readable 2016-03-13 01:52:03 +00:00
qubes.NotifyTools move qubes-notify-* to libexec 2014-11-19 12:50:25 +01:00
qubes.NotifyUpdates move qubes-notify-* to libexec 2014-11-19 12:50:25 +01:00
qubesd-query-fast.c admin-api: create and install actual Admin API RPC endpoints 2017-05-23 03:24:15 +02:00