dom0/core: fix qrexec startup for HVM

Pass only 'notify_function' parameter - wait_for_session doesn't take any other
(especially not 'verbose').
This commit is contained in:
Marek Marczykowski 2013-02-27 11:11:31 +01:00
parent f8fa85b341
commit c20245c4f8

View File

@ -2584,8 +2584,7 @@ class QubesHVm(QubesVm):
if kwargs.get('verbose'):
print >> sys.stderr, "--> Waiting for user '%s' login..." % self.default_user
# TODO retrieve the notify_function from kwargs ?
self.wait_for_session(**kwargs)
self.wait_for_session(notify_function=kwargs.get('notify_function', None))
def pause(self):
if dry_run: