Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. menuconfig RT_USING_VIRTIO
  2. bool "Using VirtIO device drivers"
  3. default n
  4. if RT_USING_VIRTIO
  5. choice RT_USING_VIRTIO_VERSION
  6. prompt "VirtIO Version"
  7. default RT_USING_VIRTIO_LEGACY
  8. config RT_USING_VIRTIO_LEGACY
  9. bool "VirtIO Legacy (v0.95)"
  10. help
  11. Support for VirtIO legacy interface (version 0x1).
  12. This is the older version compatible with most existing QEMU versions.
  13. config RT_USING_VIRTIO10
  14. bool "VirtIO Legacy (v1.0 - alias for compatibility)"
  15. help
  16. Alias for RT_USING_VIRTIO_LEGACY for backward compatibility.
  17. Support for VirtIO legacy interface (version 0x1).
  18. config RT_USING_VIRTIO_MODERN
  19. bool "VirtIO Modern (v1.0+)"
  20. help
  21. Support for VirtIO modern interface (version 0x2).
  22. This version supports VirtIO 1.0, 1.1, and 1.2 specifications.
  23. Requires QEMU 2.4+ or compatible hypervisor.
  24. endchoice
  25. config RT_USING_VIRTIO_MMIO_ALIGN
  26. bool "Using VirtIO MMIO alignment"
  27. default y
  28. config RT_USING_VIRTIO_BLK
  29. bool "Using VirtIO BLK"
  30. default y
  31. config RT_USING_VIRTIO_NET
  32. bool "Using VirtIO NET"
  33. default y
  34. menuconfig RT_USING_VIRTIO_CONSOLE
  35. bool "Using VirtIO Console"
  36. default y
  37. if RT_USING_VIRTIO_CONSOLE
  38. config RT_USING_VIRTIO_CONSOLE_PORT_MAX_NR
  39. int "Max number of port in VirtIO Console"
  40. default 4
  41. endif
  42. config RT_USING_VIRTIO_GPU
  43. bool "Using VirtIO GPU"
  44. default y
  45. config RT_USING_VIRTIO_INPUT
  46. bool "Using VirtIO Input"
  47. default y
  48. endif