kvmtool: Introduce downscript option for virtio-net

To detach tap device automatically from bridge when exiting,
just like what the reverse of "script" does.

Signed-off-by: Fan Du <fan.du@intel.com>
This commit is contained in:
Fan Du
2015-09-04 16:09:46 +01:00
committed by Dimitri John Ledkov
parent ad5ecfa6f5
commit a6740cbebb
2 changed files with 39 additions and 12 deletions
+1
View File
@@ -9,6 +9,7 @@ struct virtio_net_params {
const char *guest_ip;
const char *host_ip;
const char *script;
const char *downscript;
const char *trans;
const char *tapif;
char guest_mac[6];