qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/8] fw_cfg: add API for file transfer.


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 4/8] fw_cfg: add API for file transfer.
Date: Sat, 19 Dec 2009 12:06:04 +0000

On Fri, Dec 18, 2009 at 11:01 AM, Gerd Hoffmann <address@hidden> wrote:
> 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).

The 16 bit selector for other cases is in little endian order. Please
use LE for consistency.

> +    fprintf(stderr, "%s: #%d: %s (%d bytes)\n", __FUNCTION__,
> +            index, s->files->f[index].name, len);

No.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]