[Xen-devel] [xen-4.8-testing test] 120283: trouble: broken/fail/pass

2018-03-08 Thread osstest service owner
flight 120283 xen-4.8-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/120283/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-i386-pvgrub broken test-xtf-amd64-am

Re: [Xen-devel] osstest planned outage consultation

2018-03-08 Thread Ian Jackson
Jan Beulich writes ("Re: osstest planned outage consultation"): > On 06.03.18 at 20:32, wrote: > > How about 28th-30th March ? Bearing in mind staff availability. > > Fine with me, hoping there aren't any delays with the stable > releases. It turns out that another key member of staff is away t

Re: [Xen-devel] [PATCH v2 1/6] x86/xpti: avoid copying L4 page table contents when possible

2018-03-08 Thread Juergen Gross
On 05/03/18 17:43, Jan Beulich wrote: On 02.03.18 at 09:13, wrote: >> --- a/xen/arch/x86/mm.c >> +++ b/xen/arch/x86/mm.c >> @@ -509,6 +509,8 @@ void make_cr3(struct vcpu *v, mfn_t mfn) >> >> void write_ptbase(struct vcpu *v) >> { >> +get_cpu_info()->root_pgt_changed = this_cpu(root_pg

[Xen-devel] Limit Xen usage.

2018-03-08 Thread Jason Long
Hello. Can I limit a user for make VM via Xen? For example, user can't create a VM that have memory more than of 2GB RAM. Thank you. ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH v2 9/7] x86/XPTI: reduce .text.entry

2018-03-08 Thread Jan Beulich
This exposes less code pieces and at the same time reduces the range covered from slightly above 3 pages to a little below 2 of them. The code being moved is entirely unchanged, except for the removal of trailing blanks and a pointless q suffix from "retq". A few more small pieces could be moved,

[Xen-devel] [PATCH v2 8/7] x86/XPTI: use %r12 to write zero into xen_cr3

2018-03-08 Thread Jan Beulich
Now that we zero all registers early on all entry paths, use that to avoid a couple of immediates here. Signed-off-by: Jan Beulich --- We may want to consider eliminating a few more $0 this way. But especially for byte ones I'm not sure it's worth it, due to the REX prefix the use of %r12 would i

Re: [Xen-devel] [PATCH v2 3/6] xen/x86: support per-domain flag for xpti

2018-03-08 Thread Juergen Gross
On 08/03/18 11:17, Jan Beulich wrote: On 02.03.18 at 09:14, wrote: >> --- a/xen/arch/x86/mm.c >> +++ b/xen/arch/x86/mm.c >> @@ -510,15 +510,19 @@ void make_cr3(struct vcpu *v, mfn_t mfn) >> >> void write_ptbase(struct vcpu *v) >> { >> -if ( this_cpu(root_pgt) && is_pv_vcpu(v) && !is_p

Re: [Xen-devel] [PATCH v2] x86: improve MSR_SHADOW_GS accesses

2018-03-08 Thread Andrew Cooper
On 08/03/18 11:15, Jan Beulich wrote: > Instead of using RDMSR/WRMSR, on fsgsbase-capable systems use a double > SWAPGS combined with RDGSBASE/WRGSBASE. This halves execution time for > a shadow GS update alone on my Haswell (and we have indications of > good performance improvements by this on Sky

[Xen-devel] [PATCH v2] x86: improve MSR_SHADOW_GS accesses

2018-03-08 Thread Jan Beulich
Instead of using RDMSR/WRMSR, on fsgsbase-capable systems use a double SWAPGS combined with RDGSBASE/WRGSBASE. This halves execution time for a shadow GS update alone on my Haswell (and we have indications of good performance improvements by this on Skylake too), while the win is even higher when e

[Xen-devel] [PATCH] sched/rt: Fix build after c/s c3715dd8fb766

2018-03-08 Thread Andrew Cooper
Travis reports: sched_rt.c:241:30: error: unused function 'rt_dom' [-Werror,-Wunused-function] static inline struct rt_dom *rt_dom(const struct domain *dom) ^ 1 error generated. when compiling with Clang. Drop the function. Signed-off-by: Andrew Cooper ---

Re: [Xen-devel] [PATCH v4 0/7] unsafe big.LITTLE support

2018-03-08 Thread Julien Grall
Hello, On 08/03/18 06:15, Peng Fan wrote: Hi Stefano, On Fri, Mar 02, 2018 at 11:05:54AM -0800, Stefano Stabellini wrote: Hi all, This series changes the initialization of two virtual registers to make sure they match the value of the underlying physical cpu. It also disables cpus different f

[Xen-devel] [PATCH v2] xen/acpi: upload _PSD info for non Dom0 CPUs too

2018-03-08 Thread Joao Martins
All uploaded PM data from non-dom0 CPUs takes the info from vCPU 0 and changing only the acpi_id. For processors which P-state coordination type is HW_ALL (0xFD) it is OK to upload bogus P-state dependency information (_PSD), because Xen will ignore any cpufreq domains created for past CPUs. Albei

Re: [Xen-devel] [PATCH v2 3/6] xen/x86: support per-domain flag for xpti

2018-03-08 Thread Jan Beulich
>>> On 02.03.18 at 09:14, wrote: > --- a/xen/arch/x86/mm.c > +++ b/xen/arch/x86/mm.c > @@ -510,15 +510,19 @@ void make_cr3(struct vcpu *v, mfn_t mfn) > > void write_ptbase(struct vcpu *v) > { > -if ( this_cpu(root_pgt) && is_pv_vcpu(v) && !is_pv_32bit_vcpu(v) ) > +if ( is_pv_vcpu(v) &&

[Xen-devel] [xen-unstable-smoke test] 120342: regressions - FAIL

2018-03-08 Thread osstest service owner
flight 120342 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/120342/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 120304 build-armhf

Re: [Xen-devel] [PATCH] common/sched: Fix ARM build following c/s 340edc3902

2018-03-08 Thread George Dunlap
On 03/07/2018 07:41 PM, Andrew Cooper wrote: > The OSSTest smoke tests reports: > > sched_credit2.c: In function 'csched2_alloc_domdata': > sched_credit2.c:3015:9: error: implicit declaration of function 'ERR_PTR' > [-Werror=implicit-function-declaration] >return ERR_PTR(-ENOMEM);

Re: [Xen-devel] [PATCH] common/sched: Fix ARM build following c/s 340edc3902

2018-03-08 Thread Dario Faggioli
On Wed, 2018-03-07 at 12:04 -0800, Stefano Stabellini wrote: > On Wed, 7 Mar 2018, Andrew Cooper wrote: > > The OSSTest smoke tests reports: > > > > sched_credit2.c: In function 'csched2_alloc_domdata': > > sched_credit2.c:3015:9: error: implicit declaration of function > 'ERR_PTR' [-Werror=im

Re: [Xen-devel] [PATCH v4 08/20] x86emul: abstract out XCRn accesses

2018-03-08 Thread Jan Beulich
>>> On 05.03.18 at 16:56, wrote: > On 28/02/18 13:03, Jan Beulich wrote: >> @@ -5178,18 +5202,33 @@ x86_emulate( >> _regs.eflags |= X86_EFLAGS_AC; >> break; >> >> -#ifdef __XEN__ >> -case 0xd1: /* xsetbv */ >> +case 0xd0: /* xgetbv */ >>

Re: [Xen-devel] tools/libacpi printf output to logging instead of console/stdout ?

2018-03-08 Thread Jan Beulich
>>> On 07.03.18 at 21:52, wrote: > When starting a guest with the 'xl create' command (non-verbose) i get > this extra output on PVH guest types only: > > S3 disabled > S4 disabled > CONV disabled > > > It seems libacpi/* only contains normal printf's, so for the other guest > types i probably

Re: [Xen-devel] [PATCH v2 6/6] xen/domain: Added debug safety in the domain_create() failure path

2018-03-08 Thread Jan Beulich
>>> On 07.03.18 at 20:12, wrote: > --- a/xen/common/domain.c > +++ b/xen/common/domain.c > @@ -399,6 +399,9 @@ struct domain *domain_create(domid_t domid, unsigned int > domcr_flags, > return d; > > fail: > +ASSERT(err < 0); /* Sanity check paths leading here. */ > +err = er

<    1   2