-
- Downloads
Virtio interface
This attempts to implement a "virtual I/O" layer which should allow
common drivers to be efficiently used across most virtual I/O
mechanisms. It will no-doubt need further enhancement.
The virtio drivers add buffers to virtio queues; as the buffers are consumed
the driver "interrupt" callbacks are invoked.
There is also a generic implementation of config space which drivers can query
to get setup information from the host.
Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
Cc: Dor Laor <dor.laor@qumranet.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Showing
- drivers/Kconfig 2 additions, 0 deletionsdrivers/Kconfig
- drivers/Makefile 1 addition, 0 deletionsdrivers/Makefile
- drivers/virtio/Kconfig 3 additions, 0 deletionsdrivers/virtio/Kconfig
- drivers/virtio/Makefile 1 addition, 0 deletionsdrivers/virtio/Makefile
- drivers/virtio/config.c 13 additions, 0 deletionsdrivers/virtio/config.c
- drivers/virtio/virtio.c 171 additions, 0 deletionsdrivers/virtio/virtio.c
- include/linux/Kbuild 1 addition, 0 deletionsinclude/linux/Kbuild
- include/linux/mod_devicetable.h 6 additions, 0 deletionsinclude/linux/mod_devicetable.h
- include/linux/virtio.h 110 additions, 0 deletionsinclude/linux/virtio.h
- include/linux/virtio_config.h 111 additions, 0 deletionsinclude/linux/virtio_config.h
Loading
Please register or sign in to comment