From: Jan Kiszka <[email protected]>

Currently limited to --latest because config files and a number of fixes
were not present in last release 0.12.

Signed-off-by: Jan Kiszka <[email protected]>
---
 conf/machine/qemu-arm.conf                    | 14 ++++++++++++++
 conf/multiconfig/qemu-arm-jailhouse-demo.conf | 14 ++++++++++++++
 images.list                                   |  1 +
 start-qemu.sh                                 | 15 +++++++++++++++
 4 files changed, 44 insertions(+)
 create mode 100644 conf/machine/qemu-arm.conf
 create mode 100644 conf/multiconfig/qemu-arm-jailhouse-demo.conf

diff --git a/conf/machine/qemu-arm.conf b/conf/machine/qemu-arm.conf
new file mode 100644
index 0000000..7bfe8c9
--- /dev/null
+++ b/conf/machine/qemu-arm.conf
@@ -0,0 +1,14 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Siemens AG, 2020
+#
+# Authors:
+#  Jan Kiszka <[email protected]>
+#
+# SPDX-License-Identifier: MIT
+#
+
+require qemu-machine.inc
+
+DISTRO_ARCH = "armhf"
diff --git a/conf/multiconfig/qemu-arm-jailhouse-demo.conf 
b/conf/multiconfig/qemu-arm-jailhouse-demo.conf
new file mode 100644
index 0000000..fd642bc
--- /dev/null
+++ b/conf/multiconfig/qemu-arm-jailhouse-demo.conf
@@ -0,0 +1,14 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Siemens AG, 2020
+#
+# Authors:
+#  Jan Kiszka <[email protected]>
+#
+# SPDX-License-Identifier: MIT
+#
+
+MACHINE = "qemu-arm"
+
+DISTRO = "jailhouse-demo"
diff --git a/images.list b/images.list
index 4e52648..128ed2e 100644
--- a/images.list
+++ b/images.list
@@ -1,4 +1,5 @@
 qemu-amd64     QEMU/KVM Intel-x86 virtual target
+qemu-arm       QEMU ARM virtual target [requires '--latest']
 qemu-arm64     QEMU ARM64 virtual target
 orangepi-zero  Orange Pi Zero (256 MB edition)
 nuc6cay                Intel NUC (NUC6CAY, 8 GB RAM)
diff --git a/start-qemu.sh b/start-qemu.sh
index 65385a7..7e95ec8 100755
--- a/start-qemu.sh
+++ b/start-qemu.sh
@@ -55,6 +55,21 @@ case "$1" in
                KERNEL_CMDLINE=" \
                        root=/dev/vda mem=768M"
                ;;
+       arm)
+               DISTRO_ARCH=arm
+               QEMU=qemu-system-arm
+               QEMU_EXTRA_ARGS=" \
+                       -cpu cortex-a15 \
+                       -smp 8 \
+                       -machine virt,virtualization=on,highmem=off \
+                       -device virtio-serial-device \
+                       -device virtconsole,chardev=con -chardev vc,id=con \
+                       -device virtio-blk-device,drive=disk \
+                       -device virtio-net-device,netdev=net"
+               KERNEL_SUFFIX=vmlinuz
+               KERNEL_CMDLINE=" \
+                       root=/dev/vda mem=768M vmalloc=768M"
+               ;;
        ""|--help)
                usage
                ;;
-- 
2.26.2

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/2a29c82045914dad283ac2175eb7d08741d98f59.1616507282.git.jan.kiszka%40siemens.com.

Reply via email to