[Xen-devel] [PATCH v6 12/16] tools: implement the new xl get hw info interface

2017-10-08 Thread Yi Sun
This patch implements a new xl get HW info interface. A new argument is added for psr-hwinfo command to get and show MBA HW info. Signed-off-by: Yi Sun Reviewed-by: Roger Pau Monné Acked-by: Wei Liu --- CC: Wei Liu CC: Ian Jackson CC: Roger Pau Monné CC: Chao Peng v3: - change the form

[Xen-devel] [PATCH v6 08/16] x86: implement set value flow for MBA

2017-10-08 Thread Yi Sun
This patch implements set value flow for MBA including its callback function and domctl interface. Signed-off-by: Yi Sun --- CC: Jan Beulich CC: Andrew Cooper CC: Wei Liu CC: Roger Pau Monné CC: Chao Peng v6: - split co-exist features' values setting flow to a new patch. (suggeste

[Xen-devel] [PATCH v6 10/16] tools: implement the new libxc get hw info interface

2017-10-08 Thread Yi Sun
This patch implements a new libxc get hw info interface and corresponding data structures. It also changes libxl_psr.c to call this new interface. Signed-off-by: Yi Sun Reviewed-by: Roger Pau Monné Acked-by: Wei Liu --- CC: Wei Liu CC: Ian Jackson CC: Roger Pau Monné CC: Chao Peng v6:

[Xen-devel] [PATCH v6 01/16] docs: create Memory Bandwidth Allocation (MBA) feature document

2017-10-08 Thread Yi Sun
This patch creates MBA feature document in doc/features/. It describes key points to implement MBA which is described in details in Intel SDM "Introduction to Memory Bandwidth Allocation". Signed-off-by: Yi Sun Reviewed-by: Roger Pau Monné --- CC: Jan Beulich CC: Andrew Cooper CC: Wei Liu CC:

[Xen-devel] [PATCH v6 05/16] x86: implement data structure and CPU init flow for MBA

2017-10-08 Thread Yi Sun
This patch implements main data structures of MBA. Like CAT features, MBA HW info has cos_max which means the max thrtl register number, and thrtl_max which means the max throttle value (delay value). It also has a flag to represent if the throttle value is linear or non-linear. One thrtl registe

[Xen-devel] [PATCH v6 14/16] tools: implement new generic get value interface and MBA get value command

2017-10-08 Thread Yi Sun
This patch implements generic get value interfaces in libxc and libxl. It also refactors the get value flow in xl to make it be suitable for all allocation features. Based on that, a new MBA get value command is added in xl. Signed-off-by: Yi Sun Acked-by: Wei Liu Reviewed-by: Roger Pau Monné -

[Xen-devel] [PATCH v6 03/16] x86: rename 'cbm_type' to 'psr_type' to make it general

2017-10-08 Thread Yi Sun
This patch renames 'cbm_type' to 'psr_type' to generalize it. Then, we can reuse this for all psr allocation features. Signed-off-by: Yi Sun Reviewed-by: Wei Liu Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- CC: Jan Beulich CC: Andrew Cooper CC: Wei Liu CC: Roger Pau Monné CC: Cha

[Xen-devel] [PATCH v6 16/16] docs: add MBA description in docs

2017-10-08 Thread Yi Sun
This patch adds MBA description in related documents. Signed-off-by: Yi Sun Acked-by: Wei Liu Reviewed-by: Roger Pau Monné --- CC: Ian Jackson CC: Wei Liu CC: Roger Pau Monné CC: Chao Peng v5: - remove 'closed-loop' in 'xl-psr.markdown' (suggested by Roger Pau Monné) v4: - mo

[Xen-devel] [PATCH v6 02/16] Rename PSR sysctl/domctl interfaces and xsm policy to make them be general

2017-10-08 Thread Yi Sun
This patch renames PSR sysctl/domctl interfaces and related xsm policy to make them be general for all resource allocation features but not only for CAT. Then, we can resuse the interfaces for all allocation features. Basically, it changes 'psr_cat_op' to 'psr_alloc', and remove 'CAT_' from some m

[Xen-devel] [PATCH v6 04/16] x86: a few optimizations to psr codes

2017-10-08 Thread Yi Sun
This patch refines psr codes: 1. Change type of 'cat_init_feature' to 'bool' to remove the pointless returning of error code. 2. Move printk in 'cat_init_feature' to reduce a return path. 3. Define a local variable 'feat_mask' in 'psr_cpu_init' to reduce calling of 'cpuid_count_leaf()'. Sign

[Xen-devel] [PATCH v6 06/16] x86: implement get hw info flow for MBA

