David Abdurachmanov
b3c173bfe0
UNTESTED Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
202 lines
4.3 KiB
Plaintext
202 lines
4.3 KiB
Plaintext
# https://github.com/riscv/riscv-qemu/commit/039dbd521277bc0aab672203a1a199e4519094da
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
|
|
# https://github.com/riscv/riscv-qemu/commit/3446cee04256753a29c45b033d643fcdea24fc72
|
|
CONFIG_RISCV_PLIC=y
|
|
CONFIG_HVC_RISCV_SBI=y
|
|
CONFIG_VIRTIO=y
|
|
CONFIG_VIRTIO_MMIO=y
|
|
CONFIG_VIRTIO_PCI=y
|
|
CONFIG_VIRTIO_BLK=y
|
|
CONFIG_VIRTIO_NET=y
|
|
CONFIG_VIRTIO_CONSOLE=y
|
|
CONFIG_SCSI_VIRTIO=y
|
|
CONFIG_DRM_VIRTIO_GPU=y
|
|
|
|
# Loopback lets us build the stage4 disk.
|
|
CONFIG_BLK_DEV=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
|
|
# The stage4 root filesystem is ext4.
|
|
CONFIG_EXT4_FS=y
|
|
|
|
# Needed to avoid cap_set_file errors when installing RPMs.
|
|
CONFIG_EXT4_FS_SECURITY=y
|
|
|
|
CONFIG_FILE_LOCKING=y
|
|
CONFIG_NET_CORE=y
|
|
CONFIG_NETDEVICES=y
|
|
|
|
# iptables supported, needed for mock.
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_NETFILTER_ADVANCED=y
|
|
CONFIG_NETFILTER_XTABLES=y
|
|
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
|
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
|
CONFIG_NF_IPTABLES=y
|
|
CONFIG_NF_NAT=y
|
|
CONFIG_NF_NAT_IPV4=y
|
|
CONFIG_NF_NAT_IPV6=y
|
|
CONFIG_NF_CONNTRACK=y
|
|
CONFIG_NF_CONNTRACK_IPV4=y
|
|
CONFIG_NF_CONNTRACK_IPV6=y
|
|
CONFIG_NF_SOCKET_IPV4=y
|
|
CONFIG_NF_SOCKET_IPV6=y
|
|
CONFIG_IP_NF_NAT=y
|
|
CONFIG_IP_NF_FILTER=y
|
|
CONFIG_IP_NF_IPTABLES=y
|
|
CONFIG_IP_NF_TARGET_REJECT=y
|
|
CONFIG_IP_NF_RAW=y
|
|
CONFIG_IP6_NF_NAT=y
|
|
CONFIG_IP6_NF_FILTER=y
|
|
CONFIG_IP6_NF_IPTABLES=y
|
|
CONFIG_IP6_NF_TARGET_REJECT=y
|
|
CONFIG_IP6_NF_RAW=y
|
|
|
|
# For systemd:
|
|
# https://cgit.freedesktop.org/systemd/systemd/tree/README
|
|
CONFIG_TMPFS=y
|
|
CONFIG_TMPFS_XATTR=y
|
|
CONFIG_SYSFS=y
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_INOTIFY_USER=y
|
|
CONFIG_SIGNALFD=y
|
|
CONFIG_TIMERFD=y
|
|
CONFIG_EPOLL=y
|
|
CONFIG_NET=y
|
|
CONFIG_PROC_FS=y
|
|
CONFIG_FHANDLE=y
|
|
CONFIG_SYSFS_DEPRECATED=n
|
|
CONFIG_UEVENT_HELPER_PATH=""
|
|
CONFIG_FW_LOADER_USER_HELPER=n
|
|
CONFIG_DMIID=y
|
|
CONFIG_BLK_DEV_BSG=y
|
|
CONFIG_NET_NS=y
|
|
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
|
CONFIG_AUTOFS4_FS=y
|
|
CONFIG_TMPFS_XATTR=y
|
|
CONFIG_TMPFS_POSIX_ACL=y
|
|
CONFIG_EXT4_POSIX_ACL=y
|
|
CONFIG_XFS_POSIX_ACL=y
|
|
CONFIG_BTRFS_FS_POSIX_ACL=y
|
|
CONFIG_SECCOMP=y
|
|
CONFIG_SECCOMP_FILTER=y
|
|
CONFIG_CHECKPOINT_RESTORE=y
|
|
CONFIG_CGROUP_SCHED=y
|
|
CONFIG_FAIR_GROUP_SCHED=y
|
|
CONFIG_CFS_BANDWIDTH=y
|
|
CONFIG_EFIVAR_FS=y
|
|
CONFIG_EFI_PARTITION=y
|
|
CONFIG_RT_GROUP_SCHED=n
|
|
CONFIG_AUDIT=n
|
|
|
|
# Networking:
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_BRIDGE=y
|
|
CONFIG_IPV6=y
|
|
|
|
# NFS client.
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_NFS_V3_ACL=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_NFS_V4_1=y
|
|
CONFIG_NFS_V4_2=y
|
|
CONFIG_NFS_FSCACHE=y
|
|
CONFIG_ROOT_NFS=y
|
|
|
|
# SysV IPC needed by GnuPG.
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_SYSVIPC_SYSCTL=y
|
|
|
|
# Add XFS for running xfstests (to test libaio).
|
|
CONFIG_XFS_FS=y
|
|
CONFIG_XFS_QUOTA=y
|
|
CONFIG_XFS_POSIX_ACL=y
|
|
|
|
# For mock, avoids:
|
|
# WARNING: tcmsg: [Errno 2] No such file or directory: '/proc/net/psched'
|
|
# WARNING: the tc subsystem functionality is limited
|
|
CONFIG_NET_SCHED=y
|
|
|
|
# For NBD booting.
|
|
CONFIG_BLK_DEV_NBD=y
|
|
|
|
# Debugging.
|
|
CONFIG_STACKTRACE=y
|
|
|
|
# Device mapper support.
|
|
CONFIG_MD=y
|
|
CONFIG_MD_AUTODETECT=y
|
|
CONFIG_BLK_DEV_DM=y
|
|
CONFIG_BLK_DEV_DM_BUILTIN=y
|
|
|
|
CONFIG_DM_DEBUG=y
|
|
CONFIG_DM_BUFIO=y
|
|
CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING=y
|
|
CONFIG_DM_BIO_PRISON=y
|
|
CONFIG_DM_PERSISTENT_DATA=y
|
|
CONFIG_DM_UNSTRIPED=y
|
|
CONFIG_DM_CRYPT=y
|
|
CONFIG_DM_SNAPSHOT=y
|
|
CONFIG_DM_THIN_PROVISIONING=y
|
|
CONFIG_DM_CACHE=y
|
|
CONFIG_DM_CACHE_SMQ=y
|
|
CONFIG_DM_MIRROR=y
|
|
CONFIG_DM_LOG_USERSPACE=y
|
|
CONFIG_DM_RAID=y
|
|
CONFIG_DM_ZERO=y
|
|
CONFIG_DM_MULTIPATH=y
|
|
CONFIG_DM_MULTIPATH_QL=y
|
|
CONFIG_DM_MULTIPATH_ST=y
|
|
CONFIG_DM_DELAY=y
|
|
CONFIG_DM_UEVENT=y
|
|
CONFIG_DM_FLAKEY=y
|
|
CONFIG_DM_VERITY=y
|
|
CONFIG_DM_VERITY_FEC=y
|
|
CONFIG_DM_SWITCH=y
|
|
CONFIG_DM_LOG_WRITES=y
|
|
CONFIG_DM_INTEGRITY=y
|
|
CONFIG_DM_ZONED=y
|
|
|
|
# Magic SysRQ key.
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0
|
|
CONFIG_MAGIC_SYSRQ_SERIAL=y
|
|
|
|
# Crypto user API.
|
|
CONFIG_CRYPTO_USER=y
|
|
CONFIG_CRYPTO_USER_API=y
|
|
CONFIG_CRYPTO_USER_API_HASH=y
|
|
CONFIG_CRYPTO_USER_API_SKCIPHER=y
|
|
CONFIG_CRYPTO_USER_API_RNG=y
|
|
CONFIG_CRYPTO_USER_API_AEAD=y
|
|
|
|
# Enable remaining PCIe features (NB: some of these are specific to
|
|
# the microsemi PCIe hardware and not used by qemu).
|
|
CONFIG_HOTPLUG_PCI_PCIE=y
|
|
CONFIG_HOTPLUG_PCI=y
|
|
CONFIG_MEDIA_PCI_SUPPORT=y
|
|
CONFIG_PCI_ATS=y
|
|
CONFIG_PCI_DEBUG=y
|
|
CONFIG_PCIEAER=y
|
|
CONFIG_PCIEASPM_DEFAULT=y
|
|
CONFIG_PCIEASPM=y
|
|
CONFIG_PCI_ECAM=y
|
|
CONFIG_PCIE_MICROSEMI=y
|
|
CONFIG_PCI_ENDPOINT=y
|
|
CONFIG_PCIEPORTBUS=y
|
|
CONFIG_PCI_HOST_COMMON=y
|
|
CONFIG_PCI_HOST_GENERIC=y
|
|
CONFIG_PCI_IOV=y
|
|
CONFIG_PCI_PASID=y
|
|
CONFIG_PCI_PRI=y
|
|
CONFIG_PCI_SW_SWITCHTEC=y
|
|
CONFIG_USB_BDC_PCI=y
|