[meta-virtualization] How do I enable all Xen device drivers?

Bruce Ashfield bruce.ashfield at gmail.com
Sun Nov 13 20:44:44 PST 2016


On Sat, Nov 12, 2016 at 12:14 AM, Andrew Stuart <
andrew.stuart at supercoders.com.au> wrote:

> The problem I have is that I do not see an eth0 when running on Xen / EC2
>
> I am trying to enable the correct Xen drivers.
>
> I can see that this file contains what appars to be the correct kernel
> settings:
>
> Could comeone please explain to me - like I’m five years old because I’m
> new to Yocto - what I need to do to get my build to use these settings
> please?
>

What branch are you building (of poky/oe-core and of meta-virt) ? It really
shouldn't
matter, but it can be relevant .. so best to ask right away.

Also have you put 'xen' in your DISTRO_FEATURES ? (it can be done in your
local.conf). Those kernel configs are only added/enabled when xen is found
in
the distro config.

Bruce





>
> thanks!
>
>
> poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.cfg
>
> CONFIG_HYPERVISOR_GUEST=y
> CONFIG_PARAVIRT=y
> CONFIG_XEN=y
> CONFIG_XEN_DOM0=y
> CONFIG_XEN_PVHVM=y
> CONFIG_XEN_MAX_DOMAIN_MEMORY=500
> CONFIG_XEN_SAVE_RESTORE=y
> # CONFIG_XEN_DEBUG_FS is not set
> CONFIG_XEN_PVH=y
> CONFIG_MMU_NOTIFIER=y
> CONFIG_HIBERNATE_CALLBACKS=y
> CONFIG_PCI_XEN=y
> CONFIG_XEN_PCIDEV_FRONTEND=y
> CONFIG_SYS_HYPERVISOR=y
> CONFIG_XEN_BLKDEV_FRONTEND=y
> CONFIG_XEN_BLKDEV_BACKEND=m
> CONFIG_XEN_SCSI_FRONTEND=m
> CONFIG_XEN_NETDEV_FRONTEND=y
> CONFIG_XEN_NETDEV_BACKEND=m
> CONFIG_INPUT_MISC=y
> CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
> CONFIG_HVC_IRQ=y
> CONFIG_HVC_XEN=y
> CONFIG_HVC_XEN_FRONTEND=y
> CONFIG_XEN_WDT=m
> CONFIG_FB_SYS_FILLRECT=y
> CONFIG_FB_SYS_COPYAREA=y
> CONFIG_FB_SYS_IMAGEBLIT=y
> CONFIG_FB_SYS_FOPS=y
> CONFIG_FB_DEFERRED_IO=y
> 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=m
> CONFIG_XEN_GRANT_DEV_ALLOC=m
> CONFIG_SWIOTLB_XEN=y
> CONFIG_XEN_PCIDEV_BACKEND=m
> CONFIG_XEN_PRIVCMD=y
> CONFIG_XEN_ACPI_PROCESSOR=m
> CONFIG_XEN_MCE_LOG=y
> CONFIG_XEN_HAVE_PVMMU=y
> CONFIG_XEN_EFI=y
> CONFIG_XEN_AUTO_XLATE=y
> CONFIG_XEN_ACPI=y
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20161113/62da1920/attachment.html>


More information about the meta-virtualization mailing list