Re: XSM and the idle domain

2020-10-26 Thread Andrew Cooper
On 26/10/2020 13:37, Jason Andryuk wrote: > On Thu, Oct 22, 2020 at 1:01 PM Hongyan Xia wrote: >> On Thu, 2020-10-22 at 13:51 +0100, Andrew Cooper wrote: >>> On 21/10/2020 15:34, Hongyan Xia wrote: The first question came up during ongoing work in LiveUpdate. After an LU, the next X

Re: XSM and the idle domain

2020-10-26 Thread Jason Andryuk
On Thu, Oct 22, 2020 at 1:01 PM Hongyan Xia wrote: > > On Thu, 2020-10-22 at 13:51 +0100, Andrew Cooper wrote: > > On 21/10/2020 15:34, Hongyan Xia wrote: > > > The first question came up during ongoing work in LiveUpdate. After > > > an > > > LU, the next Xen needs to restore all domains. To do t

Re: XSM and the idle domain

2020-10-22 Thread Hongyan Xia
On Thu, 2020-10-22 at 13:51 +0100, Andrew Cooper wrote: > On 21/10/2020 15:34, Hongyan Xia wrote: > > The first question came up during ongoing work in LiveUpdate. After > > an > > LU, the next Xen needs to restore all domains. To do that, some > > hypercalls need to be issued from the idle domain

Re: XSM and the idle domain

2020-10-22 Thread Daniel Smith
On Thu, 22 Oct 2020 04:13:53 -0400 Jan Beulich wrote > On 22.10.2020 03:23, Daniel P. Smith wrote: > > On 10/21/20 10:34 AM, Hongyan Xia wrote: > >> Also, should idle domain be restricted? IMO the idle domain is Xen > >> itself which mostly bootstraps the system and performs lim

Re: XSM and the idle domain

2020-10-22 Thread Andrew Cooper
On 21/10/2020 15:34, Hongyan Xia wrote: > The first question came up during ongoing work in LiveUpdate. After an > LU, the next Xen needs to restore all domains. To do that, some > hypercalls need to be issued from the idle domain context and > apparently XSM does not like it. There is no such thi

Re: XSM and the idle domain

2020-10-22 Thread Hongyan Xia
(also replying to others in this thread.) On Wed, 2020-10-21 at 12:21 -0400, Jason Andryuk wrote: > On Wed, Oct 21, 2020 at 10:35 AM Hongyan Xia wrote: > > > > Hi, > > ... > > > > The first question came up during ongoing work in LiveUpdate. After > > an > > LU, the next Xen needs to restore a

Re: XSM and the idle domain

2020-10-22 Thread Jan Beulich
On 22.10.2020 03:23, Daniel P. Smith wrote: > On 10/21/20 10:34 AM, Hongyan Xia wrote: >> Also, should idle domain be restricted? IMO the idle domain is Xen >> itself which mostly bootstraps the system and performs limited work >> when switched to, and is not something a user (either dom0 or domU)

Re: XSM and the idle domain

2020-10-21 Thread Daniel P. Smith
On 10/21/20 10:34 AM, Hongyan Xia wrote: Hi, A while ago there was a quick chat on IRC about how XSM interacts with the idle domain. The conversation did not reach any clear conclusions so it might be a good idea to summarise the questions in an email. Basically there were two questions in that

Re: XSM and the idle domain

2020-10-21 Thread Jason Andryuk
On Wed, Oct 21, 2020 at 10:35 AM Hongyan Xia wrote: > > Hi, Hi, Hongyan. I'm familiar with Flask but not particularly familiar with other XSMs or CONFIG_XSM=n. > A while ago there was a quick chat on IRC about how XSM interacts with > the idle domain. The conversation did not reach any clear co