Xen/Source/config

From Segfault
< Xen‎ | Source
Jump to: navigation, search

The Xen paravirt_ops page lists the following Kernel config options for a working Dom0 kernel:

 CONFIG_HVC_XEN=y
 CONFIG_NETXEN_NIC=m
 CONFIG_PCI_XEN=y
 CONFIG_XEN=y
 CONFIG_XENFS=y
 CONFIG_XEN_BACKEND=y
 CONFIG_XEN_BALLOON=y
 CONFIG_XEN_BLKDEV_BACKEND=y
 CONFIG_XEN_BLKDEV_FRONTEND=m
 CONFIG_XEN_COMPAT_XENFS=y
 CONFIG_XEN_DEV_EVTCHN=y
 CONFIG_XEN_DOM0=y
 CONFIG_XEN_FBDEV_FRONTEND=m
 CONFIG_XEN_KBDDEV_FRONTEND=m
 CONFIG_XEN_MAX_DOMAIN_MEMORY=32
 CONFIG_XEN_NETDEV_BACKEND=y
 CONFIG_XEN_NETDEV_FRONTEND=m
 CONFIG_XEN_PCI=y
 CONFIG_XEN_PCIDEV_FRONTEND=y 
 CONFIG_XEN_PRIVILEGED_GUEST=y
 CONFIG_XEN_SAVE_RESTORE=y
 CONFIG_XEN_SCRUB_PAGES=y
 CONFIG_XEN_XENBUS_FRONTEND=m

While configuring a 2.6.32 kernel, the following options were selected:

 # CONFIG_XEN_GNTDEV is not set
 # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
 # CONFIG_XEN_PCIDEV_BACKEND_PASS is not set
 # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
 # CONFIG_XEN_PCIDEV_BE_DEBUG is not set
 CONFIG_HVC_XEN=y
 CONFIG_PCI_XEN=y
 CONFIG_SWIOTLB_XEN=y
 CONFIG_XEN=y
 CONFIG_XENFS=y
 CONFIG_XEN_BACKEND=y
 CONFIG_XEN_BALLOON=y
 CONFIG_XEN_BLKBACK_PAGEMAP=y
 CONFIG_XEN_BLKDEV_BACKEND=y
 CONFIG_XEN_BLKDEV_FRONTEND=y
 CONFIG_XEN_BLKDEV_TAP=y
 CONFIG_XEN_COMPAT_XENFS=y
 CONFIG_XEN_DEV_EVTCHN=y
 CONFIG_XEN_DOM0=y
 CONFIG_XEN_DOM0_PCI=y
 CONFIG_XEN_FBDEV_FRONTEND=y
 CONFIG_XEN_KBDDEV_FRONTEND=y
 CONFIG_XEN_MAX_DOMAIN_MEMORY=32
 CONFIG_XEN_NETDEV_BACKEND=y
 CONFIG_XEN_NETDEV_FRONTEND=y
 CONFIG_XEN_PCIDEV_BACKEND=y
 CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
 CONFIG_XEN_PCIDEV_FRONTEND=y
 CONFIG_XEN_PCI_PASSTHROUGH=y
 CONFIG_XEN_PLATFORM_PCI=y
 CONFIG_XEN_PRIVILEGED_GUEST=y
 CONFIG_XEN_S3=y
 CONFIG_XEN_SAVE_RESTORE=y
 CONFIG_XEN_SCRUB_PAGES=y
 CONFIG_XEN_SYS_HYPERVISOR=y
 CONFIG_XEN_XENBUS_FRONTEND=y


A lot of additional options have been selected. Two of the recommended options were intentionally left out:


 CONFIG_XEN_PCI    - it's CONFIG_PCI_XEN now, resp. CONFIG_XEN_PCI*
 CONFIG_NETXEN_NIC - there's "XEN" in the name, but it's something completely different.