qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] pci: make ROM memory resizable


From: Gerd Hoffmann
Subject: Re: [PATCH] pci: make ROM memory resizable
Date: Tue, 25 Apr 2023 14:10:24 +0200

On Tue, Apr 25, 2023 at 03:26:50AM -0400, Michael S. Tsirkin wrote:
> On Mon, Apr 24, 2023 at 11:36:47PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> > On migration, on target we load local ROM file. But actual ROM content
> > migrates through migration channel. Original ROM content from local
> > file doesn't matter. But when size mismatch - we have an error like
> > 
> >  Size mismatch: 0000:00:03.0/virtio-net-pci.rom: 0x40000 != 0x80000: 
> > Invalid argument

Oh, a 512k rom.  Where does that come from?

The ones shipped by qemu are all between 128k and 256k in size,
which gets rounded up to 256k (0x40000).  Has not changed since
we added efi boot rom support ...

If you supply your own versions for some reason you must make sure
they have identical size on all host machines.

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]