[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too, |
Date: |
Fri, 22 May 2015 13:42:31 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 05/22/2015 01:22 PM, Thomas Huth wrote:
> So far, it is not possible to use the network dump interface
> with the "-netdev" option yet, it only works with the legacy
> "-net" option. To be able to use it with "-netdev", too, this
> patch now enables the "vlan" packet distribution for the
> "-netdev" option, too, so that you can now dump network packets
> like this:
>
> qemu... -device e1000,netdev=myhub -netdev hubport,hubid=1,id=myhub \
> -netdev user,id=n1,vlan=1,tftp=/tmp/tftp,bootfile=zImage \
> -netdev dump,id=n2,vlan=1,file=/tmp/dump.dat
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> +++ b/qapi-schema.json
> @@ -2512,6 +2512,7 @@
> { 'struct': 'Netdev',
> 'data': {
> 'id': 'str',
> + '*vlan': 'int32',
> 'opts': 'NetClientOptions' } }
Needs a documentation blurb for the new parameter, including '#optional'
and '(since 2.4)' markings.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Thomas Huth, 2015/05/22
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,,
Eric Blake <=
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Stefan Hajnoczi, 2015/05/26
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Thomas Huth, 2015/05/26
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Markus Armbruster, 2015/05/26
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Daniel P. Berrange, 2015/05/26
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Stefan Hajnoczi, 2015/05/26
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Thomas Huth, 2015/05/26
- Re: [Qemu-devel] [RFC PATCH] net: Enable vlans and dump for -netdev, too,, Markus Armbruster, 2015/05/27