qapi: last minute improvements/changes to -compat insecure-types
Status from this message: Applied. Thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 4 repliesApplied
- v18 patches 13 repliesSuperseded
Changes in v2 from the cover letter
* Expand docs to state 'warn' occurs repeatedly
* Various docs rephrasing changes
* Add error hint for security check
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | qapi: make 'CompatPolicy' the first arg in compat_policy_input_okinclude/ qapi/ qapi/ +2 more | +14 | 0 replies | |
| 2/8 | qapi: add 'warn' option to CompatPolicyInputqapi/ qapi/ qemu-options.hx | +20 | 0 replies | |
| 3/8 | qapi: rename 'insecure-types' to 'insecure-input'docs/ qapi/ qapi/ | +4 | 0 replies | |
| 4/8 | qapi: drop CompatPolicySecurity and use CompatPolicyInputqapi/ qapi/ | +12 | 1 reply | |
| 5/8 | qapi: rename compat_policy_check_security methodinclude/ qapi/ qom/ | +12 | 0 replies | |
| 6/8 | qapi: reverse arg order in compat_policy_security_okinclude/ qapi/ qom/ | +3 | 0 replies | |
| 7/8 | qemu-options: document -compat insecure-input parameterqemu-options.hx | +22 | 1 reply | |
| 8/8 | qapi: print a message before aborting for -compat violationsqapi/ | +3 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marc-André Lureau | Markus Armbruster |
|---|---|---|
| Series | R-b | R-b |
| 1/8 | ||
| 2/8 | ||
| 3/8 | ||
| 4/8 | R-b | |
| 5/8 | ||
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] qapi: last minute improvements/changes to -compat insecure-types
This addresses various points raised by Markus about the current impl/design, that would need to be addressed before this is included in the release.
NB, the 'warn' option will repeatedly warn on every violation which can be somewhat unpleasant. Figuring out a mechanism to make it a one-time warning is an exercise for the future, given limited time before release.
Changed in v2:
* Expand docs to state 'warn' occurs repeatedly
* Various docs rephrasing changes
* Add error hint for security check
Daniel P. Berrangé (8):
qapi: make 'CompatPolicy' the first arg in compat_policy_input_ok
qapi: add 'warn' option to CompatPolicyInput
qapi: rename 'insecure-types' to 'insecure-input'
qapi: drop CompatPolicySecurity and use CompatPolicyInput
qapi: rename compat_policy_check_security method
qapi: reverse arg order in compat_policy_security_ok
qemu-options: document -compat insecure-input parameter
qapi: print a message before aborting for -compat violations
docs/system/security.rst | 2 +- include/qapi/compat-policy.h | 12 ++++---- qapi/compat.json | 27 +++++------------ qapi/qapi-util.c | 57 +++++++++++++++++++----------------- qapi/qapi-visit-core.c | 4 +-- qapi/qmp-dispatch.c | 2 +- qapi/qobject-input-visitor.c | 2 +- qemu-options.hx | 37 +++++++++++++++++++---- qom/object.c | 8 ++--- 9 files changed, 85 insertions(+), 66 deletions(-)
Signature · 1 line
2.56.0