Re: [Xen-devel] [PATCH 11/25 v6] xen/arm: vpl011: Add a new console_init function in xenconsole

2017-08-06 Thread Bhupinder Thakur
Hi Wei, On 18 July 2017 at 17:10, Wei Liu wrote: > On Mon, Jul 17, 2017 at 06:36:41PM +0530, Bhupinder Thakur wrote: >> This patch introduces a new console_init function. This function >> initializes the console structure. >> >> Signed-off-by: Bhupinder Thakur

[Xen-devel] [ovmf test] 112495: all pass - PUSHED

2017-08-06 Thread osstest service owner
flight 112495 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/112495/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 97c567efd303f610ac16e12b4bf066d0240f6d0b baseline version: ovmf

Re: [Xen-devel] [refpolicy] [SELINUX POLICY PATCH] Update for Xen 4.7

2017-08-06 Thread Chris PeBenito
On 07/28/2017 10:16 AM, Anthony PERARD via refpolicy wrote: Since Xen 4.7, /dev/xen/privcmd is used instead of /proc/xen/privcmd. Add the device into the policy so `xenstored` can work. Signed-off-by: Anthony PERARD --- policy/modules/kernel/devices.fc | 1 + 1 file

[Xen-devel] [xen-unstable-smoke test] 112498: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112498 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112498/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

Re: [Xen-devel] [PATCH v1 3/3] xl: enable per-VCPU extratime flag for RTDS

2017-08-06 Thread Meng Xu
On Sun, Aug 6, 2017 at 12:22 PM, Meng Xu wrote: > Change main_sched_rtds and related output functions to support > per-VCPU extratime flag. > > Signed-off-by: Meng Xu > > --- > Changes from RFC v1 > Changes work_conserving flag to extratime flag > ---

[Xen-devel] [xen-unstable-smoke test] 112493: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112493 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112493/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [Patch for staging 2/2] x86: adjust place of an ASSERT to avoid crash when destroy a domain.

2017-08-06 Thread Yi Sun
In 'psr_free_cos', we should not use 'ASSERT(socket_info)' at the beginning because the 'socket_info' is allocated only if 'psr' boot parameter is set. So adjust its place to avoid crash. Signed-off-by: Yi Sun --- xen/arch/x86/psr.c | 4 ++-- 1 file changed, 2

Re: [Xen-devel] [PATCH] x86: remove an ASSERT to avoid crash when destroy a domain.

2017-08-06 Thread Yi Sun
On 17-08-06 03:34:20, Jan Beulich wrote: > >>> Yi Sun 08/05/17 3:42 AM >>> > >In 'psr_free_cos', we should not use 'ASSERT(socket_info)' because > >the 'socket_info' is allocated only if 'psr' boot parameter is set. > >So remove it and use 'psr_alloc_feat_enabled' to

[Xen-devel] [linux-3.18 test] 112488: trouble: blocked/broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112488 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/112488/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvops 3 capture-logs broken REGR. vs. 112102

[Xen-devel] [xen-unstable-smoke test] 112492: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112492 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112492/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [xen-unstable-smoke test] 112489: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112489 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112489/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [linux-4.1 test] 112485: regressions - trouble: blocked/broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112485 linux-4.1 real [real] http://logs.test-lab.xenproject.org/osstest/logs/112485/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-win7-amd64 16 guest-localmigrate/x10 fail REGR. vs. 95 Tests which

[Xen-devel] [linux-linus test] 112479: regressions - trouble: blocked/broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112479 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/112479/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-examine 7 reboot fail REGR. vs. 110515

[Xen-devel] [xen-unstable-smoke test] 112487: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112487 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112487/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [linux-3.18 test] 112481: trouble: blocked/broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112481 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/112481/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvops 3 capture-logs broken REGR. vs. 112102

Re: [Xen-devel] [PATCH v6 2/8] mm: Extract allocation loop from alloc_heap_pages()

2017-08-06 Thread Jan Beulich
>>> Boris Ostrovsky 08/04/17 7:04 PM >>> >This will make code a bit more readable, especially with changes that >will be introduced in subsequent patches. > >Signed-off-by: Boris Ostrovsky >--- >Changes in v6: >* Rebased due to changes in

Re: [Xen-devel] [PATCH v6 1/8] mm: Place unscrubbed pages at the end of pagelist

