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.
|
||||
:param monitor_layout: monitor layout configuration
|
||||
"""
|
||||
guivm_name = getattr(vm, 'guivm', None)
|
||||
if guivm_name != vm.app.get_local_name():
|
||||
vm.log.info(
|
||||
'{} has GuiVM {}. Skipping.'.format(vm.name, guivm_name))
|
||||
guivm = getattr(vm, 'guivm', None)
|
||||
if guivm != vm.app.get_local_name():
|
||||
vm.log.info('GUI connected to {}. Skipping.'.format(guivm))
|
||||
return
|
||||
|
||||
if vm.virt_mode == 'hvm':
|
||||
|
Loading…
Reference in New Issue
Block a user