Re: [RFC 02/10] is_system_domain: replace open-coded instances

2021-12-20 Thread Daniel P. Smith
On 12/17/21 2:50 PM, Andrew Cooper wrote: On 17/12/2021 23:34, Daniel P. Smith wrote: From: Christopher Clark There were several instances of open-coded domid range checking. This commit replaces those with the is_system_domain inline function. Signed-off-by: Christopher Clark Signed-off-by:

Re: [RFC 02/10] is_system_domain: replace open-coded instances

2021-12-18 Thread Dario Faggioli
On Fri, 2021-12-17 at 18:34 -0500, Daniel P. Smith wrote: > From: Christopher Clark > > There were several instances of open-coded domid range checking. This > commit > replaces those with the is_system_domain inline function. > > Signed-off-by: Christopher Clark > Signed-off-by: Daniel P. Smit

Re: [RFC 02/10] is_system_domain: replace open-coded instances

2021-12-17 Thread Andrew Cooper
On 17/12/2021 23:34, Daniel P. Smith wrote: > From: Christopher Clark > > There were several instances of open-coded domid range checking. This commit > replaces those with the is_system_domain inline function. > > Signed-off-by: Christopher Clark > Signed-off-by: Daniel P. Smith Ah - probably

[RFC 02/10] is_system_domain: replace open-coded instances

2021-12-17 Thread Daniel P. Smith
From: Christopher Clark There were several instances of open-coded domid range checking. This commit replaces those with the is_system_domain inline function. Signed-off-by: Christopher Clark Signed-off-by: Daniel P. Smith --- xen/arch/x86/cpu/vpmu.c | 2 +- xen/common/domctl.c | 2 +- xe