]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: virtio-net init/exit
authorSasha Levin <levinsasha928@gmail.com>
Wed, 5 Sep 2012 08:31:55 +0000 (10:31 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 5 Sep 2012 13:22:37 +0000 (16:22 +0300)
commit87c39d25399c26f0a6e6ac49150b009cb463ad81
tree18f43ff3d2f2c5e4a4cf287fa5e65278c53325da
parentbc685f586e86605b5052138b20b0a52e90c6207e
kvm tools: virtio-net init/exit

Make the init/exit of virtio-net self-contained, so the global init code
won't need to check if it was selected or not.

This also moves the bulk of the net-specific initialization code, including
the parser, into virtio-net itself.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c
tools/kvm/include/kvm/virtio-net.h
tools/kvm/virtio/net.c