The QEMU machine `q35` is only available on x86:
```
qemu-system-aarch64: unsupported machine type
Use -machine help to list supported machines
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
exit 1
}
+case "$ARCH" in
+ amd64 | i?86 | x86_64)
+ ARGS+=(-M q35)
+ ;;
+esac
+
# Provide rng device sourcing the hosts /dev/urandom and other standard parameters
-ARGS+=(-M q35 -smp 2 -m 1024 -nodefaults -vga none -display none -no-reboot -device virtio-rng-pci)
+ARGS+=(-smp 2 -m 1024 -nodefaults -vga none -display none -no-reboot -device virtio-rng-pci)
if ! [[ $* == *-daemonize* ]] && ! [[ $* == *-daemonize* ]]; then
ARGS+=(-serial stdio)