[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Writeable files in fw_cfg
From: |
David Woodhouse |
Subject: |
Re: [Qemu-devel] [RFC] Writeable files in fw_cfg |
Date: |
Sun, 27 Jan 2013 15:50:27 +0000 |
On Sun, 2013-01-27 at 15:14 +0000, Blue Swirl wrote:
> It looks like this duplicates rom_add_file() and fw_cfg_add_file(), so
> I don't see the point.
Both of those are read-only, surely? The firmware inside the guest can't
use them for non-volatile storage.
It doesn't duplicate fw_cfg_add_file(); it extends it to allow a
writeable mode too. fw_cfg_add_file() becomes a simple wrapper around
fw_cfg_add_file_writeable(), which actually contains most of the
contents of the original function.
--
dwmw2
smime.p7s
Description: S/MIME cryptographic signature
Re: [Qemu-devel] [RFC] Writeable files in fw_cfg, Anthony Liguori, 2013/01/27