mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
fw_cfg: insert string blobs via qemu cmdline
Allow users to provide custom fw_cfg blobs with ascii string payloads specified directly on the qemu command line. Suggested-by: Jordan Justen <jordan.l.justen@intel.com> Suggested-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Gabriel Somlo <somlo@cmu.edu> Message-id: 1443544141-26568-1-git-send-email-somlo@cmu.edu Reviewd-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
526d5809a0
commit
6407d76eb4
3 changed files with 48 additions and 7 deletions
|
@ -2724,13 +2724,18 @@ ETEXI
|
|||
|
||||
DEF("fw_cfg", HAS_ARG, QEMU_OPTION_fwcfg,
|
||||
"-fw_cfg [name=]<name>,file=<file>\n"
|
||||
" add named fw_cfg entry from file\n",
|
||||
" add named fw_cfg entry from file\n"
|
||||
"-fw_cfg [name=]<name>,string=<str>\n"
|
||||
" add named fw_cfg entry from string\n",
|
||||
QEMU_ARCH_ALL)
|
||||
STEXI
|
||||
@item -fw_cfg [name=]@var{name},file=@var{file}
|
||||
@findex -fw_cfg
|
||||
Add named fw_cfg entry from file. @var{name} determines the name of
|
||||
the entry in the fw_cfg file directory exposed to the guest.
|
||||
|
||||
@item -fw_cfg [name=]@var{name},string=@var{str}
|
||||
Add named fw_cfg entry from string.
|
||||
ETEXI
|
||||
|
||||
DEF("serial", HAS_ARG, QEMU_OPTION_serial, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue