[yocto] Question about XEN-hypervisor and Yocto build system

M. Gregory mbgrego at tycho.nsa.gov
Wed Mar 23 06:40:16 PDT 2016



On 03/23/2016 08:46 AM, Olsson Rikard (RBSN/ESW1) wrote:
> Hello Yocto Members,
>
> I am looking into xen-hypervisor and have downloaded the meta-virtualization layer and updated bblayers.conf to pull in the layer. However I am unsure how to proceed:
> 1) How do I configure the meta-virtualization to use Xen hypervisor
> 2) What target do I build/bb file do I build.
>
> I usually build either:
> bitbake core-image-minimal ==> Standard Linux for our HW board
> bitbake core-image-XXX--XXX ==> Standard Linux for our HW board + additional application layers.
>
> I am however unable to understand the connection between the images I currently build and the Xen-hypervisor, for example:
> recipes-extended/libvirt/libvirt_1.2.19.bb:# xen-minimal config
> recipes-extended/images/kvm-image-minimal.bb:DESCRIPTION = "A minimal kvm image"
> recipes-extended/images/xen-image-minimal.bb:DESCRIPTION = "A minimal xen image"
> What are above bitbake recipes, should I build xen-image-minimal.bb instead of core-image-minimal or....
>
> I have looked at:
> https://wiki.yoctoproject.org/wiki/Virtualization_with_KVM
> and the two README files:
> ./docs/00-README
> ./README
> but there is not much information on Yocto and xen-hypervisor so I am unsure how to setup the build system.
>
> Appreciate any advice or input.
>
> Best regards
> Rikard Olsson
>
You should send your meta-virtualization questions to
meta-virtualization at yoctoproject.org.

The xen-image-minimal will build an image with the Xen hypervisor. You
need to include xen in your DISTRO_FEATURES to ensure all other required
components are built.

-- 
Machon Gregory




More information about the yocto mailing list