I
I
iandriyanov2011-12-08 07:18:14
linux
iandriyanov, 2011-12-08 07:18:14

Xen under Gentoo?

Dear %habrausers%, who have real experience in building a kernel with Xen support.
Data:
- Kernel 3.0.* and higher
According to the manuals on the Internet, it is clear that the module is turned on with one or two clicks. In fact, the Xen Guest inclusion point is missing both in the 3.0.6 kernel and in the 3.1.4 kernel
91770859.png
. Please help. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shadowalone, 2011-12-08
@shadowalone

The guest does not need a separate kernel, everything works out of the box.

G
Gregory, 2011-12-08
@gvas_ru

cat /usr/src/linux/.config | grep XEN
CONFIG_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
# CONFIG_XEN_DEBUG is not set
CONFIG_PCI_XEN=y
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
# CONFIG_NETXEN_NIC is not set
CONFIG_XEN_NETDEV_FRONTEND=m
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
# CONFIG_XEN_WDT is not set
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=y
CONFIG_XEN_GRANT_DEV_ALLOC=y
CONFIG_XEN_PLATFORM_PCI=y
CONFIG_SWIOTLB_XEN=y
CONFIG_XEN_PCIDEV_BACKEND=y

I think you need the first 3 lines.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question