Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-15 Thread Julien Grall
On 15/01/2020 07:40, David Woodhouse wrote: On Tue, 2020-01-14 at 16:29 +, Julien Grall wrote: That's the point in appending an IND_WRITE64 operation to the kimage stream. The actual write is done in the last gasp of kexec_reloc() after Xen#1 is quiescent, on the way into purgatory. I wa

Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-14 Thread David Woodhouse
On Tue, 2020-01-14 at 16:29 +, Julien Grall wrote: > > That's the point in appending an IND_WRITE64 operation to the kimage > > stream. The actual write is done in the last gasp of kexec_reloc() > > after Xen#1 is quiescent, on the way into purgatory. > > I was not sure what you meant by IND_W

Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-14 Thread Julien Grall
Hi David, On 14/01/2020 15:20, David Woodhouse wrote: On Tue, 2020-01-14 at 15:00 +, Julien Grall wrote: On 14/01/2020 14:48, David Woodhouse wrote: On Tue, 2020-01-14 at 14:15 +, Julien Grall wrote: Hi David, On 13/01/2020 11:54, David Woodhouse wrote: On Wed, 2020-01-08 at 17:24

Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-14 Thread David Woodhouse
On Tue, 2020-01-14 at 15:00 +, Julien Grall wrote: > > On 14/01/2020 14:48, David Woodhouse wrote: > > On Tue, 2020-01-14 at 14:15 +, Julien Grall wrote: > > > Hi David, > > > > > > On 13/01/2020 11:54, David Woodhouse wrote: > > > > On Wed, 2020-01-08 at 17:24 +, David Woodhouse wrot

Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-14 Thread Julien Grall
On 14/01/2020 14:48, David Woodhouse wrote: On Tue, 2020-01-14 at 14:15 +, Julien Grall wrote: Hi David, On 13/01/2020 11:54, David Woodhouse wrote: On Wed, 2020-01-08 at 17:24 +, David Woodhouse wrote: So we've settled on a simpler approach — reserve a contiguous region of physica

Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-14 Thread David Woodhouse
On Tue, 2020-01-14 at 14:15 +, Julien Grall wrote: > Hi David, > > On 13/01/2020 11:54, David Woodhouse wrote: > > On Wed, 2020-01-08 at 17:24 +, David Woodhouse wrote: > > > When doing a live update, Xen needs to be very careful not to scribble > > > on pages which contain guest memory or

Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-14 Thread Julien Grall
Hi David, On 13/01/2020 11:54, David Woodhouse wrote: On Wed, 2020-01-08 at 17:24 +, David Woodhouse wrote: When doing a live update, Xen needs to be very careful not to scribble on pages which contain guest memory or state information for the domains which are being preserved. The informa

Re: [Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-13 Thread David Woodhouse
On Wed, 2020-01-08 at 17:24 +, David Woodhouse wrote: > When doing a live update, Xen needs to be very careful not to scribble > on pages which contain guest memory or state information for the > domains which are being preserved. > > The information about which pages are in use is contained i

[Xen-devel] [RFC PATCH 0/3] Live update boot memory management

2020-01-08 Thread David Woodhouse
When doing a live update, Xen needs to be very careful not to scribble on pages which contain guest memory or state information for the domains which are being preserved. The information about which pages are in use is contained in the live update state passed from the previous Xen — which is most