All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>, qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Scott Feldman <sfeldma@gmail.com>, Jiri Pirko <jiri@resnulli.us>
Subject: Re: [Qemu-devel] [PULL 4/4] qmp/hmp: add rocker device support
Date: Fri, 05 Jun 2015 06:16:18 -0600	[thread overview]
Message-ID: <55719312.80903@redhat.com> (raw)
In-Reply-To: <1433499756-18720-5-git-send-email-stefanha@redhat.com>

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

On 06/05/2015 04:22 AM, Stefan Hajnoczi wrote:
> From: Scott Feldman <sfeldma@gmail.com>

> Add QMP/HMP support for rocker devices.  This is mostly for debugging purposes
> to see inside the device's tables and port configurations.  Some examples:
> 
> (qemu) info rocker sw1
> name: sw1
> id: 0x0000013512005452
> ports: 4
> 

> 
> [Changed "%-4ld" to "%4" PRIu64 in hmp_rocker_of_dpa_flows() since
> flow->hits is uint64_t.  This fixes compilation on 32-bit hosts.
> --Stefan]
> 
> Signed-off-by: Scott Feldman <sfeldma@gmail.com>
> Signed-off-by: Jiri Pirko <jiri@resnulli.us>
> Message-id: 1432908109-31559-5-git-send-email-sfeldma@gmail.com
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---

> +++ b/qapi/rocker.json
> @@ -0,0 +1,286 @@
> +##
> +# @Rocker:
> +#
> +# Rocker switch information.
> +#
> +# @name: switch name
> +#
> +# @id: switch ID
> +#
> +# @ports: number of front-panel ports
> +#
> +# Since: 2.4
> +##
> +{ 'struct': 'RockerSwitch',
> +  'data': { 'name': 'str', 'id': 'uint64', 'ports': 'uint32' } }
> +
> +##
> +# @rocker:

This...

> +#
> +# Return rocker switch information.
> +#
> +# Returns: @Rocker information
> +#
> +# Since: 2.4
> +##
> +{ 'command': 'query-rocker',

...and several other query- commands added in this file, are documented
incorrectly (missing the query- in the comment lead-in).  Since this is
already at a pull request, it's better to fix it up in a followup patch
if there is no other reason to hold up the pull.

-- 
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:[~2015-06-05 12:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05 10:22 [Qemu-devel] [PULL 0/4] Net patches Stefan Hajnoczi
2015-06-05 10:22 ` [Qemu-devel] [PULL 1/4] rocker: Add support for phys name Stefan Hajnoczi
2015-06-05 10:22 ` [Qemu-devel] [PULL 2/4] rocker: update tests using hw-derived interface names Stefan Hajnoczi
2015-06-05 10:22 ` [Qemu-devel] [PULL 3/4] rocker: bring link up/down on PHY enable/disable Stefan Hajnoczi
2015-06-05 10:22 ` [Qemu-devel] [PULL 4/4] qmp/hmp: add rocker device support Stefan Hajnoczi
2015-06-05 12:16   ` Eric Blake [this message]
2015-06-05 12:55     ` Peter Maydell
2015-06-08 13:15     ` Stefan Hajnoczi
2015-06-05 12:52 ` [Qemu-devel] [PULL 0/4] Net patches Peter Maydell

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=55719312.80903@redhat.com \
    --to=eblake@redhat.com \
    --cc=jiri@resnulli.us \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sfeldma@gmail.com \
    --cc=stefanha@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.