[Libvir] [PATCH] Add virNodeGetCellsFreeMemory support to test driver

Cole Robinson crobinso at redhat.com
Thu Apr 3 19:34:07 UTC 2008


The attached patch adds support for the command virNodeGetCellsFreeMemory
to the test driver. The patch also moves numa cell information into
the connection structure rather than hard coding it in GetCapabilities,
so the memory values have some place to be stored, and so the driver
can be expanded in the future to allow numa info to be specified by a
test driver config file.

Tested this to verify the capabilities xml is generated the same and
that the GetCells command works as expected via the python bindings.

Thanks,
Cole

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt-testdriver-numa-cells-patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080403/bd210d96/attachment-0001.ksh>


More information about the libvir-list mailing list