[libvirt] [PATCH v3 0/2] qemu: parse: Introduce qemuParseCommandLineMem

Cole Robinson crobinso at redhat.com
Fri May 20 12:50:19 UTC 2016


On 05/20/2016 03:09 AM, Nishith Shah wrote:
> This series moves the parsing of qemu -m memory into a separate function
> and adds suffix support for the -m option.
> 
> The first patch introduces the function qemuParseCommandLineMem, and the
> second patch handles suffixes for the -m values and adds a test for the
> same.
> 
> Nishith Shah (2):
>   qemu: parse: Use qemuParseCommandLineMem for -m memory
>   qemu: parse: Handle suffixes for -m memory
> 
>  src/qemu/qemu_parse_command.c                      | 35 ++++++++++++++++----
>  tests/qemuargv2xmldata/qemuargv2xml-mem-scale.args | 22 +++++++++++++
>  tests/qemuargv2xmldata/qemuargv2xml-mem-scale.xml  | 37 ++++++++++++++++++++++
>  tests/qemuargv2xmltest.c                           |  1 +
>  4 files changed, 88 insertions(+), 7 deletions(-)
>  create mode 100644 tests/qemuargv2xmldata/qemuargv2xml-mem-scale.args
>  create mode 100644 tests/qemuargv2xmldata/qemuargv2xml-mem-scale.xml
> 

ACK and pushed now, thanks!

- Cole




More information about the libvir-list mailing list