virtio: Enable netpoll interface for netconsole logging
authorAmit Shah <amitshah@gmx.net>
Fri, 29 Feb 2008 10:54:50 +0000 (16:24 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Mar 2008 11:58:20 +0000 (22:58 +1100)
commitda74e89d40995600b3b07ac500084920247687ce
treeee38d53aa14ed15f0fc1474426210e8a89485ad0
parentbdc1681cdf1ab6a65fa935a2b3f8fc63b20c54ea
virtio: Enable netpoll interface for netconsole logging

Add a new poll_controller handler that the netpoll interface needs.

This enables netconsole logging from a kvm guest over the virtio
net interface.

Signed-off-by: Amit Shah <amitshah@gmx.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/virtio_net.c