commit | afbaa7b4382faced3c364606a5e5d5389462147b | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Sep 27 18:41:30 2010 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 07 12:19:47 2010 +0200 |
tree | 9028cc3991507e8600aacafc7ff85ec15f88f4ad | |
parent | e0c472d8c2795e523b0f9006dbe5bc22545c8300 [diff] |
virtio-net: unify vhost-net start/stop Move all of vhost-net start/stop logic to a single routine, and call it from everywhere. Additionally, start/stop vhost-net on link up/down: we should not transmit anything if user asked us to put the link down. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Alex Williamson <alex.williamson@redhat.com>