Commit Graph

2 Commits

Author SHA1 Message Date
Michael Marineau 2cb9b7fcaa fwconfig: fix unused argument warning 2018-03-29 22:18:53 -04:00
Matthew Garrett 357f451338 Add fwconfig command
Add a command to read values from the qemu fwcfg store. This allows data
to be passed from the qemu command line to grub.

Example use:

echo '(hd0,1)' >rootdev
qemu -fw_cfg opt/rootdev,file=rootdev

fwconfig opt/rootdev root
2018-03-29 22:18:53 -04:00