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

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

 



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

-- 
2.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]