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
This commit is contained in:
parent
9a794d4652
commit
4042e13fec
2 changed files with 127 additions and 0 deletions
|
@ -2358,3 +2358,9 @@ module = {
|
|||
common = loader/i386/xen_file64.c;
|
||||
extra_dist = loader/i386/xen_fileXX.c;
|
||||
};
|
||||
|
||||
module = {
|
||||
name = fwconfig;
|
||||
common = commands/fwconfig.c;
|
||||
enable = x86;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue