qvm-start-gui: simplify log info for start_gui function
This commit is contained in:
parent
e63510b4cf
commit
411e2884cc
@ -252,10 +252,9 @@ class GUILauncher(object):
|
|||||||
one for target AppVM is running.
|
one for target AppVM is running.
|
||||||
:param monitor_layout: monitor layout configuration
|
:param monitor_layout: monitor layout configuration
|
||||||
"""
|
"""
|
||||||
guivm_name = getattr(vm, 'guivm', None)
|
guivm = getattr(vm, 'guivm', None)
|
||||||
if guivm_name != vm.app.get_local_name():
|
if guivm != vm.app.get_local_name():
|
||||||
vm.log.info(
|
vm.log.info('GUI connected to {}. Skipping.'.format(guivm))
|
||||||
'{} has GuiVM {}. Skipping.'.format(vm.name, guivm_name))
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if vm.virt_mode == 'hvm':
|
if vm.virt_mode == 'hvm':
|
||||||
|
Loading…
Reference in New Issue
Block a user