Add minimal config for testing
The minimal config is not used by the package itself, but is useful when testing different kernel versions (git bisect, etc.), so store it here.
This commit is contained in:
parent
9ba57e46ee
commit
9a50618f32
95
config-qubes-minimal
Normal file
95
config-qubes-minimal
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
## Minimal config for a Qubes VM. Intended for easier testing (git bisect, etc.)
|
||||||
|
##
|
||||||
|
## Lines starting with ## are comments.
|
||||||
|
##
|
||||||
|
## Run
|
||||||
|
##
|
||||||
|
## .../linux-kernel/gen-config arch/x86/configs/x86_64_defconfig .../linux-kernel/config-qubes-minimal
|
||||||
|
##
|
||||||
|
## in a linux tree to generate a complete config file.
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
## linux/kernel/configs/xen.config
|
||||||
|
|
||||||
|
## global stuff - these enable us to allow some
|
||||||
|
## of the not so generic stuff below for xen
|
||||||
|
CONFIG_PARAVIRT=y
|
||||||
|
CONFIG_NET=y
|
||||||
|
CONFIG_NET_CORE=y
|
||||||
|
CONFIG_NETDEVICES=y
|
||||||
|
CONFIG_BLOCK=y
|
||||||
|
CONFIG_WATCHDOG=y
|
||||||
|
CONFIG_TARGET_CORE=y
|
||||||
|
CONFIG_SCSI=y
|
||||||
|
CONFIG_FB=y
|
||||||
|
CONFIG_INPUT_MISC=y
|
||||||
|
CONFIG_MEMORY_HOTPLUG=y
|
||||||
|
CONFIG_TTY=y
|
||||||
|
## Technically not required but otherwise produces
|
||||||
|
## pretty useless systems starting from allnoconfig
|
||||||
|
## You want TCP/IP and ELF binaries right?
|
||||||
|
CONFIG_INET=y
|
||||||
|
CONFIG_BINFMT_ELF=y
|
||||||
|
## generic config
|
||||||
|
CONFIG_XEN=y
|
||||||
|
CONFIG_XEN_DOM0=y
|
||||||
|
## backend drivers
|
||||||
|
CONFIG_XEN_BACKEND=y
|
||||||
|
CONFIG_XEN_BLKDEV_BACKEND=m
|
||||||
|
CONFIG_XEN_NETDEV_BACKEND=m
|
||||||
|
CONFIG_HVC_XEN=y
|
||||||
|
CONFIG_XEN_WDT=m
|
||||||
|
CONFIG_XEN_SCSI_BACKEND=m
|
||||||
|
## frontend drivers
|
||||||
|
CONFIG_XEN_FBDEV_FRONTEND=m
|
||||||
|
CONFIG_HVC_XEN_FRONTEND=y
|
||||||
|
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
|
||||||
|
## others
|
||||||
|
CONFIG_XEN_BALLOON=y
|
||||||
|
CONFIG_XEN_SCRUB_PAGES=y
|
||||||
|
CONFIG_XEN_DEV_EVTCHN=m
|
||||||
|
CONFIG_XEN_BLKDEV_FRONTEND=m
|
||||||
|
CONFIG_XEN_NETDEV_FRONTEND=m
|
||||||
|
CONFIG_XENFS=m
|
||||||
|
CONFIG_XEN_COMPAT_XENFS=y
|
||||||
|
CONFIG_XEN_SYS_HYPERVISOR=y
|
||||||
|
CONFIG_XEN_XENBUS_FRONTEND=y
|
||||||
|
CONFIG_XEN_GNTDEV=m
|
||||||
|
CONFIG_XEN_GRANT_DEV_ALLOC=m
|
||||||
|
CONFIG_SWIOTLB_XEN=y
|
||||||
|
CONFIG_XEN_PRIVCMD=m
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
## linux/arch/x86/configs/xen.config
|
||||||
|
|
||||||
|
## global x86 required specific stuff
|
||||||
|
CONFIG_64BIT=y
|
||||||
|
|
||||||
|
## These enable us to allow some of the
|
||||||
|
## not so generic stuff below
|
||||||
|
CONFIG_HYPERVISOR_GUEST=y
|
||||||
|
CONFIG_PCI=y
|
||||||
|
CONFIG_PCI_MSI=y
|
||||||
|
CONFIG_X86_MCE=y
|
||||||
|
CONFIG_ACPI_PROCESSOR=y
|
||||||
|
CONFIG_CPU_FREQ=y
|
||||||
|
|
||||||
|
## x86 xen specific config options
|
||||||
|
CONFIG_XEN_PVH=y
|
||||||
|
CONFIG_XEN_SAVE_RESTORE=y
|
||||||
|
## CONFIG_XEN_DEBUG_FS is not set
|
||||||
|
CONFIG_XEN_MCE_LOG=y
|
||||||
|
CONFIG_XEN_ACPI_PROCESSOR=m
|
||||||
|
## x86 specific backend drivers
|
||||||
|
CONFIG_XEN_PCIDEV_BACKEND=m
|
||||||
|
## x86 specific frontend drivers
|
||||||
|
CONFIG_XEN_PCIDEV_FRONTEND=m
|
||||||
|
## depends on MEMORY_HOTPLUG, arm64 doesn't enable this yet,
|
||||||
|
## move to generic config if it ever does.
|
||||||
|
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
|
||||||
|
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
## Some basic stuff required in an Qubes VM
|
||||||
|
|
||||||
|
CONFIG_DM_SNAPSHOT=m
|
Loading…
Reference in New Issue
Block a user