This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: [PATCH] xen: reduce severity of message about using

On Thu, 2009-12-03 at 20:15 +0000, Jeremy Fitzhardinge wrote: 
> On 12/03/09 04:15, Ian Campbell wrote:
> > I'm experimenting with this:
> >
> > Subject: xen: latch grant-table layout at start of day.
> >
> > It is not possible to switch grant table layout over a save restore
> > since entries setup before with the old layout cannot be torn down under
> > the new layout.
> >   
> Doesn't resume implicitly tear them all down?

Yes, but the devices will try and tear them down again in their resume
handlers. I think the conclusion was (see Steven's last mail) that since
changing gnttab version memsets the array to zero and gnttab_end_*
happen to be safe (by inspection) when used on a zeroed slot it would be

I think it's just safest to avoid the whole issue, we don't care about
the downgrade case and in the upgrade case the guest isn't going to have
any devices running which need v2 so can just as well stick with v1.


Xen-devel mailing list