[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 for-5.1 0/9] qemu-option: Fix corner cases and clean up
From: |
Markus Armbruster |
Subject: |
[PATCH v2 for-5.1 0/9] qemu-option: Fix corner cases and clean up |
Date: |
Wed, 15 Apr 2020 09:49:18 +0200 |
v2:
* PATCH 1,4,5: Cover "?" in addition to "help" [Kevin]
* PATCH 4-6: Old PATCH 4 moved after old PATCH 5+6, commit message
adjusted
* PATCH 4: Unbreak "?" [Eric]
* PATCH 8: Commit message tweaked
* PATCH 9: New
Markus Armbruster (9):
tests-qemu-opts: Cover has_help_option(), qemu_opt_has_help_opt()
qemu-options: Factor out get_opt_name_value() helper
qemu-option: Fix sloppy recognition of "id=..." after ",,"
qemu-option: Fix has_help_option()'s sloppy parsing
test-qemu-opts: Simplify test_has_help_option() after bug fix
qemu-option: Avoid has_help_option() in qemu_opts_parse_noisily()
qemu-img: Factor out accumulate_options() helper
qemu-img: Move is_valid_option_list() to qemu-img.c and rewrite
qemu-img: Reject broken -o ""
include/qemu/option.h | 1 -
qemu-img.c | 87 ++++++++++-------
tests/test-qemu-opts.c | 46 ++++++++-
util/qemu-option.c | 210 ++++++++++++++++++++---------------------
4 files changed, 199 insertions(+), 145 deletions(-)
--
2.21.1
- [PATCH v2 for-5.1 0/9] qemu-option: Fix corner cases and clean up,
Markus Armbruster <=
- [PATCH v2 for-5.1 3/9] qemu-option: Fix sloppy recognition of "id=..." after ", , ", Markus Armbruster, 2020/04/15
- [PATCH v2 for-5.1 4/9] qemu-option: Fix has_help_option()'s sloppy parsing, Markus Armbruster, 2020/04/15
- [PATCH v2 for-5.1 6/9] qemu-option: Avoid has_help_option() in qemu_opts_parse_noisily(), Markus Armbruster, 2020/04/15
- [PATCH v2 for-5.1 5/9] test-qemu-opts: Simplify test_has_help_option() after bug fix, Markus Armbruster, 2020/04/15
- [PATCH v2 for-5.1 1/9] tests-qemu-opts: Cover has_help_option(), qemu_opt_has_help_opt(), Markus Armbruster, 2020/04/15
- [PATCH v2 for-5.1 7/9] qemu-img: Factor out accumulate_options() helper, Markus Armbruster, 2020/04/15
- [PATCH v2 for-5.1 2/9] qemu-options: Factor out get_opt_name_value() helper, Markus Armbruster, 2020/04/15
- [PATCH v2 for-5.1 9/9] qemu-img: Reject broken -o "", Markus Armbruster, 2020/04/15