[meta-virtualization] [PATCH 0/5] libvirt fixes and a kernel update
Bruce Ashfield
bruce.ashfield at gmail.com
Wed Feb 26 11:33:21 PST 2014
On Wed, Feb 26, 2014 at 5:07 AM, Jonas Eriksson <jonas.eriksson at enea.com> wrote:
> Hi,
>
> The ultimate goal of this patch series was to use a DISTRO_FEATURE to include
> the lxc.scc configuration in the kernel to be built. This is done to avoid that
> the kernel configuration gets additional code paths ( =y options ) when adding
> the meta-virtualization layer. The configurations that enables modules are left
> untouched.
I've never been particularly concerned about the extra functionality that is
introduced when meta-virt is added, since container support (and arguably
lxc if you are doing "virtualization") is a fairly basic feature.
I'm concerned that within meta-virt we are creating an undocumented set of
DISTRO_FEATURES, and over using the concept. The items are already
controlled via PACKAGECONFIG, so users have flexibility from that point
of view.
We could also use IMAGE_FEATURES as an alternative to distro features,
since we are really only coordinating libvirt and the kernel when "lxc" is a
distro feature .. which arguably isn't distro wide.
Outside of the lxc change, everything looks pretty good, I'm going to ack
the individual patches to make it clear :)
Don't misunderstand my comments, there's no white/black answer here, I'm
just trying to spark a discussion to make sure the direction is clear
and we have
a pseudo-consensus :)
Cheers,
Bruce
>
> In this process, I stumbled upon some bugs/issues with the libvirt recipe,
> which are updated as well.
>
> Best regards,
> /Jonas
>
> Jonas Eriksson (5):
> libvirt: Change license to LGPLv2.1+
> libvirt: Fix selinux DISTRO_FEATURE check
> Use a DISTRO_FEATURE to toggle LXC support
> libvirt: Use DISTRO_FEATURES to enable Xen support
> libvirt: Disable polkit driver when there is no x11
>
> recipes-extended/libvirt/libvirt_1.2.1.bb | 14 +++++++++-----
> recipes-kernel/linux/linux-yocto_3.10.bbappend | 4 +++-
> recipes-kernel/linux/linux-yocto_3.4.bbappend | 4 +++-
> recipes-kernel/linux/linux-yocto_3.8.bbappend | 4 +++-
> 4 files changed, 18 insertions(+), 8 deletions(-)
>
> --
> 1.9.rc1
>
> _______________________________________________
> 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"
More information about the meta-virtualization
mailing list