diff options
author | Paolo Bonzini | 2022-08-05 19:15:39 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-08-08 12:58:12 +0200 |
commit | 69c05a23787e9f5cdddbf3688c2e309a92a20af4 (patch) | |
tree | d7d77e1f980e86b58786ca5cb33ba74df609efee /crypto/trace.h | |
parent | vl: fix [memory] section with -readconfig (diff) | |
download | qemu-69c05a23787e9f5cdddbf3688c2e309a92a20af4.tar.gz qemu-69c05a23787e9f5cdddbf3688c2e309a92a20af4.tar.xz qemu-69c05a23787e9f5cdddbf3688c2e309a92a20af4.zip |
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 'crypto/trace.h')
0 files changed, 0 insertions, 0 deletions