summaryrefslogtreecommitdiffstats
path: root/virt-ctrl/virt_ctrl.ml
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2008-02-16 19:16:50 +0000
committerRichard W.M. Jones <rjones@redhat.com>2008-02-16 19:16:50 +0000
commit430d646f23385cff10f3cfe359f27226f42cf01a (patch)
tree8b9ec70e4e99c2489bfb9afc6fbd0130c6e2e061 /virt-ctrl/virt_ctrl.ml
parent41f706134365c43ab79dc0383965df267eece0e2 (diff)
downloadvirt-top-430d646f23385cff10f3cfe359f27226f42cf01a.tar.gz
virt-top-430d646f23385cff10f3cfe359f27226f42cf01a.tar.xz
virt-top-430d646f23385cff10f3cfe359f27226f42cf01a.zip
Combine historical data, provide accessor functions.
- Historical data combined into a single array of dhentrys. - Provide accessor functions. - Clamp %CPU to 0..100.
Diffstat (limited to 'virt-ctrl/virt_ctrl.ml')
-rw-r--r--virt-ctrl/virt_ctrl.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/virt-ctrl/virt_ctrl.ml b/virt-ctrl/virt_ctrl.ml
index b4a3159..a9740c1 100644
--- a/virt-ctrl/virt_ctrl.ml
+++ b/virt-ctrl/virt_ctrl.ml
@@ -26,7 +26,8 @@ let () =
~start_domain:Vc_domain_ops.start_domain
~pause_domain:Vc_domain_ops.pause_domain
~resume_domain:Vc_domain_ops.resume_domain
- ~shutdown_domain:Vc_domain_ops.shutdown_domain;
+ ~shutdown_domain:Vc_domain_ops.shutdown_domain
+ ~open_domain_details:Vc_domain_ops.open_domain_details;
(* Enter the Gtk main loop. *)
GMain.main ();