Re: [PATCH virt-manager] console: switch to CONSOLE_PAGE_UNAVAILABLE while waiting for login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/20/2014 04:43 AM, Giuseppe Scrivano wrote:
It fixes a race condition if the ERROR_AUTH error if received while
still on the CONSOLE_PAGE_AUTHENTICATE and skipping the page_changed
event.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1165990

Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
---
  virtManager/console.py | 1 +
  1 file changed, 1 insertion(+)

diff --git a/virtManager/console.py b/virtManager/console.py
index 3080687..df90518 100644
--- a/virtManager/console.py
+++ b/virtManager/console.py
@@ -937,6 +937,7 @@ class vmmConsolePages(vmmGObjectUI):
          self.widget("console-gfx-scroll").queue_resize()

      def auth_login(self, ignore):
+        self.widget("console-pages").set_current_page(CONSOLE_PAGE_UNAVAILABLE)
          self.set_credentials()
          self.activate_viewer_page()



ACK

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux