mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-07 00:14:21 +01:00
git-subtree-dir: tools/packaging git-subtree-mainline:f818b46a41git-subtree-split:1f22d72d5dSigned-off-by: Peng Tao <bergwolf@hyper.sh>
30 lines
876 B
Plaintext
30 lines
876 B
Plaintext
# We need virtio for 9p and serial and vsock at least
|
|
|
|
# To get VIRTIO, we need a bus - ours of choice is PCI. We need to enable
|
|
# PCI support to get VIRTIO_PCI support
|
|
CONFIG_PCI=y
|
|
CONFIG_PCI_MSI=y
|
|
CONFIG_PCI_MSI_IRQ_DOMAIN=y
|
|
# To get to the VIRTIO_PCI, we need the VIRTIO_MENU enabled
|
|
CONFIG_VIRTIO_MENU=y
|
|
CONFIG_VIRTIO_PCI=y
|
|
# Without this nested-VM Kata does not work (we have not worked out exactly why)
|
|
CONFIG_VIRTIO_PCI_LEGACY=y
|
|
|
|
# This is used by the s390 arch at least. Leave it on globally.
|
|
CONFIG_HW_RANDOM=y
|
|
CONFIG_HW_RANDOM_VIRTIO=y
|
|
|
|
# This is required for booting from pmem
|
|
CONFIG_VIRTIO_PMEM=y
|
|
|
|
# FIXME - are we moving away from/choosing between SCSI and BLK support?
|
|
# https://github.com/kata-containers/packaging/issues/483
|
|
CONFIG_SCSI=y
|
|
CONFIG_SCSI_LOWLEVEL=y
|
|
CONFIG_SCSI_VIRTIO=y
|
|
CONFIG_VIRTIO_BLK=y
|
|
CONFIG_TTY=y
|
|
CONFIG_VIRTIO_CONSOLE=y
|
|
CONFIG_VIRTIO_NET=y
|