>>> On 28.08.18 at 10:40, wrote:
> On Mon, Aug 27, 2018 at 09:56:24AM -0600, Jan Beulich wrote:
>> >>> On 26.08.18 at 14:19, wrote:
>> > --- a/xen/arch/x86/domain.c
>> > +++ b/xen/arch/x86/domain.c
>> > @@ -1689,7 +1689,8 @@ void context_switch(struct vcpu *prev, struct vcpu
>> > *next)
>> >
On Mon, Aug 27, 2018 at 09:56:24AM -0600, Jan Beulich wrote:
> >>> On 26.08.18 at 14:19, wrote:
> > --- a/xen/arch/x86/domain.c
> > +++ b/xen/arch/x86/domain.c
> > @@ -1689,7 +1689,8 @@ void context_switch(struct vcpu *prev, struct vcpu
> > *next)
> > {
> > _update_runstate_area(pre
>>> On 26.08.18 at 14:19, wrote:
> --- a/xen/arch/x86/domain.c
> +++ b/xen/arch/x86/domain.c
> @@ -1689,7 +1689,8 @@ void context_switch(struct vcpu *prev, struct vcpu
> *next)
> {
> _update_runstate_area(prev);
> vpmu_switch_from(prev);
> -np2m_schedule(NP2M_SCHEDL
These functions are only useful for nested hvm, which isn't enabled
when CONFIG_HVM is false.
Enclose relevant code in CONFIG_HVM. Guard np2m_schedule with
nestedhvm_enabled.
Signed-off-by: Wei Liu
---
xen/arch/x86/domain.c | 6 --
xen/arch/x86/mm/p2m.c | 6 ++
2 files changed, 10 inser