[libvirt] [PATCH] qemu: Changes in parsing qemu commandline memory section

Madhu Pavan kmp at linux.vnet.ibm.com
Mon Oct 9 11:07:02 UTC 2017



On 10/09/2017 04:34 PM, Daniel P. Berrange wrote:
> On Mon, Oct 09, 2017 at 04:32:38PM +0530, Kothapally Madhu Pavan wrote:
>> Existing qemuParseCommandLineMem() will parse "-m 4G" format string.
>> This patch allows it to parse "-m size=8126464k,slots=32,maxmem=33554432k"
>> format along with existing format.
>>
>> Signed-off-by: Kothapally Madhu Pavan <kmp at linux.vnet.ibm.com>
>> ---
>>   src/qemu/qemu_parse_command.c | 89 +++++++++++++++++++++++++++++++++++++------
>>   1 file changed, 77 insertions(+), 12 deletions(-)
> This needs to have a corresponding  addition to tests/qemuargv2xmltest.c to
> validate the code is operating correctly.
Sure. I will add it and post a v2.

Thanks,
Madhu.




More information about the libvir-list mailing list