diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-08 10:21:21 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-15 12:52:05 -0500 |
| commit | 924e9b0da90ca1fa0de7c5076768a8a9f3795f8d (patch) | |
| tree | c00fef787276a3bc2bee655d0732923988514a71 /include/qemu/compiler.h | |
| parent | 4054adbdd2f66d78f73cdce0092eb5513b3b3521 (diff) | |
| download | focaccia-qemu-924e9b0da90ca1fa0de7c5076768a8a9f3795f8d.tar.gz focaccia-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 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions