]> git.proxmox.com Git - qemu.git/commit
fw_cfg: add API for file transfer.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Dec 2009 11:01:10 +0000 (12:01 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 18 Dec 2009 17:26:34 +0000 (11:26 -0600)
commitabe147e0ce41c07e789f6627bcb01c905d1f9bbf
tree2615016b289d051658413815327391725f461662
parentc2b5bda43a1c87147fadc78d5590b1465b850816
fw_cfg: add API for file transfer.

This patch adds a file transfer interface to fw_cfg.  Intended to be
used for passing non-pci option roms and vgabios to seabios.  Namespace
is modeled after the existing cbfs filesystem support in seabios.

Reading the new FW_CFG_FILE_DIR entry returns a file list.
Fields there are in network byte order (aka bigendian).

aliguori: fix fw_cfg.h for multiboot.bin, add proper fw_cfg.h declarations,
          quiet fprintf() in fw_cfg.c

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/fw_cfg.c
hw/fw_cfg.h