summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2013-07-07 11:06:15 -0400
committerCole Robinson <crobinso@redhat.com>2013-07-07 12:17:54 -0400
commit5e9e444dec6f63631675b6096127308443836887 (patch)
treeab8eb815025b2e94d651b61b84913f3b97f9bb48 /ui
parent39a819c34b2c3af51c8de1a5cdbfa0003e85f85f (diff)
downloadvirt-manager-5e9e444dec6f63631675b6096127308443836887.tar.gz
connection: Do non-VM polling on demand
The goal here is to reduce the amount of tick() polling that we do by default. For things like pools, networks, and interfaces, the constant polling is not very helpful and causes CPU churn and slowness for remote connections. Switch to a more on demand style. Pages that want new information for these objects now request a priority tick that only refreshes the info we want. This isn't perfect, but neither was the previous solution in the face of things like XML updates behind our back. The real solution here is libvirt event support across the board.
Diffstat (limited to 'ui')
-rw-r--r--ui/vmm-host.ui1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/vmm-host.ui b/ui/vmm-host.ui
index bd315fee..c5a9151b 100644
--- a/ui/vmm-host.ui
+++ b/ui/vmm-host.ui
@@ -106,6 +106,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="border_width">6</property>
+ <signal name="switch-page" handler="on_host_page_switch" swapped="no"/>
<child>
<object class="GtkVBox" id="vbox2">
<property name="visible">True</property>