Present XML specification of NUMA node accepts memory in 'KiB' only.
This series adds support for input of cell memory in units of choice.
Description:
=======
Patch 1/2 : Export virDomainParseMemory for use outside domain_conf
Patch 2/2 : Allow specification of 'units' for NUMA nodes.
Reference:
======
v1:
http://www.spinics.net/linux/fedora/libvir/msg105516.html
v2:
http://www.mail-archive.com/libvir-list@redhat.com/msg104577.html
Changes Since v2:
===========
* Patch 1 is newly introduced. It follows Michal's suggestion of reusing
virDomainParseMemory, exposed by 01b4de2b9f5ca82
* Patch 2 : Now uses virDomainParseMemory()
* Also, documentation in patch 2 is now fixed to link to memory unit specification
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India