RE: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Paul Durrant
lien Grall' ; 'Stefano > Stabellini' > ; 'Wei Liu' ; 'Volodymyr Babchuk' > ; > 'Roger Pau Monné' > Subject: Re: [PATCH v3 1/5] xen/common: introduce a new framework for > save/restore of 'domain' context > > On 19.05.2020 1

Re: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Jan Beulich
7;George Dunlap' ; >> 'Ian Jackson' >> ; 'Julien Grall' ; 'Stefano >> Stabellini' >> ; 'Wei Liu' ; 'Volodymyr Babchuk' >> ; >> 'Roger Pau Monné' >> Subject: Re: [PATCH v3 1/5] xen/common: intro

RE: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Paul Durrant
lien Grall' ; 'Stefano > Stabellini' > ; 'Wei Liu' ; 'Volodymyr Babchuk' > ; > 'Roger Pau Monné' > Subject: Re: [PATCH v3 1/5] xen/common: introduce a new framework for > save/restore of 'domain' context > > On 19.05.2020 17:1

Re: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Jan Beulich
On 19.05.2020 17:10, Paul Durrant wrote: >> From: Jan Beulich >> Sent: 19 May 2020 15:24 >> >> On 19.05.2020 16:04, Paul Durrant wrote: From: Jan Beulich Sent: 19 May 2020 14:04 On 14.05.2020 12:44, Paul Durrant wrote: > +/* > + * Register save and restore handlers. Sa

RE: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Paul Durrant
lien Grall' ; 'Stefano > Stabellini' > ; 'Wei Liu' ; 'Volodymyr Babchuk' > ; > 'Roger Pau Monné' > Subject: Re: [PATCH v3 1/5] xen/common: introduce a new framework for > save/restore of 'domain' context > > On 19.05.2020

Re: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Jan Beulich
On 19.05.2020 16:04, Paul Durrant wrote: >> From: Jan Beulich >> Sent: 19 May 2020 14:04 >> >> On 14.05.2020 12:44, Paul Durrant wrote: >>> --- /dev/null >>> +++ b/xen/include/xen/save.h >>> @@ -0,0 +1,165 @@ >>> +/* >>> + * save.h: support routines for save/restore >>> + * >>> + * Copyright Amazo

RE: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Paul Durrant
Babchuk > ; Roger > Pau Monné > Subject: Re: [PATCH v3 1/5] xen/common: introduce a new framework for > save/restore of 'domain' context > > On 14.05.2020 12:44, Paul Durrant wrote: > > --- /dev/null > > +++ b/xen/common/save.c > > @@ -0,0 +1,313 @@

Re: [PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-19 Thread Jan Beulich
On 14.05.2020 12:44, Paul Durrant wrote: > --- /dev/null > +++ b/xen/common/save.c > @@ -0,0 +1,313 @@ > +/* > + * save.c: Save and restore PV guest state common to all domain types. > + * > + * Copyright Amazon.com Inc. or its affiliates. > + * > + * This program is free software; you can redistri

[PATCH v3 1/5] xen/common: introduce a new framework for save/restore of 'domain' context

2020-05-14 Thread Paul Durrant
To allow enlightened HVM guests (i.e. those that have PV drivers) to be migrated without their co-operation it will be necessary to transfer 'PV' state such as event channel state, grant entry state, etc. Currently there is a framework (entered via the hvm_save/load() functions) that allows a doma