Re: [Qemu-devel] Using tap device for qemu

2015-03-10 Thread Gonglei
On 2015/3/10 14:32, Shannon Zhao wrote: > On 2015/3/10 12:59, Gayathri Nagarajan wrote: >> I have a problem with networking in qemu. I want to use the Linux tap device >> for qemu network. For that >> >> *1. I created a bridge -* >> >> $ sudo brctl addbr br0 >> >> *2. I used the following qemu-if

Re: [Qemu-devel] Using tap device for qemu

2015-03-09 Thread Shannon Zhao
On 2015/3/10 12:59, Gayathri Nagarajan wrote: > I have a problem with networking in qemu. I want to use the Linux tap device > for qemu network. For that > > *1. I created a bridge -* > > $ sudo brctl addbr br0 > > *2. I used the following qemu-ifup script* > > #!/bin/sh > set -x > > switch=

[Qemu-devel] Using tap device for qemu

2015-03-09 Thread Gayathri Nagarajan
I have a problem with networking in qemu. I want to use the Linux tap device for qemu network. For that *1. I created a bridge -* $ sudo brctl addbr br0 *2. I used the following qemu-ifup script* #!/bin/sh set -x switch=br0 if [ -n "$1" ];then /usr/bin/sudo /usr/sbin/tunctl -u `whoami