diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-05 19:15:39 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-08 12:58:12 +0200 |
commit | 69c05a23787e9f5cdddbf3688c2e309a92a20af4 (patch) | |
tree | d7d77e1f980e86b58786ca5cb33ba74df609efee /tests/qtest/meson.build | |
parent | e12f0685e8f6ee57a00d3f304023665aa0e02b8c (diff) |
vl: remove dead code in parse_memory_options()
mem_str will never be an empty string, because qemu_opt_get_size() fails
if it encounters one:
$ ./qemu-system-x86_64 -m size=
qemu-system-x86_64: -m size=: Parameter size expects a non-negative number below 2^64
Optional suffix k, M, G, T, P or E means kilo-, mega-, giga-, tera-, peta-
and exabytes, respectively.
Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/qtest/meson.build')
0 files changed, 0 insertions, 0 deletions