Re: [Qemu-devel] [PATCH v3 07/14] loader: support for unmapped ROM blobs

2013-07-25 Thread Michael S. Tsirkin
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

Re: [Qemu-devel] [PATCH v3 07/14] loader: support for unmapped ROM blobs

2013-07-25 Thread Michael S. Tsirkin
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

Re: [Qemu-devel] [PATCH v3 07/14] loader: support for unmapped ROM blobs

2013-07-25 Thread Gerd Hoffmann
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

Re: [Qemu-devel] [PATCH v3 07/14] loader: support for unmapped ROM blobs

2013-07-25 Thread Michael S. Tsirkin
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; > > }

Re: [Qemu-devel] [PATCH v3 07/14] loader: support for unmapped ROM blobs

2013-07-25 Thread Gerd Hoffmann
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; > } > -

[Qemu-devel] [PATCH v3 07/14] loader: support for unmapped ROM blobs

2013-07-24 Thread Michael S. Tsirkin
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