commit | 4a02768fbbd33e263122bf5deb54382de56c1cfe | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 03 16:30:37 2013 +0300 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Nov 06 12:24:57 2013 +0100 |
tree | dcafd7c08ae88bf3cfb740b2051cd6677f79bd33 | |
parent | ff5f7921d904dd2ddbaded3941643da8ba5fa9aa [diff] |
romfile_loader: utility to patch in-memory ROM files Add ability for a ROM file to point to it's image in memory. When file is in memory, add utility that can patch it, storing pointers to one file within another file. This is not a lot of code: together with the follow-up patch to load ACPI tables from ROM, it's about 1K extra. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>