Re: [Qemu-devel] [PATCH v2] net: clean up network at qemu process termination

2012-12-18 Thread Stefan Hajnoczi
On Tue, Dec 11, 2012 at 10:20:15PM +0800, Amos Kong wrote: > We don't clean up network if fails to parse "-device" parameters without > calling net_cleanup(). I touch a problem, the tap device which is > created by qemu-ifup script could not be removed by qemu-ifdown script. > Some similar problems

Re: [Qemu-devel] [PATCH v2] net: clean up network at qemu process termination

2012-12-11 Thread Michael S. Tsirkin
On Tue, Dec 11, 2012 at 10:20:15PM +0800, Amos Kong wrote: > We don't clean up network if fails to parse "-device" parameters without > calling net_cleanup(). I touch a problem, the tap device which is > created by qemu-ifup script could not be removed by qemu-ifdown script. > Some similar problems

[Qemu-devel] [PATCH v2] net: clean up network at qemu process termination

2012-12-11 Thread Amos Kong
We don't clean up network if fails to parse "-device" parameters without calling net_cleanup(). I touch a problem, the tap device which is created by qemu-ifup script could not be removed by qemu-ifdown script. Some similar problems also exist in vl.c In this patch, if network initialization succe