summaryrefslogtreecommitdiffstats
path: root/trace
diff options
context:
space:
mode:
authorPaolo Bonzini2020-11-08 16:21:21 +0100
committerPaolo Bonzini2020-12-15 18:52:05 +0100
commit924e9b0da90ca1fa0de7c5076768a8a9f3795f8d (patch)
treec00fef787276a3bc2bee655d0732923988514a71 /trace
parentkvm: Take into account the unaligned section size when preparing bitmap (diff)
downloadqemu-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 'trace')
0 files changed, 0 insertions, 0 deletions