qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>, qemu-devel@nongnu.org
Cc: ehabkost@redhat.com, armbru@redhat.com, dgilbert@redhat.com,
	afaerber@suse.de, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 3/3] fix qmp/hmp query-memdev not reporting IDs of memory backends
Date: Tue, 10 Jan 2017 08:49:27 -0600	[thread overview]
Message-ID: <6fa24bf8-ea8f-65be-4a06-8721fbca7d27@redhat.com> (raw)
In-Reply-To: <1484052795-158195-4-git-send-email-imammedo@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

On 01/10/2017 06:53 AM, Igor Mammedov wrote:
> Considering 'id' is mandatory for user_creatable objects/backends
> and user_creatable_add_type() always has it as an argument
> regardless of where from it is called CLI/monitor or QMP,
> Fix issue by adding 'id' property to hostmem backends and
> set it in user_creatable_add_type() for every object that
> implements 'id' property. Then later at query-memdev time
> get 'id' from object directly.
> 
> Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> ---
>  include/sysemu/hostmem.h |  1 +
>  backends/hostmem.c       | 26 ++++++++++++++++++++++++++
>  docs/qmp-commands.txt    |  1 +
>  hmp.c                    |  5 +----
>  numa.c                   |  3 +++
>  qapi-schema.json         |  3 +++
>  qom/object_interfaces.c  |  6 ++++++
>  7 files changed, 41 insertions(+), 4 deletions(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  reply	other threads:[~2017-01-10 14:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 12:53 [Qemu-devel] [PATCH v2 0/3] fix query-memdev not repporting IDs of memory backends Igor Mammedov
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 [this message]
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=6fa24bf8-ea8f-65be-4a06-8721fbca7d27@redhat.com \
    --to=eblake@redhat.com \
    --cc=afaerber@suse.de \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=imammedo@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).