From dce8116fb1a1b6f3c2976db126d9f923e2fe4c6f Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 23 Nov 2022 15:37:20 -0500 Subject: agl-qemu-runner: Add recipes Add recipes for agl-qemu-runner.sh QEMU wrapper script and template systemd unit, and guest per-image configuration files and systemd unit links for the various demo platform images. The configurations for the demo images can be mixed and matched somewhat, but only one each of IVI and cluster should be used, as there are some static CPU assignments in the configurations. As well, this has only been tested on the AGL reference hardware at present, some rework will likely be required to support other platforms. There is room to add a bbclass to simplify the guest configuration recipes, but that has not been done for now as this approach may be temporary; a switch to libvirtd with appropriate configurations is likely. Bug-AGL: SPEC-4618 Change-Id: Ieefbd4081cca506f915957cc313411a5ed1ece5c Signed-off-by: Scott Murray --- recipes-config/qemu-config/files/agl-demo-platform.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes-config/qemu-config/files/agl-demo-platform.conf (limited to 'recipes-config/qemu-config/files/agl-demo-platform.conf') diff --git a/recipes-config/qemu-config/files/agl-demo-platform.conf b/recipes-config/qemu-config/files/agl-demo-platform.conf new file mode 100644 index 00000000..e7238678 --- /dev/null +++ b/recipes-config/qemu-config/files/agl-demo-platform.conf @@ -0,0 +1,6 @@ +QEMU_TASKSET_CPUS="0-3" +QEMU_SMP_OPT="-smp 4" +QEMU_MEM_OPT="-m 4G" +QEMU_INPUT_OPT="-device virtio-tablet-device" +QEMU_AUDIO_OPT="-audiodev alsa,id=agl -device intel-hda -device hda-duplex,audiodev=agl" +QEMU_KERNEL_CMDLINE_APPEND="root=/dev/vda rw mem=4196M video=Virtual-1:1920x1080" -- cgit 1.2.3-korg