mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-27 03:21:44 +03:00
details: don't switch to console page every time lxc guest is updated
This commit is contained in:
parent
0782a10b29
commit
3e350aa691
@ -1460,6 +1460,11 @@ class vmmDetails(vmmGObjectUI):
|
|||||||
if self.vm.get_graphics_devices() or not self.vm.get_serial_devs():
|
if self.vm.get_graphics_devices() or not self.vm.get_serial_devs():
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Only show serial page if we are already on console view
|
||||||
|
pages = self.widget("details-pages")
|
||||||
|
if pages.get_current_page() != PAGE_CONSOLE:
|
||||||
|
return
|
||||||
|
|
||||||
# Show serial console
|
# Show serial console
|
||||||
devs = self.build_serial_list()
|
devs = self.build_serial_list()
|
||||||
for name, ignore, sensitive, ignore, cb, serialidx in devs:
|
for name, ignore, sensitive, ignore, cb, serialidx in devs:
|
||||||
|
Loading…
Reference in New Issue
Block a user