fix query-memdev not repporting IDs of memory backends
Status from this message: Applied to machine-next. Thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesApplied
- v13 patches 10 repliesSuperseded
Changes in v2 from the cover letter
* fix mistakes in commit messages/change them as suggested
* extend 3/3 commit message to explain why it's ok to use 'id'
* 3/3 set 'id' property directly instead of injecting it back into qdict.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qom: remove unused headerqom/ | +0 | 0 replies | |
| 2/3 | reuse user_creatable_add_opts() instead of user_creatable_add() in monitorhmp.c include/ qom/ | +18 | 0 replies | |
| 3/3 | fix qmp/hmp query-memdev not reporting IDs of memory backendsbackends/ docs/ hmp.c +4 more | +41 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/3] fix query-memdev not repporting IDs of memory backends
Changelog:
since v1:
* fix mistakes in commit messages/change them as suggested
* extend 3/3 commit message to explain why it's ok to use 'id'
* 3/3 set 'id' property directly instead of injecting it back into qdict.
Series is a couple of preparratory cleanups which simplify fix and a fix itself.
Before fix HMP 'info memdevs' for CLI:
qemu-system-x86_64 -object memory-backend-ram,id=mem0,size=1G outputs:
memory backend: 0
size: 1073741824
merge: true
dump: true
prealloc: false
policy: default
host nodes: 128after fix:
memory backend: mem0
size: 1073741824
merge: true
dump: true
prealloc: false
policy: default
host nodes: 128it should help to avoid remembering hotplugged IDs as they could be queried back via HMP/QMP interface.
Igor Mammedov (3):
qom: remove unused header
reuse user_creatable_add_opts() instead of user_creatable_add() in
monitor
fix qmp/hmp query-memdev not reporting IDs of memory backends
include/qom/object_interfaces.h | 17 --------- include/sysemu/hostmem.h | 1 + backends/hostmem.c | 26 ++++++++++++++ docs/qmp-commands.txt | 1 + hmp.c | 10 ++---- numa.c | 3 ++ qapi-schema.json | 3 ++ qom/object_interfaces.c | 78 ++++++++++++----------------------------- 8 files changed, 59 insertions(+), 80 deletions(-)
Signature · 1 line
2.7.4