Kconfig 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. menuconfig RT_USING_VIRTIO
  2. bool "Using VirtIO device drivers"
  3. default n
  4. help
  5. Enable VirtIO front-end drivers for virtualized environments (QEMU,
  6. cloud). Requires a hypervisor exposing VirtIO MMIO or PCI devices.
  7. if RT_USING_VIRTIO
  8. choice RT_USING_VIRTIO_VERSION
  9. prompt "VirtIO Version"
  10. default RT_USING_VIRTIO10
  11. config RT_USING_VIRTIO10
  12. bool "VirtIO v1.0"
  13. help
  14. Use the modern VirtIO 1.0 device layout with feature bits in
  15. the standard registers.
  16. endchoice
  17. config RT_USING_VIRTIO_MMIO_ALIGN
  18. bool "Using VirtIO MMIO alignment"
  19. default y
  20. help
  21. Enforce strict MMIO alignment handling required by some hosts.
  22. config RT_USING_VIRTIO_BLK
  23. bool "Using VirtIO BLK"
  24. default y
  25. help
  26. Build the VirtIO block driver to expose virtual disks as RT-Thread
  27. block devices.
  28. config RT_USING_VIRTIO_NET
  29. bool "Using VirtIO NET"
  30. default y
  31. help
  32. Build the VirtIO network driver to connect to the hypervisor's
  33. virtual NIC.
  34. menuconfig RT_USING_VIRTIO_CONSOLE
  35. bool "Using VirtIO Console"
  36. default y
  37. help
  38. Enable the VirtIO console port driver for serial I/O via hypervisor.
  39. if RT_USING_VIRTIO_CONSOLE
  40. config RT_USING_VIRTIO_CONSOLE_PORT_MAX_NR
  41. int "Max number of port in VirtIO Console"
  42. default 4
  43. help
  44. Maximum number of sub-ports exposed by the VirtIO console.
  45. endif
  46. config RT_USING_VIRTIO_GPU
  47. bool "Using VirtIO GPU"
  48. default y
  49. help
  50. Build the VirtIO GPU driver for virtual display support.
  51. config RT_USING_VIRTIO_INPUT
  52. bool "Using VirtIO Input"
  53. default y
  54. help
  55. Register VirtIO input devices (keyboard, pointer) through RT-Thread.
  56. endif