core-admin/qubes
Wojtek Porczyk 78693c265c qubes/vm/qubesvm: rework QubesVM.run*() methods
0) All those methods are now awaitable rather than synchronous.

1) The base method is run_service(). The method run() was rewritten
   using run_service('qubes.VMShell', input=...). There is no provision
   for running plain commands.

2) Get rid of passio*= arguments. If you'd like to get another return
   value, use another method. It's as simple as that.
   See:
      - run_service_for_stdio()
      - run_for_stdio()

   Also gone are wait= and localcmd= arguments. They are of no use
   inside qubesd.

3) The qvm-run tool and tests are left behind for now and will be fixed
   later. This is because they also need event loop, which is not
   implemented yet.

fixes QubesOS/qubes-issues#1900
QubesOS/qubes-issues#2622
2017-04-05 17:05:22 +02:00
..
ext qubes/vm/qubesvm: async def start 2017-03-30 23:04:55 +02:00
qmemman qmemman: update for py3k 2017-02-27 02:37:49 +01:00
storage mgmt: implement storage-related methods 2017-03-16 20:04:01 +01:00
tests mgmt: move property value sanitization to property definition 2017-03-31 11:55:24 +02:00
tools Merge remote-tracking branch 'marmarek/core3-mgmt-methods1' into core3-devel 2017-04-01 18:33:54 +02:00
vm qubes/vm/qubesvm: rework QubesVM.run*() methods 2017-04-05 17:05:22 +02:00
__init__.py mgmt: move property value sanitization to property definition 2017-03-31 11:55:24 +02:00
app.py qubes/mgmt: lifecycle and class listing 2017-04-03 21:55:01 +02:00
backup.py backup: make hmac verification more defensive 2017-02-27 02:37:52 +01:00
config.py mgmt: add label-related calls 2017-03-16 20:04:04 +01:00
core2migration.py qubes/core2migration: update locking API 2017-02-27 02:37:47 +01:00
devices.py qubes/events: they accept only keyword arguments 2017-02-21 14:46:42 +01:00
dochelpers.py Add documentation for mgmt 2017-03-13 21:51:52 +01:00
events.py qubes/events: they accept only keyword arguments 2017-02-21 14:46:42 +01:00
exc.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
firewall.py qubes/events: they accept only keyword arguments 2017-02-21 14:46:42 +01:00
log.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
mgmt.py qubes/mgmt: add missing events for permission for lifecycle 2017-04-05 16:36:54 +02:00
rngdoc.py Add documentation for mgmt 2017-03-13 21:51:52 +01:00
tarwriter.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
utils.py misc pylint fixes related to qubesd 2017-02-08 15:37:39 +01:00