Re: [Qemu-devel] using -net dump with tap networking

2013-02-22 Thread Markus Armbruster
Paolo Bonzini writes: > Il 22/02/2013 10:35, Markus Armbruster ha scritto: >> Paolo Bonzini writes: >> >>> Il 21/02/2013 15:41, Markus Armbruster ha scritto: Trouble is the user interface is as confusing as ever. Worse, in a way, because we now have to explain how "vlan" and the hubp

Re: [Qemu-devel] using -net dump with tap networking

2013-02-22 Thread Paolo Bonzini
Il 22/02/2013 10:35, Markus Armbruster ha scritto: > Paolo Bonzini writes: > >> Il 21/02/2013 15:41, Markus Armbruster ha scritto: >>> Trouble is the user interface is as confusing as ever. Worse, in a way, >>> because we now have to explain how "vlan" and the hubport netdev relate. >>> >>> Perm

Re: [Qemu-devel] using -net dump with tap networking

2013-02-22 Thread Jan Kiszka
On 2013-02-22 10:35, Markus Armbruster wrote: >>("-net socket" has some usecases too: "-net bridge" helps placing >> a VM's network on a bridge, but adding a bridge still requires root >> privileges). > > "-netdev socket" and "-netdev bridge" don't cut it? Reminds me: Last time I tried -n

Re: [Qemu-devel] using -net dump with tap networking

2013-02-22 Thread Markus Armbruster
Paolo Bonzini writes: > Il 21/02/2013 15:41, Markus Armbruster ha scritto: >> Trouble is the user interface is as confusing as ever. Worse, in a way, >> because we now have to explain how "vlan" and the hubport netdev relate. >> >> Permit me a brief rant. Have you read the manual page on -netd

Re: [Qemu-devel] using -net dump with tap networking

2013-02-21 Thread Paolo Bonzini
Il 21/02/2013 15:41, Markus Armbruster ha scritto: > Trouble is the user interface is as confusing as ever. Worse, in a way, > because we now have to explain how "vlan" and the hubport netdev relate. > > Permit me a brief rant. Have you read the manual page on -netdev and > -net recently? Have

Re: [Qemu-devel] using -net dump with tap networking

2013-02-21 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Tue, Feb 19, 2013 at 09:16:56PM +0100, Laszlo Ersek wrote: >> On 02/19/13 18:50, Markus Armbruster wrote: >> >> > Your example uses -net to connect additional backends to the hubport. >> > If I understand you correctly, you can't use -netdev to do that. >> > Ignorant

Re: [Qemu-devel] using -net dump with tap networking

2013-02-20 Thread Stefan Hajnoczi
On Tue, Feb 19, 2013 at 06:50:22PM +0100, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > > On Tue, Feb 19, 2013 at 09:53:07AM +0100, Markus Armbruster wrote: > >> Stefan Hajnoczi writes: > >> > >> > On Tue, Feb 19, 2013 at 12:37:28PM +1100, Alexey Kardashevskiy wrote: > >> >> On 14/02/1

Re: [Qemu-devel] using -net dump with tap networking

2013-02-20 Thread Stefan Hajnoczi
On Tue, Feb 19, 2013 at 09:16:56PM +0100, Laszlo Ersek wrote: > On 02/19/13 18:50, Markus Armbruster wrote: > > > Your example uses -net to connect additional backends to the hubport. > > If I understand you correctly, you can't use -netdev to do that. > > Ignorant question: fundamental reason or

Re: [Qemu-devel] using -net dump with tap networking

2013-02-19 Thread Laszlo Ersek
On 02/19/13 18:50, Markus Armbruster wrote: > Your example uses -net to connect additional backends to the hubport. > If I understand you correctly, you can't use -netdev to do that. > Ignorant question: fundamental reason or just not implemented? (I'll let Stefan correct me, but I should be able

Re: [Qemu-devel] using -net dump with tap networking

2013-02-19 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Tue, Feb 19, 2013 at 09:53:07AM +0100, Markus Armbruster wrote: >> Stefan Hajnoczi writes: >> >> > On Tue, Feb 19, 2013 at 12:37:28PM +1100, Alexey Kardashevskiy wrote: >> >> On 14/02/13 21:26, Stefan Hajnoczi wrote: >> >> >> >> Now I want to enable network dum

Re: [Qemu-devel] using -net dump with tap networking

2013-02-19 Thread Laszlo Ersek
On 02/19/13 09:53, Markus Armbruster wrote: > Stefan Hajnoczi writes: > >> On Tue, Feb 19, 2013 at 12:37:28PM +1100, Alexey Kardashevskiy wrote: >>> On 14/02/13 21:26, Stefan Hajnoczi wrote: >>> >>> Now I want to enable network dump. With the old "-net" syntax I could do >>> that with "-n

Re: [Qemu-devel] using -net dump with tap networking

2013-02-19 Thread Stefan Hajnoczi
On Tue, Feb 19, 2013 at 09:53:07AM +0100, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > > On Tue, Feb 19, 2013 at 12:37:28PM +1100, Alexey Kardashevskiy wrote: > >> On 14/02/13 21:26, Stefan Hajnoczi wrote: > >> > >> Now I want to enable network dump. With the old "-net" syntax I co

Re: [Qemu-devel] using -net dump with tap networking

2013-02-19 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Tue, Feb 19, 2013 at 12:37:28PM +1100, Alexey Kardashevskiy wrote: >> On 14/02/13 21:26, Stefan Hajnoczi wrote: >> >> Now I want to enable network dump. With the old "-net" syntax I could do >> that with "-net dump" but I cannot with the new syntax, tried man

Re: [Qemu-devel] using -net dump with tap networking

2013-02-19 Thread Stefan Hajnoczi
On Tue, Feb 19, 2013 at 12:37:28PM +1100, Alexey Kardashevskiy wrote: > On 14/02/13 21:26, Stefan Hajnoczi wrote: > > Now I want to enable network dump. With the old "-net" syntax I could do > that with "-net dump" but I cannot with the new syntax, tried many > variants, none works. Wh

Re: [Qemu-devel] using -net dump with tap networking

2013-02-18 Thread Alexey Kardashevskiy
On 14/02/13 21:26, Stefan Hajnoczi wrote: Now I want to enable network dump. With the old "-net" syntax I could do that with "-net dump" but I cannot with the new syntax, tried many variants, none works. What would the correct syntax be for the case above? The question was about new "-netdev"

Re: [Qemu-devel] using -net dump with tap networking

2013-02-14 Thread Stefan Hajnoczi
On Thu, Feb 14, 2013 at 11:51:42AM +1100, Alexey Kardashevskiy wrote: > On 14/02/13 05:02, Laszlo Ersek wrote: > >On 02/13/13 15:48, Alexey Kardashevskiy wrote: > >>Hi! > >> > >>I am running qemu as: > >> > >>qemu/ppc64-softmmu/qemu-system-ppc64 -m 1024 -M pseries -trace > >>events=trace_events -ne

Re: [Qemu-devel] using -net dump with tap networking

2013-02-13 Thread Alexey Kardashevskiy
On 14/02/13 05:02, Laszlo Ersek wrote: On 02/13/13 15:48, Alexey Kardashevskiy wrote: Hi! I am running qemu as: qemu/ppc64-softmmu/qemu-system-ppc64 -m 1024 -M pseries -trace events=trace_events -netdev user,id=virtnet,hostfwd=tcp::5000-:22 -device virtio-net-pci,netdev=virtnet -nographic -vga

Re: [Qemu-devel] using -net dump with tap networking

2013-02-13 Thread Paolo Bonzini
Il 13/02/2013 19:02, Laszlo Ersek ha scritto: >> > I am running qemu as: >> > >> > qemu/ppc64-softmmu/qemu-system-ppc64 -m 1024 -M pseries -trace >> > events=trace_events -netdev user,id=virtnet,hostfwd=tcp::5000-:22 >> > -device virtio-net-pci,netdev=virtnet -nographic -vga none -enable-kvm >> > -

Re: [Qemu-devel] using -net dump with tap networking

2013-02-13 Thread Laszlo Ersek
On 02/13/13 15:48, Alexey Kardashevskiy wrote: > Hi! > > I am running qemu as: > > qemu/ppc64-softmmu/qemu-system-ppc64 -m 1024 -M pseries -trace > events=trace_events -netdev user,id=virtnet,hostfwd=tcp::5000-:22 > -device virtio-net-pci,netdev=virtnet -nographic -vga none -enable-kvm > -kernel vm

[Qemu-devel] using -net dump with tap networking

2013-02-13 Thread Alexey Kardashevskiy
Hi! I am running qemu as: qemu/ppc64-softmmu/qemu-system-ppc64 -m 1024 -M pseries -trace events=trace_events -netdev user,id=virtnet,hostfwd=tcp::5000-:22 -device virtio-net-pci,netdev=virtnet -nographic -vga none -enable-kvm -kernel vml36_64k -initrd 1.cpio Now I want to enable network dum