summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/qemu-intel.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include/qemu-intel.inc')
-rw-r--r--conf/machine/include/qemu-intel.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/conf/machine/include/qemu-intel.inc b/conf/machine/include/qemu-intel.inc
new file mode 100644
index 00000000..db8b2b3d
--- /dev/null
+++ b/conf/machine/include/qemu-intel.inc
@@ -0,0 +1,16 @@
+# Similar to meta/conf/machine/include/qemu.inc but influences the
+# distro content (in particular the kernel) less than qemu.inc.
+
+# Ensure that qemu gets built when building images.
+EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
+
+# runqemu uses virtio, so we have to enable the corresponding
+# kernel drivers.
+KERNEL_FEATURES += "cfg/virtio.scc"
+
+# Other useful extensions which are not enabled by default:
+# rng-tools to take advantage of qemu's virtio-rng-pci device.
+# MACHINE_EXTRA_RRECOMMENDS += "rng-tools"
+
+# Creates the necessary .qemuboot.conf file for each image.
+IMAGE_CLASSES += "qemuboot"