Re: [libvirt] [PATCH v3] qemu: argv: parse qemu commandline memory arguments

2017-10-16 Thread John Ferlan
On 10/09/2017 01:16 PM, 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. And adds a testcase to validate the > changes. > > Signe

[libvirt] [PATCH v3] qemu: argv: parse qemu commandline memory arguments

2017-10-09 Thread Kothapally Madhu Pavan
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. And adds a testcase to validate the changes. Signed-off-by: Kothapally Madhu Pavan --- src/qemu/qemu_parse_command.c