2017-08-06 Thread Jan Beulich
>>> Boris Ostrovsky 08/04/17 7:03 PM >>> >@@ -873,6 +916,8 @@ static int reserve_offlined_page(struct page_info *head) > >while ( cur_order < head_order ) >{ >+unsigned int idx = INVALID_DIRTY_IDX; Is it correct for the variable to live in this scope,

[Xen-devel] [PATCH v06 27/36] uapi xen/gntdev.h: include xen/privcmd.h and define grant_ref_t

2017-08-06 Thread Mikko Rapeli
Both are needed to compile in userspace. Fixes these userspace compile errors: xen/gntdev.h:151:4: error: unknown type name ‘grant_ref_t’ grant_ref_t ref; ^ xen/gntdev.h:153:4: error: unknown type name ‘domid_t’ domid_t domid; ^ Signed-off-by: Mikko Rapeli

[Xen-devel] [PATCH v06 28/36] uapi xen/evtchn.h: include xen/privcmd.h

2017-08-06 Thread Mikko Rapeli
It has definition of domid_t. Fixes userspace compiler error when xen/privcmd.h is compiled alone: xen/evtchn.h:100:2: error: unknown type name ‘domid_t’ domid_t domid; ^~~ Signed-off-by: Mikko Rapeli Cc: Boris Ostrovsky Cc: Juergen

[Xen-devel] [PATCH v06 26/36] uapi xen/privcmd.h: fix compilation in userspace

2017-08-06 Thread Mikko Rapeli
xen/interface/xen.h is not exported from kernel headers so remove the dependency and provide needed defines for domid_t and xen_pfn_t if they are not already defined by some other e.g. Xen specific headers. Suggested by Andrew Cooper on lkml message

[Xen-devel] [xen-unstable-smoke test] 112486: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112486 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112486/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [PATCH v1 0/3] Towards work-conserving RTDS

2017-08-06 Thread Meng Xu
This series of patches make RTDS scheduler work-conserving without breaking real-time guarantees. VCPUs with extratime flag set can get extra time from the unreserved system resource. System administrators can decide which VCPUs have extratime flag set. Example: Set the extratime bit of all VCPUs

[Xen-devel] [PATCH v1 2/3] libxl: enable per-VCPU extratime flag for RTDS

2017-08-06 Thread Meng Xu
Modify libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to support per-VCPU extratime flag Signed-off-by: Meng Xu --- Changes from RFC v1 Change work_conserving flag to extratime flag --- tools/libxl/libxl_sched.c | 12 1 file changed, 12

[Xen-devel] [PATCH v1 3/3] xl: enable per-VCPU extratime flag for RTDS

2017-08-06 Thread Meng Xu
Change main_sched_rtds and related output functions to support per-VCPU extratime flag. Signed-off-by: Meng Xu --- Changes from RFC v1 Changes work_conserving flag to extratime flag --- tools/xl/xl_cmdtable.c | 3 ++- tools/xl/xl_sched.c| 56

[Xen-devel] [PATCH v1 1/3] xen:rtds: towards work conserving RTDS

2017-08-06 Thread Meng Xu
Make RTDS scheduler work conserving without breaking the real-time guarantees. VCPU model: Each real-time VCPU is extended to have an extratime flag and a priority_level field. When a VCPU's budget is depleted in the current period, if it has extratime flag set, its priority_level will increase

[Xen-devel] [xen-unstable-smoke test] 112484: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112484 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112484/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [linux-4.1 test] 112477: regressions - trouble: blocked/broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112477 linux-4.1 real [real] http://logs.test-lab.xenproject.org/osstest/logs/112477/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-win7-amd64 16 guest-localmigrate/x10 fail REGR. vs. 95 Regressions

[Xen-devel] [xen-unstable test] 112475: tolerable trouble: blocked/broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112475 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/112475/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-libvirt-xsm 1 build-check(1) blocked n/a test-arm64-arm64-xl 1

[Xen-devel] [xen-unstable-smoke test] 112482: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112482 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112482/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [xen-unstable-coverity test] 112483: all pass - PUSHED

2017-08-06 Thread osstest service owner
flight 112483 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/112483/ Perfect :-) All tests in this flight passed as required version targeted for testing: xen b8029db62eb2a06a204a8e2b69437d0927bd1ac4 baseline version: xen

Re: [Xen-devel] [PATCH v7 2/2] x86/monitor: Notify monitor if an emulation fails.

2017-08-06 Thread Andrew Cooper
On 06/08/17 11:00, Jan Beulich wrote: Petre Pircalabu 08/04/17 8:36 PM >>> >> @@ -2114,6 +2116,8 @@ void hvm_emulate_one_vm_event(enum emul_kind kind, >> unsigned int trapnr, >> */ >> return; >> case X86EMUL_UNIMPLEMENTED: >> +if (

Re: [Xen-devel] [PATCH v7 2/2] x86/monitor: Notify monitor if an emulation fails.

2017-08-06 Thread Jan Beulich
>>> Petre Pircalabu 08/04/17 8:36 PM >>> >@@ -2114,6 +2116,8 @@ void hvm_emulate_one_vm_event(enum emul_kind kind, >unsigned int trapnr, >*/ >return; >case X86EMUL_UNIMPLEMENTED: >+if ( hvm_monitor_emul_unimplemented() ) >+return; >case

Re: [Xen-devel] [PATCH v7 1/2] x86emul: New return code for unimplemented instruction

2017-08-06 Thread Jan Beulich
>>> Petre Pircalabu 08/04/17 8:36 PM >>> >--- a/xen/arch/x86/hvm/emulate.c >+++ b/xen/arch/x86/hvm/emulate.c >@@ -2113,6 +2113,7 @@ void hvm_emulate_one_vm_event(enum emul_kind kind, >unsigned int trapnr, >* consistent with X86EMUL_RETRY. >*/ >return; >+case

Re: [Xen-devel] [PATCH] x86: remove an ASSERT to avoid crash when destroy a domain.

2017-08-06 Thread Jan Beulich
>>> Yi Sun 08/05/17 3:42 AM >>> >In 'psr_free_cos', we should not use 'ASSERT(socket_info)' because >the 'socket_info' is allocated only if 'psr' boot parameter is set. >So remove it and use 'psr_alloc_feat_enabled' to check if 'socket_info' >is valid or not to avoid

[Xen-devel] [xen-unstable-smoke test] 112480: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112480 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112480/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402

[Xen-devel] [linux-3.18 test] 112473: trouble: blocked/broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112473 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/112473/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvops 3 capture-logs broken REGR. vs. 112102

Re: [Xen-devel] [PATCH v5 01/17] rbtree: changes to align the coding conventions with Linux tree

2017-08-06 Thread Jan Beulich
>>> Praveen Kumar 08/04/17 7:22 PM >>> Please don't top-post. >I tried applying the patches generated from Linux tree and updating >the file location ( as per the Xen tree location ); some of the >places, I was facing issues. >Adding comment to the file, resolved some

[Xen-devel] [xen-unstable-smoke test] 112478: regressions - trouble: broken/fail/pass

2017-08-06 Thread osstest service owner
flight 112478 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/112478/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 112402