diff options
| author | Paolo Bonzini | 2020-11-08 16:21:21 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2020-12-15 18:52:05 +0100 |
| commit | 924e9b0da90ca1fa0de7c5076768a8a9f3795f8d (patch) | |
| tree | c00fef787276a3bc2bee655d0732923988514a71 /util/base64.c | |
| parent | kvm: Take into account the unaligned section size when preparing bitmap (diff) | |
| download | qemu-924e9b0da90ca1fa0de7c5076768a8a9f3795f8d.tar.gz qemu-924e9b0da90ca1fa0de7c5076768a8a9f3795f8d.tar.xz qemu-924e9b0da90ca1fa0de7c5076768a8a9f3795f8d.zip | |
qemu-option: simplify search for end of key
Use strcspn to find an equal or comma value, and pass the result directly
to get_opt_name to avoid another strchr.
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/base64.c')
0 files changed, 0 insertions, 0 deletions
