[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging-4.7] x86: don't enable XPTI on idle domain
commit 196932adb25a6e26680788db4397850bbd30770f Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Wed May 30 13:37:23 2018 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Wed May 30 13:37:23 2018 +0200 x86: don't enable XPTI on idle domain While the involved code (in pv_domain_initialise()) sits behind an !is_idle_domain() check already in 4.10, we need to add one here. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/x86/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 3ef7a84892..a3e913b162 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -754,7 +754,7 @@ int arch_domain_create(struct domain *d, unsigned int domcr_flags, if ( (rc = hvm_domain_initialise(d)) != 0 ) goto fail; } - else + else if ( !is_idle_domain(d) ) { /* 64-bit PV guest by default. */ d->arch.is_32bit_pv = d->arch.has_32bit_shinfo = 0; -- generated by git-patchbot for /home/xen/git/xen.git#staging-4.7 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |