[libvirt] [PATCH] openvz: wire up more node information functions

Eric Blake eblake at redhat.com
Mon Apr 16 21:53:50 UTC 2012


On 04/16/2012 01:00 AM, Guido Günther wrote:
> On Mon, Apr 16, 2012 at 09:48:38AM +0800, Osier Yang wrote:
>> On 2012年04月15日 04:20, Guido Günther wrote:
>>> in detail nodeGetCPUStats, nodeGetMemoryStats, nodeGetCellsFreeMemory
>>> and nodeGetFreeMemory
>>> ---
>>>  src/openvz/openvz_driver.c |    4 ++++
>>>  1 file changed, 4 insertions(+)
>>>
>>> diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
>>> index 3b2ffea..41fd8e4 100644
>>> --- a/src/openvz/openvz_driver.c
>>> +++ b/src/openvz/openvz_driver.c
>>> @@ -1704,6 +1704,10 @@ static virDriver openvzDriver = {
>>>      .version = openvzGetVersion, /* 0.5.0 */
>>>      .getMaxVcpus = openvzGetMaxVCPUs, /* 0.4.6 */
>>>      .nodeGetInfo = nodeGetInfo, /* 0.3.2 */
>>> +    .nodeGetCPUStats = nodeGetCPUStats, /* 0.9.11 */
>>> +    .nodeGetMemoryStats = nodeGetMemoryStats, /* 0.9.11 */
>>> +    .nodeGetCellsFreeMemory = nodeGetCellsFreeMemory, /* 0.9.11 */
>>> +    .nodeGetFreeMemory = nodeGetFreeMemory, /* 0.9.11 */
>>>      .getCapabilities = openvzGetCapabilities, /* 0.4.6 */
>>>      .listDomains = openvzListDomains, /* 0.3.1 */
>>>      .numOfDomains = openvzNumDomains, /* 0.3.1 */
>>
>> ACK
> Pushed. Thanks,

This should be 0.9.12, not 0.9.11.  Can you please push the fixup patch?

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120416/7ead2120/attachment-0001.sig>


More information about the libvir-list mailing list