-numa option parsing fixes (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | cutils: unsigned int parsing functionsinclude/ tests/ tests/ +1 more | +265 | 4 replies | |
| 2/8 | vl.c: Fix off-by-one bug when handling "-numa node" argumentvl.c | +4 | 1 reply | |
| 3/8 | vl.c: Abort on unknown -numa option typevl.c | +3 | 0 replies | |
| 4/8 | vl.c: Check for NUMA node limit inside numa_add()vl.c | +6 | 1 reply | |
| 5/8 | vl.c: numa_add(): Validate nodeid before using itvl.c | +6 | 1 reply | |
| 6/8 | vl.c: Use parse_uint_full() for NUMA nodeidvl.c | +5 | 4 replies | |
| 7/8 | vl.c: Extract -numa "cpus" parsing to separate functionvl.c | +23 | 1 reply | |
| 8/8 | vl.c: validate -numa "cpus" parameter properlyvl.c | +27 | 2 replies |
Reviews trailers per patch
4 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | |
| 4/8 | R-b |
| 5/8 | |
| 6/8 | |
| 7/8 | R-b |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/8] -numa option parsing fixes (v2)
This series contains only the most important fixes from the previous "-numa option parsing fixes & improvements" series I have submitted.
I have introduced parse_uint*() helpers that can be reused by other code, later. I plan to submit parse_int*() (for signed integers) and parse_double*() functions too, later, and change string-input-visitor.c and opts-visitor.c to use those common functions instead of duplicating the number parsing code.
Eduardo Habkost (8):
cutils: unsigned int parsing functions
vl.c: Fix off-by-one bug when handling "-numa node" argument vl.c: Abort on unknown -numa option type
vl.c: Check for NUMA node limit inside numa_add() vl.c: numa_add(): Validate nodeid before using it vl.c: Use parse_uint_full() for NUMA nodeid
vl.c: Extract -numa "cpus" parsing to separate function vl.c: validate -numa "cpus" parameter properly
include/qemu-common.h | 3 + tests/Makefile | 3 + tests/test-cutils.c | 183 ++++++++++++++++++++++++++++++++++++++++++++++++++ util/cutils.c | 76 +++++++++++++++++++++ vl.c | 93 ++++++++++++++++++------- 5 files changed, 333 insertions(+), 25 deletions(-) create mode 100644 tests/test-cutils.c
Signature · 1 line
1.7.11.7