qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Yang Hongyang <yanghy@cn.fujitsu.com>, qemu-devel@nongnu.org
Cc: zhang.zhanghailiang@huawei.com, lizhijian@cn.fujitsu.com,
	jasowang@redhat.com, Markus Armbruster <armbru@redhat.com>,
	mrhines@linux.vnet.ibm.com,
	Luiz Capitulino <lcapitulino@redhat.com>,
	stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH v7 RESEND 10/11] filter/buffer: update command description and help
Date: Sun, 23 Aug 2015 16:24:36 -0400	[thread overview]
Message-ID: <55DA2C04.6000404@redhat.com> (raw)
In-Reply-To: <1440132205-7814-11-git-send-email-yanghy@cn.fujitsu.com>

On 21/08/15 00:43, Yang Hongyang wrote:
> now that we have a buffer netfilter, update the command
> description and help.
> 
> Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
> CC: Luiz Capitulino <lcapitulino@redhat.com>
> CC: Markus Armbruster <armbru@redhat.com>
> ---
>  hmp-commands.hx | 2 +-
>  qemu-options.hx | 5 ++++-
>  qmp-commands.hx | 2 +-
>  3 files changed, 6 insertions(+), 3 deletions(-)
...
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 0d52d02..eeaf2a1 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1575,7 +1575,10 @@ DEF("net", HAS_ARG, QEMU_OPTION_net,
>      "socket][,vlan=n][,option][,option][,...]\n"
>      "                old way to initialize a host network interface\n"
>      "                (use the -netdev option if possible instead)\n", QEMU_ARCH_ALL)
> -DEF("netfilter", HAS_ARG, QEMU_OPTION_netfilter, "", QEMU_ARCH_ALL)
> +DEF("netfilter", HAS_ARG, QEMU_OPTION_netfilter,
> +    "-netfilter buffer,id=str,netdev=str[,chain=in|out|all,interval=n]\n"
> +    "                buffer netdev in/out packets. if interval provided, will release\n"
> +    "                packets by interval. interval scale: microsecond\n", QEMU_ARCH_ALL)
>  STEXI
>  @item -net nic[,vlan=@var{n}][,macaddr=@var{mac}][,model=@var{type}] [,name=@var{name}][,addr=@var{addr}][,vectors=@var{v}]
>  @findex -net

Could you maybe also add some more explicit description for the filter
to the TEXI section (i.e. between the above STEXI and the ETEXI later in
this file)? That could be really helpful for the users when they look
for information about this option in the User's Documentation (see
http://qemu.weilnetz.de/qemu-doc.html for a generated version for example)

 Thomas

  reply	other threads:[~2015-08-23 20:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21  4:43 [Qemu-devel] [PATCH v7 RESEND 00/11] Add a netfilter object and netbuffer filter Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 01/11] net: add a new object netfilter Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 02/11] init/cleanup of netfilter object Yang Hongyang
2015-08-23 14:17   ` Thomas Huth
2015-08-25  1:31     ` Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 03/11] netfilter: add netfilter_{add|del} commands Yang Hongyang
2015-08-23 20:10   ` Thomas Huth
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 04/11] netfilter: hook packets before net queue send Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 05/11] move out net queue structs define Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 06/11] netfilter: add an API to pass the packet to next filter Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 07/11] netfilter: print filter info associate with the netdev Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 08/11] net/queue: export qemu_net_queue_append_iov Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 09/11] netfilter: add a netbuffer filter Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 10/11] filter/buffer: update command description and help Yang Hongyang
2015-08-23 20:24   ` Thomas Huth [this message]
2015-08-25  1:32     ` Yang Hongyang
2015-08-21  4:43 ` [Qemu-devel] [PATCH v7 RESEND 11/11] tests: add test cases for netfilter object Yang Hongyang

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=55DA2C04.6000404@redhat.com \
    --to=thuth@redhat.com \
    --cc=armbru@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=lizhijian@cn.fujitsu.com \
    --cc=mrhines@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=yanghy@cn.fujitsu.com \
    --cc=zhang.zhanghailiang@huawei.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 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).