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

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



On Thu, Apr 03, 2008 at 03:34:07PM -0400, Cole Robinson wrote:
> 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.

  Looks fine as is. Of course this could be augmented to allow reading
NUMA informations from the config file but it's a good first step.
Applied and commited, thanks a lot !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


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