Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Jim C. Brown
On Sun, Oct 02, 2005 at 10:23:41PM +0200, Jean-Christian de Rivaz wrote: > VDE is a very useful code to complete project like qemu. It requiere > special code to connect to the vde_switch, but this not a complexe code > (see how vde_plug make that). Since VDE is higly likly used with qemu, I > s

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Jean-Christian de Rivaz
Jim C. Brown a écrit : On Sun, Oct 02, 2005 at 01:45:16PM -0500, Anthony Liguori wrote: I don't understand, why is this patch needed? It makes qemu easier to use. A lot easier to use a persistent tap by doing "qemu -use-already-open-tap tap1" instead of hacking around with persistenttapdev

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Jean-Christian de Rivaz
Jim C. Brown a écrit : On Sun, Oct 02, 2005 at 07:50:29PM +0200, Jean-Christian de Rivaz wrote: Is there any guideline about the network script ? Or should we add an option to let the choice to the user if the network script is called or not ? -- Jean-Christian de Rivaz If it's persisten

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Jim C. Brown
On Sun, Oct 02, 2005 at 07:50:29PM +0200, Jean-Christian de Rivaz wrote: > Is there any guideline about the network script ? Or should we add an > option to let the choice to the user if the network script is called or > not ? > > -- > Jean-Christian de Rivaz > If it's persistent, the device

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Jim C. Brown
On Sun, Oct 02, 2005 at 01:45:16PM -0500, Anthony Liguori wrote: > I don't understand, why is this patch needed? > It makes qemu easier to use. A lot easier to use a persistent tap by doing "qemu -use-already-open-tap tap1" instead of hacking around with persistenttapdev.c > It's a pretty simpl

Re: [Qemu-devel] about DHCP server in qemu

2005-10-02 Thread Jim C. Brown
On Sun, Oct 02, 2005 at 04:39:59AM +0200, Henrik Nordstrom wrote: > 1.1.1.1 is not a QEMU given IP. > I know. I have no idea why that shows up. > Try manually assigning the IP 10.0.2.15/24(255.255.255.0) to the quest > with a default route to 10.0.2.2. This should work. > Already did. It does

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Anthony Liguori
Jean-Christian de Rivaz wrote: Henrik Nordstrom a écrit : On Sat, 1 Oct 2005, Jean-Christian de Rivaz wrote: Attached is a patch proposition to allow opennig an existing tun (already configured by root). This patch can work only on Linux as it make no change into the code for BSD. Pleas

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Jean-Christian de Rivaz
Lars Munch a écrit : On Sun, Oct 02, 2005 at 12:24:53PM +0200, Henrik Nordstrom wrote: On Sun, 2 Oct 2005, Jean-Christian de Rivaz wrote: Yes. This is just an update of my first patch posted the 13 january 2005 so it should apply without offset warning. Maybe can I propose to joint our eff

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Lars Munch
On Sun, Oct 02, 2005 at 12:24:53PM +0200, Henrik Nordstrom wrote: > On Sun, 2 Oct 2005, Jean-Christian de Rivaz wrote: > > >Yes. This is just an update of my first patch posted the 13 january 2005 > >so it should apply without offset warning. > > > >Maybe can I propose to joint our effort ? > >

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Henrik Nordstrom
On Sun, 2 Oct 2005, Jean-Christian de Rivaz wrote: Yes. This is just an update of my first patch posted the 13 january 2005 so it should apply without offset warning. Maybe can I propose to joint our effort ? What remains to make it complete is the command line parser, allowing network opti

Re: [Qemu-devel] tun/tap networking: patch for existing tun

2005-10-02 Thread Jean-Christian de Rivaz
Henrik Nordstrom a écrit : On Sat, 1 Oct 2005, Jean-Christian de Rivaz wrote: Attached is a patch proposition to allow opennig an existing tun (already configured by root). This patch can work only on Linux as it make no change into the code for BSD. Please make open comment about this to