RFC hw/misc/vmcoreinfo: Convert from QDev to plain Object
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | hw/misc/vmcoreinfo: Declare QOM type using DEFINE_TYPES macrohw/ | +8 | 1 reply | |
| 2/10 | hw/misc/vmcoreinfo: Rename opaque pointer as 'opaque'hw/ | +5 | 1 reply | |
| 3/10 | hw/misc/vmcoreinfo: Un-inline vmcoreinfo_find()hw/ include/ | +19 | 1 reply | |
| 4/10 | hw/misc/vmcoreinfo: Rename VMCOREINFO_DEVICE -> TYPE_VMCOREINFO_DEVICEhw/ include/ | +7 | 2 replies | |
| 5/10 | hw/misc/vmcoreinfo: Convert to three-phase reset interfacehw/ | +5 | 1 reply | |
| 6/10 | hw/misc/vmcoreinfo: Move vmstate_vmcoreinfo[] aroundhw/ | +14 | 0 replies | |
| 7/10 | hw/misc/vmcoreinfo: Factor vmcoreinfo_device_realize() outhw/ | +7 | 0 replies | |
| 8/10 | hw/misc/vmcoreinfo: Implement 'vmcore-info' objecthw/ include/ | +50 | 2 replies | |
| 9/10 | hw/misc/vmcoreinfo: Deprecate '-device vmcoreinfo'docs/ | +5 | 0 replies | |
| 10/10 | hw/misc/vmcoreinfo: Remove legacy '-device vmcoreinfo'docs/ docs/ hw/ +1 more | +13 | 0 replies |
Reviews trailers per patch
4 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Daniel P. Berrangé |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b R-b |
| 4/10 | |
| 5/10 | R-b |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 00/10] hw/misc/vmcoreinfo: Convert from QDev to plain Object
No reason for vmcoreinfo to be based on QDev, since it doesn't use any QDev API. Demote to plain Object.
Since we can only register one type, introduce a new one for object: 'vmcore-info' (dash separator), keeping 'vmcoreinfo' device during the deprecation period.
Philippe Mathieu-Daudé (10):
hw/misc/vmcoreinfo: Declare QOM type using DEFINE_TYPES macro hw/misc/vmcoreinfo: Rename opaque pointer as 'opaque' hw/misc/vmcoreinfo: Un-inline vmcoreinfo_find() hw/misc/vmcoreinfo: Rename VMCOREINFO_DEVICE -> TYPE_VMCOREINFO_DEVICE hw/misc/vmcoreinfo: Convert to three-phase reset interface hw/misc/vmcoreinfo: Move vmstate_vmcoreinfo[] around hw/misc/vmcoreinfo: Factor vmcoreinfo_device_realize() out hw/misc/vmcoreinfo: Implement 'vmcore-info' object hw/misc/vmcoreinfo: Deprecate '-device vmcoreinfo' hw/misc/vmcoreinfo: Remove legacy '-device vmcoreinfo'
docs/about/removed-features.rst | 5 + include/hw/misc/vmcoreinfo.h | 26 ++--- hw/misc/vmcoreinfo.c | 167 +++++++++++++++++++------------- 3 files changed, 116 insertions(+), 82 deletions(-)
Signature · 1 line
2.47.1