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