search for: domptr

Displaying 2 results from an estimated 2 matches for "domptr".

Did you mean: docptr
2015 Oct 28
0
How to find memory utilization percent of kvm guest?
I currently use following approach but its failing Find Max memory using following API         vdgiRet = virDomainGetInfo(domPtr, infoPtr);         memTotal = infoPtr->memory; Find current utilization using following API                 rVal = virDomainMemoryStats (domPtr, memStats, VIR_DOMAIN_MEMORY_STAT_NR, 0) ;         for (i = 0; i < rVal; i++)         {             if (memStats[i].tag == 7)                 mem...
2011 Sep 09
1
virDomainDefineXml Issue
Hello Everyone, I am facing a problem in defining the xml for domain creation using libvirt. I am using Xen hypervisor. domPtr = lib.virDomainDefineXML(conPtr, domainXML); I get the following error: "libvir: Xen Daemon error : XML error: failed to parse domain description" Any suggestions are welcome. Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <htt...