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

Olsson Rikard (RBSN/ESW1) Rikard.Olsson at se.bosch.com
Wed Mar 23 05:46:51 PDT 2016


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




More information about the yocto mailing list