summaryrefslogtreecommitdiffstats
path: root/hw/usb/hcd-ehci.c
diff options
context:
space:
mode:
authorAmos Kong2012-12-11 15:20:15 +0100
committerStefan Hajnoczi2013-01-07 10:43:21 +0100
commitf30dbae63a46f23116715dff8d130c7d01ff02be (patch)
tree48cb59af5643df31a1fd65ebe87240d0405d3f87 /hw/usb/hcd-ehci.c
parente1000: Discard oversized packets based on SBP|LPE (diff)
downloadqemu-f30dbae63a46f23116715dff8d130c7d01ff02be.tar.gz
qemu-f30dbae63a46f23116715dff8d130c7d01ff02be.tar.xz
qemu-f30dbae63a46f23116715dff8d130c7d01ff02be.zip
net: clean up network at qemu process termination
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 successes, a cleanup function will be registered to be called at qemu process termination. Signed-off-by: Amos Kong <akong@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci.c')
0 files changed, 0 insertions, 0 deletions