diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-06-29 18:54:45 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-07-06 16:25:55 -0400 |
commit | 1e6d9f67ff6ae18cba88311097145a3bca8135d9 (patch) | |
tree | d38b275f912f116f24d1f94e1d803b6313908cb0 | |
parent | 7f6f115d7d8467390d9bf7258cc8a5e7771528c2 (diff) | |
download | meta-virtualization-1e6d9f67ff6ae18cba88311097145a3bca8135d9.tar.gz |
xen-tools: add RRECOMENDS qemu on ARM and x86 when HVM is enabled
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/xen/xen-tools.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index 8b86f7b2..c0e54b10 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
@@ -53,7 +53,13 @@ RDEPENDS_${PN} = "\ | |||
53 | 53 | ||
54 | RDEPENDS_${PN}-dev = "" | 54 | RDEPENDS_${PN}-dev = "" |
55 | 55 | ||
56 | # Qemu is necessary on ARM platforms, and to support HVM guests on x86 | ||
57 | QEMU = "${@bb.utils.contains('PACKAGECONFIG', 'hvm', 'qemu', '', d)}" | ||
58 | QEMU_arm = "qemu" | ||
59 | QEMU_aarch64 = "qemu" | ||
60 | |||
56 | RRECOMMENDS_${PN} = " \ | 61 | RRECOMMENDS_${PN} = " \ |
62 | ${QEMU} \ | ||
57 | ${@bb.utils.contains('PACKAGECONFIG', 'hvm', 'seabios', '', d)} \ | 63 | ${@bb.utils.contains('PACKAGECONFIG', 'hvm', 'seabios', '', d)} \ |
58 | ${@bb.utils.contains('PACKAGECONFIG', 'externalblktap', '', '${BLKTAP_RRECOMMENDS}', d)} \ | 64 | ${@bb.utils.contains('PACKAGECONFIG', 'externalblktap', '', '${BLKTAP_RRECOMMENDS}', d)} \ |
59 | ${PN}-flask \ | 65 | ${PN}-flask \ |