[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] tun/tap networking: patch for existing tun
From: |
Henrik Nordstrom |
Subject: |
Re: [Qemu-devel] tun/tap networking: patch for existing tun |
Date: |
Mon, 3 Oct 2005 15:07:02 +0200 (CEST) |
On Sun, 2 Oct 2005, Jim C. Brown wrote:
So while we're at it, we should redesign the interface for qemu. For each nic,
we'd have -net type[,macaddr] where type is "tap" or "user" or "dummy" and
the macaddr is an (optional) parameter that replaces -macaddr. Number of nics
would depend on number of -net options, with none meaning either no nics or
one nic defaulting to tap (or user if tap isn't available).
The proposal by Fabrice looks better to me
-net usernet,macaddr=00:11:a:0:2:19 -net tunfd=10,macaddr=00:11:a:0:1:19
this way the syntax can easily be extended with new options as needed, and
the exact order of things is not important (you just specify the net
parameters as needed).
Only objection is that for the tunfd case I would use
-net tap,fd=10,macaddr=...
For the tap type we could have a 3rd optional parameter for the name,
e.g. -net tap,macaddr,name (with name defaulting to tapX if its not
specified).
What about this:
-net tap,ifname=qemu0,macaddr=...
Regards
Henrik
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, (continued)
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Anthony Liguori, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun,
Henrik Nordstrom <=
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Fabrice Bellard, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Christian MICHON, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03