mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
serialcon: Fix error reporting for remote connections
This commit is contained in:
parent
f73a7e69a4
commit
9da74dc7ea
@ -277,9 +277,8 @@ class vmmSerialConsole(vmmGObject):
|
||||
|
||||
err = ""
|
||||
|
||||
if is_remote:
|
||||
if not support_tunnel:
|
||||
err = _("Serial console not yet supported over remote "
|
||||
if is_remote and not support_tunnel:
|
||||
err = _("Remote serial console not supported for this "
|
||||
"connection")
|
||||
elif not vm.is_active():
|
||||
err = _("Serial console not available for inactive guest")
|
||||
|
Loading…
Reference in New Issue
Block a user