On Thu, Jul 25, 2013 at 02:43:53PM +0200, Gerd Hoffmann wrote:
> On 07/25/13 14:28, Michael S. Tsirkin wrote:
> > On Thu, Jul 25, 2013 at 02:14:40PM +0200, Gerd Hoffmann wrote:
> >> On 07/24/13 18:01, Michael S. Tsirkin wrote:
> >>> QTAILQ_FOREACH(rom, &roms, next) {
> >>> +if (rom->mr
On Thu, Jul 25, 2013 at 02:43:53PM +0200, Gerd Hoffmann wrote:
> On 07/25/13 14:28, Michael S. Tsirkin wrote:
> > On Thu, Jul 25, 2013 at 02:14:40PM +0200, Gerd Hoffmann wrote:
> >> On 07/24/13 18:01, Michael S. Tsirkin wrote:
> >>> QTAILQ_FOREACH(rom, &roms, next) {
> >>> +if (rom->mr
On 07/25/13 14:28, Michael S. Tsirkin wrote:
> On Thu, Jul 25, 2013 at 02:14:40PM +0200, Gerd Hoffmann wrote:
>> On 07/24/13 18:01, Michael S. Tsirkin wrote:
>>> QTAILQ_FOREACH(rom, &roms, next) {
>>> +if (rom->mr) {
>>> +continue;
>>> +}
>>> if (rom->fw_fi
On Thu, Jul 25, 2013 at 02:14:40PM +0200, Gerd Hoffmann wrote:
> On 07/24/13 18:01, Michael S. Tsirkin wrote:
> > QTAILQ_FOREACH(rom, &roms, next) {
> > +if (rom->mr) {
> > +continue;
> > +}
> > if (rom->fw_file) {
> > continue;
> > }
On 07/24/13 18:01, Michael S. Tsirkin wrote:
> QTAILQ_FOREACH(rom, &roms, next) {
> +if (rom->mr) {
> +continue;
> +}
> if (rom->fw_file) {
> continue;
> }
> if (rom->data == NULL) {
> continue;
> }
> -
Support ROM blobs not mapped into guest memory:
let user pass in MR for memory serving as the backing store.
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Laszlo Ersek
---
hw/core/loader.c | 32 +---
hw/lm32/lm32_hwsetup.h | 2 +-
include/hw/loader.h| 4