Hi,
Perhaps print a few shell commands first? Such as:
(
VARSTORE=$(mktemp)
trap 'rm -f -- "$VARSTORE"' EXIT
cat -- '[VARSTORE_TEMPLATE]' >> "$VARSTORE"
qemu ...
)
It really does take separate actions, just like when you create a new
disk image with "qemu-img".
Any plan to respin this patch?
-ENOTIME[1]. Also no really good idea how to handle varstore.
I'd like to have something simple, so it is easy run qemu with the
correct arguments. Just ...
qemu-system-$arch $(qemu-firmware /path/to/firmware.json)
... would be cool, but varstore handling isn't going to fly that way.
Maybe we really have to print some shell commands and set some specific
variables, so one can do something like this:
eval $(qemu-firmware /path/to/firmware.json)
qemu-system-${QEMU_FIRMWARE_ARCH} ${QEMU_FIRMWARE_ARGS}
cheers,
Gerd
[1] feel free to pick it up.