Skip to content

Fix QemuOpts regression on bogus keys

Eric Blake qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 6 repliesIn review
  2. v23 patches 3 repliesSuperseded
  3. v12 patches 11 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tests: Expose regression in QemuOpts visitortests/test-opts-visitor.c+20 -00 replies
2/3qom: Avoid unvisited 'id'/'qom-type' in user_creatable_add_optsqom/object_interfaces.c+4 -35 replies
3/3qapi: Fix QemuOpts visitor regression on unvisited inputqapi/opts-visitor.c tests/test-opts-visitor.c+11 -80 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael RothLaurent VivierMarkus Armbruster
SeriesR-b
1/3R-b
2/3T-b
3/3R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/3] Fix QemuOpts regression on bogus keys

Reported to me off-list by Laurent Vivier, who found the problem while working on https://bugzilla.redhat.com/1433193;
now split into https://bugzilla.redhat.com/show_bug.cgi?id=1434666.
Broken since 2.7, but the fix is a one-liner (pointing out my embarrassing mistake of mis-converting a pre-decrement operator); as a bug fix, it still qualifies for 2.9 in spite of hard freeze, on the other hand, as the regression was not introduced in 2.9, I also understand if it is postponed.

v1 was here:
https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg04072.html
v2 was here:
https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg04275.html

Since then:
- more commit message tweaks
- drop a spurious hunk from the test in commit 3

Eric Blake (3):
tests: Expose regression in QemuOpts visitor
qom: Avoid unvisited 'id'/'qom-type' in user_creatable_add_opts
qapi: Fix QemuOpts visitor regression on unvisited input

 qapi/opts-visitor.c       |  6 +++---
 qom/object_interfaces.c   |  7 ++++---
 tests/test-opts-visitor.c | 27 +++++++++++++++++++++++++--
 3 files changed, 32 insertions(+), 8 deletions(-)
Signature · 1 line
2.9.3