summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio/virtio-net.h
diff options
context:
space:
mode:
authorGabriel L. Somlo2015-04-29 17:21:53 +0200
committerGerd Hoffmann2015-06-10 08:06:46 +0200
commit81b2b81062612ebeac4cd5333a3b15c7d79a5a3d (patch)
treec505eeb49687c998e3f536e8e7fe0fbfbf5303b1 /include/hw/virtio/virtio-net.h
parentfw_cfg: prohibit insertion of duplicate fw_cfg file names (diff)
downloadqemu-81b2b81062612ebeac4cd5333a3b15c7d79a5a3d.tar.gz
qemu-81b2b81062612ebeac4cd5333a3b15c7d79a5a3d.tar.xz
qemu-81b2b81062612ebeac4cd5333a3b15c7d79a5a3d.zip
fw_cfg: insert fw_cfg file blobs via qemu cmdline
Allow user supplied files to be inserted into the fw_cfg device before starting the guest. Since fw_cfg_add_file() already disallows duplicate fw_cfg file names, qemu will exit with an error message if the user supplies multiple blobs with the same fw_cfg file name, or if a blob name collides with a fw_cfg name programmatically added from within the QEMU source code. A warning message will be printed if the fw_cfg item name does not begin with the prefix "opt/", which is recommended for external, user provided blobs. Signed-off-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-net.h')
0 files changed, 0 insertions, 0 deletions