On Mon, 3 Oct 2005, Jean-Christian de Rivaz wrote:
The idea of the "-vde" option is to have in parameter the VDE socket (default
to "/tmp/vde.ctl") an act like vde_plug so it don't need any other code to
work. Just start a "vde_switch" and as many "qemu -vde" you wants to create a
complete virtual nework (1 switch and n hosts).
Or in line with the earlier proposal of a -net option:
-net vde,socket=/path/to/vde.ctl,group=xxx
where socket defaults to /tmp/vde.ctl and group defaults to 0 if not
specified.
I think that a syntax like "-net type[:macaddr][,arg[,arg[...]]]" is more
usefull, since the MAC addresse of the TAP devices is not alway specified as
it can be set randomly by the Linux kernel (with possible collision see code
in include/linux/etherdevice.h).
The MAC of the TUN/TAP device on the host side is a completely different
thing and is the MAC the HOST should use on that virtual ethernet. What
the option to QEMU specifies is the MAC QEMU should use.
In case of this new interface, will network script still needed. If yes, how
should we handle them in the new option syntax ?
-net ...,script=/path/to/script
Regards
Henrik
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel