mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
linux-yocto/xen: update fragment to support both dom0 and typical xen guests.
Updated linux kernel fragment to match defaults as defined in the 3.10 kernel's Kconfig files. If defaults were not specified, modules were were used unless required by another built-in option. As such, The core frontend drivers are included by default and the backend drivers are built as modules. This allows privileged, PV, HVM, and PVHVM guests to work properly without additional kernel configuration or modules required in initramfs (from a Xen support perspective). This also removes CONFIG_KVM_GUEST which was erroneously included previously. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
06bb47de22
commit
b531d00262
|
@ -15,15 +15,14 @@ CONFIG_XEN_PRIVILEGED_GUEST=y
|
|||
CONFIG_XEN_PVHVM=y
|
||||
CONFIG_XEN_MAX_DOMAIN_MEMORY=500
|
||||
CONFIG_XEN_SAVE_RESTORE=y
|
||||
CONFIG_KVM_GUEST=y
|
||||
CONFIG_PARAVIRT_CLOCK=y
|
||||
CONFIG_HIBERNATE_CALLBACKS=y
|
||||
CONFIG_PCI_XEN=y
|
||||
CONFIG_XEN_PCIDEV_FRONTEND=m
|
||||
CONFIG_XEN_PCIDEV_FRONTEND=y
|
||||
CONFIG_SYS_HYPERVISOR=y
|
||||
CONFIG_XEN_BLKDEV_FRONTEND=m
|
||||
CONFIG_XEN_BLKDEV_FRONTEND=y
|
||||
CONFIG_XEN_BLKDEV_BACKEND=m
|
||||
CONFIG_XEN_NETDEV_FRONTEND=m
|
||||
CONFIG_XEN_NETDEV_FRONTEND=y
|
||||
CONFIG_XEN_NETDEV_BACKEND=m
|
||||
CONFIG_INPUT_MISC=y
|
||||
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
|
||||
|
@ -39,9 +38,9 @@ CONFIG_FB_DEFERRED_IO=y
|
|||
CONFIG_XEN_FBDEV_FRONTEND=y
|
||||
CONFIG_XEN_BALLOON=y
|
||||
CONFIG_XEN_SCRUB_PAGES=y
|
||||
CONFIG_XEN_DEV_EVTCHN=m
|
||||
CONFIG_XEN_DEV_EVTCHN=y
|
||||
CONFIG_XEN_BACKEND=y
|
||||
CONFIG_XENFS=m
|
||||
CONFIG_XENFS=y
|
||||
CONFIG_XEN_COMPAT_XENFS=y
|
||||
CONFIG_XEN_SYS_HYPERVISOR=y
|
||||
CONFIG_XEN_XENBUS_FRONTEND=y
|
||||
|
@ -49,7 +48,7 @@ CONFIG_XEN_GNTDEV=m
|
|||
CONFIG_XEN_GRANT_DEV_ALLOC=m
|
||||
CONFIG_SWIOTLB_XEN=y
|
||||
CONFIG_XEN_PCIDEV_BACKEND=m
|
||||
CONFIG_XEN_PRIVCMD=m
|
||||
CONFIG_XEN_PRIVCMD=y
|
||||
CONFIG_XEN_ACPI_PROCESSOR=m
|
||||
CONFIG_XEN_MCE_LOG=y
|
||||
CONFIG_XEN_HAVE_PVMMU=y
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define KFEATURE_DESCRIPTION "Xen Dom0 Support"
|
||||
define KFEATURE_COMPATIBILITY board
|
||||
define KFEATURE_DESCRIPTION "Xen Kernel Support"
|
||||
define KFEATURE_COMPATIBILITY arch
|
||||
|
||||
kconf non-hardware xen.cfg
|
||||
|
|
|
@ -15,5 +15,5 @@ module_autoload_kvm-intel = "kvm-intel"
|
|||
# aufs kernel support required for xen-image-minimal
|
||||
KERNEL_FEATURES_append += "${@base_contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}"
|
||||
|
||||
# xen dom0 kernel support
|
||||
# xen kernel support
|
||||
SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}"
|
||||
|
|
|
@ -12,5 +12,5 @@ module_autoload_kvm = "kvm"
|
|||
module_autoload_kvm-amd = "kvm-amd"
|
||||
module_autoload_kvm-intel = "kvm-intel"
|
||||
|
||||
# xen dom0 kernel support
|
||||
# xen kernel support
|
||||
SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}"
|
||||
|
|
|
@ -15,5 +15,5 @@ module_autoload_kvm-intel = "kvm-intel"
|
|||
# aufs kernel support required for xen-image-minimal
|
||||
KERNEL_FEATURES_append += "${@base_contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}"
|
||||
|
||||
# xen dom0 kernel support
|
||||
# xen kernel support
|
||||
SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user