From: Igor Mammedov <imammedo@redhat.com>
To: qemu-devel@nongnu.org
Cc: ehabkost@redhat.com, armbru@redhat.com, dgilbert@redhat.com,
eblake@redhat.com, afaerber@suse.de, pbonzini@redhat.com
Subject: [Qemu-devel] [PATCH v2 0/3] fix query-memdev not repporting IDs of memory backends
Date: Tue, 10 Jan 2017 13:53:12 +0100 [thread overview]
Message-ID: <1484052795-158195-1-git-send-email-imammedo@redhat.com> (raw)
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: 128
after fix:
memory backend: mem0
size: 1073741824
merge: true
dump: true
prealloc: false
policy: default
host nodes: 128
it should help to avoid remembering hotplugged IDs as they
could be queried back via HMP/QMP interface.
CC: ehabkost@redhat.com
CC: armbru@redhat.com
CC: dgilbert@redhat.com
CC: eblake@redhat.com
CC: afaerber@suse.de
CC: pbonzini@redhat.com
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(-)
--
2.7.4
next reply other threads:[~2017-01-10 12:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 12:53 Igor Mammedov [this message]
2017-01-10 12:53 ` [Qemu-devel] [PATCH v2 1/3] qom: remove unused header Igor Mammedov
2017-01-10 12:53 ` [Qemu-devel] [PATCH v2 2/3] reuse user_creatable_add_opts() instead of user_creatable_add() in monitor Igor Mammedov
2017-01-10 12:53 ` [Qemu-devel] [PATCH v2 3/3] fix qmp/hmp query-memdev not reporting IDs of memory backends Igor Mammedov
2017-01-10 14:49 ` Eric Blake
2017-01-12 13:40 ` [Qemu-devel] [PATCH v2 0/3] fix query-memdev not repporting " Eduardo Habkost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1484052795-158195-1-git-send-email-imammedo@redhat.com \
--to=imammedo@redhat.com \
--cc=afaerber@suse.de \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=ehabkost@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).