qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [5806] qemu-doc.texi: document downscript network optio


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [5806] qemu-doc.texi: document downscript network option
Date: Fri, 28 Nov 2008 12:18:46 +0100
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)

Jamie Lokier a écrit :
> Aurelien Jarno wrote a patch, resulting in:
>> @item -net 
>> tap[,address@hidden,address@hidden,address@hidden,address@hidden,address@hidden
>> Connect the host TAP network interface @var{name} to VLAN @var{n}
>> and use the network script @var{file} to configure it. The default
>> network script is @file{/etc/qemu-ifup}. Use @option{script=no} to
>> disable script execution. If @var{name} is not provided, the OS
>> automatically provides one. Use network script @var{dfile} to
>> deconfigure the interface. Use @option{downscript=no} to disable
>> script execution. @address@hidden can be used to specify the
>> handle of an already opened host TAP interface.
> 
> Two things don't make sense:
> 
>    1. Do you have to write "downscript=no" to disable
>       downscript execution?  If you don't need it, that part of the
>       documentation is unnecessary.  If you do need it, then it's not
>       backward-compatible with earlier QEMU versions.
>
> 
>    2. If you do need "downscript=no" to disable it, what's
>       the default downscript name if you don't have "downscript=no"?
>

By default it uses /etc/qemu-ifdown. You have to set downscript=no to
disabled that.

Note that the code hasn't changed, so there is no worry about backward
compatiblity. This behaviour is already present in qemu 0.9.1 (and
probably in previous versions). It is only undocumented.

> Also, it would be better for the text to describe the options in the
> same order as the synopsis in the first line, especially describing
> the two script options without anything else between.
> 

All that should be fixed in revision r5807.

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   address@hidden         | address@hidden
   `-    people.debian.org/~aurel32 | www.aurel32.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]