2017-10-08 Thread Yi Sun
This patch implements get HW info flow for MBA including its callback function and sysctl interface. Signed-off-by: Yi Sun Reviewed-by: Roger Pau Monné --- CC: Jan Beulich CC: Andrew Cooper CC: Wei Liu CC: Roger Pau Monné CC: Chao Peng v5: - use ASSERT in 'mba_get_feat_info'. (su

[Xen-devel] [PATCH v6 11/16] tools: implement the new libxl get hw info interface

2017-10-08 Thread Yi Sun
This patch implements the new libxl get hw info interface, 'libxl_psr_get_hw_info', which is suitable to all psr allocation features. It also implements corresponding list free function, 'libxl_psr_hw_info_list_free' and makes 'libxl_psr_cat_get_info' call 'libxl_psr_get_hw_info' to avoid redundant

[Xen-devel] [PATCH v6 09/16] tools: create general interfaces to support psr allocation features

2017-10-08 Thread Yi Sun
This patch creates general interfaces in libxl to support all psr allocation features. Add 'LIBXL_HAVE_PSR_GENERIC' to indicate interface change. Please note, the functionality cannot work until later patches are applied. Signed-off-by: Yi Sun Reviewed-by: Roger Pau Monné Acked-by: Wei Liu --

[Xen-devel] [PATCH v6 13/16] tools: rename 'xc_psr_cat_type' to 'xc_psr_type'

2017-10-08 Thread Yi Sun
This patch renames 'xc_psr_cat_type' to 'xc_psr_type' so that the structure name is common for all allocation features. Signed-off-by: Yi Sun Acked-by: Wei Liu Reviewed-by: Chao Peng Reviewed-by: Roger Pau Monné --- CC: Ian Jackson CC: Wei Liu CC: Roger Pau Monné CC: Chao Peng v5: - r

[Xen-devel] [PATCH v6 07/16] x86: implement get value interface for MBA

2017-10-08 Thread Yi Sun
This patch implements get value domctl interface for MBA. Signed-off-by: Yi Sun Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- CC: Andrew Cooper CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monné CC: Chao Peng v5: - use newly defined macro to get MBA thrtl. (suggested by Ro

[Xen-devel] [PATCH v6 00/16] Enable Memory Bandwidth Allocation in Xen

2017-10-08 Thread Yi Sun
Hi, all, We plan to bring a new PSR (Platform Shared Resource) feature called Intel Memory Bandwidth Allocation (MBA) to Xen. Besides the MBA enabling, we change some interfaces to make them more general but not only for CAT. Any comments are welcome! You can find this series at: https://github

[Xen-devel] [PATCH v6 15/16] tools: implement new generic set value interface and MBA set value command

2017-10-08 Thread Yi Sun
This patch implements new generic set value interfaces in libxc and libxl. These interfaces are suitable for all allocation features. It also adds a new MBA set value command in xl. Signed-off-by: Yi Sun Reviewed-by: Roger Pau Monné Acked-by: Wei Liu --- CC: Wei Liu CC: Ian Jackson CC: Roger

[Xen-devel] [xen-4.6-testing test] 114097: tolerable FAIL - PUSHED

2017-10-08 Thread osstest service owner
flight 114097 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/114097/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemuu-win7-amd64 17 guest-stopfail REGR. vs. 113398 Tests which did not succ

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

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

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

2017-10-08 Thread osstest service owner
flight 114131 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/114131/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 12 guest-start fail REGR. vs. 113972 Tests which

[Xen-devel] [xen-4.5-testing test] 114101: regressions - FAIL

2017-10-08 Thread osstest service owner
flight 114101 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/114101/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-winxpsp3 16 guest-localmigrate/x10 fail REGR. vs. 113448 Tests whic

[Xen-devel] [seabios test] 114103: tolerable FAIL - PUSHED

2017-10-08 Thread osstest service owner
flight 114103 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/114103/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-win7-amd64 17 guest-stopfail like 113870 test-amd64-amd64-xl-qemuu-ws16-amd64 10 w

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

2017-10-08 Thread osstest service owner
flight 114137 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/114137/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 12 guest-start fail REGR. vs. 113972 Tests which

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

2017-10-08 Thread osstest service owner
flight 114144 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/114144/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf broken test-amd64-amd64-libvirt 12 gue

[Xen-devel] [qemu-mainline test] 114106: regressions - FAIL

2017-10-08 Thread osstest service owner
flight 114106 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/114106/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-pvh-intel 12 guest-start fail REGR. vs. 114042 test-amd64-amd64-

[Xen-devel] [ovmf baseline-only test] 72215: all pass

2017-10-08 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 72215 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/72215/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf f8f0e454e1f9e0be354cfab2b70d4faa14982f6f baseline v

Re: [Xen-devel] [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?

2017-10-08 Thread Tan, Jianfeng
Hi, On 10/8/2017 12:54 PM, Bill Bonaparte wrote: Thanks Jianfeng for taking time to reply. please allow me to briefly explain why I want to run dpdk on xen. our system is based on dpdk, which means we use dpdk as packet receive/transmit engine, and with integrated dpdk virtio/vmxnet3 driver,

[Xen-devel] [xen-4.6-testing baseline-only test] 72214: regressions - FAIL

2017-10-08 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 72214 xen-4.6-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/72214/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-421 xtf/test-hvm32-

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

2017-10-08 Thread osstest service owner
flight 114149 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/114149/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 12 guest-start fail REGR. vs. 113972 Tests which

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

2017-10-08 Thread osstest service owner
flight 114153 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/114153/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 12 guest-start fail REGR. vs. 113972 Tests which

[Xen-devel] [seabios baseline-only test] 72216: regressions - FAIL

2017-10-08 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 72216 seabios real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/72216/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 7 xen-boot

[Xen-devel] [xen-unstable test] 114114: tolerable FAIL

2017-10-08 Thread osstest service owner
flight 114114 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/114114/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 17 guest-stopfail like 113977 test-amd64-amd64-xl-pvh-intel 12 gue

[Xen-devel] [linux-linus test] 114116: tolerable FAIL - PUSHED

2017-10-08 Thread osstest service owner
flight 114116 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/114116/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemut-win7-amd64 17 guest-stop fail REGR. vs. 114069 test-armhf-armhf-xl-rtds

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

2017-10-08 Thread osstest service owner
flight 114159 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/114159/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 12 guest-start fail REGR. vs. 113972 Tests which

Re: [Xen-devel] [dpdk-dev] [PATCH v2 0/6] remove xen dom0 support in DPDK

2017-10-08 Thread Thomas Monjalon
14/09/2017 04:40, Jianfeng Tan: > Following the calls on the mailing list: > http://dpdk.org/ml/archives/dev/2017-June/068151.html > The Technical Board decided to drop Xen dom0 support from EAL: > http://dpdk.org/ml/archives/dev/2017-June/068615.html > > This series remove xen dom0 suppor

[Xen-devel] [xen-4.9-testing test] 114118: tolerable FAIL - PUSHED

2017-10-08 Thread osstest service owner
flight 114118 xen-4.9-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/114118/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-credit2 12 guest-start fail in 114091 pass in 114118 test-amd64-i386-xl-qemut-win7

Re: [Xen-devel] How to prepare the COLO test environment

2017-10-08 Thread Zhang Chen
On Thu, Oct 5, 2017 at 5:57 AM, 山本真吾 wrote: > 2017/09/19 午後10:11 "Zhang Chen" : > > > > > On 09/19/2017 04:32 PM, Dario Faggioli wrote: > > > On Mon, 2017-09-18 at 18:52 +, Zhang Chen wrote: > > >> 山本真吾 于2017年9月18日周一 下午6:27写道: > > >>> I have read the following documents: > > >>> > > >>> COLO

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

2017-10-08 Thread osstest service owner
flight 114166 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/114166/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 12 guest-start fail REGR. vs. 113972 Tests which

[Xen-devel] [PATCH] xen/vcpu: Use a unified name about cpu hotplug state for pv and pvhvm

2017-10-08 Thread Zhenzhong Duan
As xen_cpuhp_setup is called by PV and PVHVM, the name of "x86/xen/hvm_guest" is confusing. Signed-off-by: Zhenzhong Duan --- arch/x86/xen/enlighten.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 0e7ef69..d6

[Xen-devel] [xen-4.8-testing test] 114126: regressions - FAIL

2017-10-08 Thread osstest service owner
flight 114126 xen-4.8-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/114126/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-4 48 xtf/test-hvm64-lbr-tsx-vmentry fail REGR. vs. 114071 test-armhf-armh

Re: [Xen-devel] [Qemu-devel] [PATCH 7/8] os-posix: Provide new -runasid option

2017-10-08 Thread Markus Armbruster
Ian Jackson writes: > This allows the caller to specify a uid and gid to use, even if there > is no corresponding password entry. This will be useful in certain > Xen configurations. > > Signed-off-by: Ian Jackson [...] > diff --git a/qemu-options.hx b/qemu-options.hx > index 9f6e2ad..34a5329 1

[Xen-devel] [PATCH] Remove redundant code in branch MAP_PIRQ_TYPE_MSI

2017-10-08 Thread Zhenzhong Duan
Same code is already in allocate_and_map_msi_pirq() Signed-off-by: Zhenzhong Duan --- xen/arch/x86/physdev.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/physdev.c b/xen/arch/x86/physdev.c index 0eb4097..aa02d18 100644 --- a/xen/arch/x86/physdev.c +++ b/

Re: [Xen-devel] [PATCH v2] xen, tools: console.h shouldn't require string.h by default

2017-10-08 Thread Bhupinder Thakur
Hi, On 6 October 2017 at 23:11, Wei Liu wrote: > Unilaterally making string.h a prerequisite for console.h is going to > break build for a lot of consumers of console.h. > > Define a macro for the new flex ring. Consumers which want to use it > should define the macro. > > Partially revert af8d93