Re: [PATCH 1/2] add parameter flags to D.get_cpu_stats()

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

 



On Thu, Apr 26, 2012 at 04:09:05PM +0800, Hu Tao wrote:
> ---
>  examples/get_cpu_stats.ml   |    2 +-
>  libvirt/libvirt.ml          |    2 +-
>  libvirt/libvirt.mli         |    2 +-
>  libvirt/libvirt_c_oneoffs.c |    9 +++++----
>  4 files changed, 8 insertions(+), 7 deletions(-)
> 
> diff --git a/examples/get_cpu_stats.ml b/examples/get_cpu_stats.ml
> index 79d5c3c..3541720 100644
> --- a/examples/get_cpu_stats.ml
> +++ b/examples/get_cpu_stats.ml
> @@ -25,7 +25,7 @@ let () =
>  
>      let stats =
>        let dom = D.lookup_by_name conn domname in
> -      D.get_cpu_stats dom nr_pcpus in
> +      D.get_cpu_stats dom nr_pcpus 0 in

This needs to be a list of (the OCaml equivalent of)
virTypedParameterFlags.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]