commit | 9a2bdcc85d28506d4e5d4a9618fb133a3f40945d | [log] [tgz] |
---|---|---|
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | Mon Dec 10 16:38:33 2012 +0800 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Dec 18 15:20:43 2012 +1030 |
tree | ac571e092d7542a5c5121d25b5f8f02cdfbb7a41 | |
parent | 9bffdca8c64a72ac54c47a552734ab457bc720d4 [diff] |
virtio: add drv_to_virtio to make code clearly Add drv_to_virtio wrapper to get virtio_driver from device_driver. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>