On 06/26/2012 11:32 PM, guyanhua wrote: > > Signed-off-by: Gu Yanhua<guyanhua-f...@cn.fujitsu.com> > --- > client/virt/libvirt_vm.py | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/client/virt/libvirt_vm.py b/client/virt/libvirt_vm.py > index d97ac0c..e13fb0d 100644 > --- a/client/virt/libvirt_vm.py > +++ b/client/virt/libvirt_vm.py > @@ -111,6 +111,13 @@ def virsh_nodeinfo(uri = "", ignore_status=False, extra > = ""): > cmd_nodeinfo = "nodeinfo %s" % extra > return virsh_cmd(cmd_nodeinfo, uri, ignore_status) > > +def virsh_freecell(uri = "", ignore_status=False, extra = ""): > + """ > + Prints the available amount of memory on the machine or within a NUMA > cell. > + """ > + cmd_freecell = "freecell %s" % extra > + return virsh_cmd(cmd_freecell, uri, ignore_status) > + > def virsh_uri(uri=""): > """ > Return the hypervisor canonical URI.
This looks good to me. -- Chris Evich, RHCA, RHCE, RHCDS, RHCSS Quality Assurance Engineer e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214 _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest