diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-09-27 18:41:30 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-10-07 12:19:47 +0200 |
commit | afbaa7b4382faced3c364606a5e5d5389462147b (patch) | |
tree | 9028cc3991507e8600aacafc7ff85ec15f88f4ad /hw/eepro100.c | |
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>
Diffstat (limited to 'hw/eepro100.c')
0 files changed, 0 insertions, 0 deletions