diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-05-12 12:52:59 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-05-12 12:52:59 +0000 |
| commit | 3260eee09c593201455e866c5ad5cf5c5b5da33f (patch) | |
| tree | a765c0b64d303bf6b58dbcbaef18723c6726bb05 /conf/distro | |
| parent | 88a1c197f845b3e63458c90a48f88177d9f7e986 (diff) | |
| download | meta-virtualization-master.tar.gz | |
Building kvm-image-minimal fails without the 'kvm' DISTRO_FEATURE,
requiring users to manually add it to local.conf. Every other
virtualization platform (Xen, Docker, Podman, k3s, containerd) already
has a composable configuration fragment in conf/distro/include/ that
can be included with a single require line.
Add kvm-host.conf following the same pattern as xen-host.conf: a pure
delta fragment that appends the kvm DISTRO_FEATURE. Composable with
any container profile and the base meta-virt-host.conf.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'conf/distro')
| -rw-r--r-- | conf/distro/include/kvm-host.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/conf/distro/include/kvm-host.conf b/conf/distro/include/kvm-host.conf new file mode 100644 index 00000000..d36c1756 --- /dev/null +++ b/conf/distro/include/kvm-host.conf | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # KVM host configuration fragment | ||
| 2 | # | ||
| 3 | # Include from local.conf for KVM/libvirt development and testing. | ||
| 4 | # Requires meta-virt-host.conf to be included first: | ||
| 5 | # | ||
| 6 | # require conf/distro/include/meta-virt-host.conf | ||
| 7 | # require conf/distro/include/kvm-host.conf | ||
| 8 | # MACHINE = "qemux86-64" | ||
| 9 | # bitbake kvm-image-minimal | ||
| 10 | |||
| 11 | DISTRO_FEATURES:append = " kvm" | ||
