core-admin/qubes/vm
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
..
mix qubes/vm/net: fix name of argument for property-del event handler 2017-03-16 20:04:05 +01:00
__init__.py qubes/mgmt: lifecycle and class listing 2017-04-03 21:55:01 +02:00
adminvm.py Initialize dom0 label 2017-03-16 20:04:01 +01:00
appvm.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
dispvm.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
qubesvm.py qubes/vm/qubesvm: rework QubesVM.run*() methods 2017-04-05 17:05:22 +02:00
standalonevm.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
templatevm.py qubes: port core to python3 2017-01-20 16:42:51 +01:00