Skip to content
Commit e9b8c194 authored by Konrad Weihmann's avatar Konrad Weihmann Committed by Richard Purdie
Browse files

runqemu: add QB_ROOTFS_EXTRA_OPT parameter



Content of the optional parameter will be appended to the rootfs-device
in the qemu configuration, in case QB_ROOTFS_OPT is not specified.
By default this is empty.

Example use cases are:

Defining 'readonly' when using squashfs, so multiple instances of qemu
can share the same base image, something that cannot be done by just
specifying 'snapshot'.

Defining 'bootindex=0' which helps to get past the EFI shell in
ovmf-binary. This also enables the use case of running WIC images with
EFI bootloader through the testimage.bbclass.

Signed-off-by: default avatarKonrad Weihmann <kweihmann@outlook.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent beb17254
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment