Re: [Qemu-devel] [PATCHv5 08/13] qemu: add support for resizing regions

Michael S. Tsirkin
2009-06-18T16:47:40Z

On Thu, Jun 18, 2009 at 05:32:11PM +0100, Paul Brook wrote:
> On Thursday 18 June 2009, Michael S. Tsirkin wrote:
> > Make it possible to resize PCI regions. This will be used by virtio
> > with MSI-X, where the region size depends on whether MSI-X is enabled,
> > and can change across load/save.
>
> I thought we'd agreed we shouldn't be doing this.
> i.e. if the user tries to load the wrong device, just bail out.
>
> Paul

We need a way to generally prevent load from changing registers in a way
that can not be done by a guest. I haven't implemented this feature yet
though.

--
MST