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

2015-12-10 Thread osstest service owner
flight 65657 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/65657/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 5 libvirt-build fail REGR. vs. 65617 Tests which di

[Xen-devel] [linux-linus bisection] complete test-amd64-i386-xl-qemut-debianhvm-amd64

2015-12-10 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-xl-qemut-debianhvm-amd64 testid xen-boot Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/qemu-xen-tr

Re: [Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-10 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, December 10, 2015 3:39 PM > To: Wu, Feng > Cc: Tian, Kevin ; xen-devel de...@lists.xenproject.org> > Subject: RE: [PATCH] VT-d: make flush-all actually flush all > > >>> On 10.12.15 at 04:06, wrote:

Re: [Xen-devel] [PATCH v2] xen: sched: fix (ACPI S3) resume with cpupools with different schedulers.

2015-12-10 Thread Dario Faggioli
On Mon, 2015-12-07 at 12:21 +, George Dunlap wrote: > On 24/11/15 17:14, Dario Faggioli wrote: > > On Tue, 2015-11-24 at 15:32 +, George Dunlap wrote: > > >  > > As said, I don't recall all the details, sorry. I recall thinking > > that > > a solution would involve putting the CPU in the po

Re: [Xen-devel] [PATCH v3] x86: Fixup IRQs when CPUs go down during shutdown

2015-12-10 Thread Ross Lagerwall
On 12/04/2015 02:42 PM, Jan Beulich wrote: On 04.12.15 at 15:01, wrote: Commit fc0c3fa2ad5c ("x86/IO-APIC: fix setup of Xen internally used IRQs (take 2)") introduced a regression on some hardware where Xen would hang during shutdown, repeating the following message: APIC error on CPU0: 08(08),

Re: [Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-10 Thread Jan Beulich
>>> On 10.12.15 at 09:29, wrote: > >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Thursday, December 10, 2015 3:39 PM >> To: Wu, Feng >> Cc: Tian, Kevin ; xen-devel > de...@lists.xenproject.org> >> Subject: RE: [PATCH] VT-d: make flush-all actually flush

Re: [Xen-devel] [PATCH v3] x86: Fixup IRQs when CPUs go down during shutdown

2015-12-10 Thread Jan Beulich
>>> On 10.12.15 at 10:21, wrote: > On 12/04/2015 02:42 PM, Jan Beulich wrote: > On 04.12.15 at 15:01, wrote: >>> Commit fc0c3fa2ad5c ("x86/IO-APIC: fix setup of Xen internally used IRQs >>> (take 2)") introduced a regression on some hardware where Xen would hang >>> during shutdown, repeating

[Xen-devel] [PATCH v2 1/2] VT-d: Reduce spin timeout to 1ms, which can be boot-time changed.

2015-12-10 Thread Quan Xu
Signed-off-by: Quan Xu --- xen/drivers/passthrough/vtd/qinval.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/xen/drivers/passthrough/vtd/qinval.c b/xen/drivers/passthrough/vtd/qinval.c index b81b0bd..990baf2 100644 --- a/xen/drivers/passthrough/vtd/qinval.c +++

[Xen-devel] [PATCH v2 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-10 Thread Quan Xu
If IOTLB/Context/IETC flush is timeout, we should think all devices under this IOMMU cannot function correctly. So for each device under this IOMMU we'll mark it as unassignable and kill the domain owning the device. If Device-TLB flush is timeout, we'll mark the target ATS device as unassignable

[Xen-devel] [PATCH v2 0/2] VT-d flush issue

2015-12-10 Thread Quan Xu
This patches are based on Kevin Tian's previous discussion 'Revisit VT-d asynchronous flush issue'. Fix current timeout concern and also allow limited ATS support in a light way: 1. Reduce spin timeout to 1ms, which can be boot-time changed with 'iommu_qi_timeout_ms'. For example:

Re: [Xen-devel] [PATCH v3] x86: Fixup IRQs when CPUs go down during shutdown

2015-12-10 Thread Ross Lagerwall
On 12/10/2015 09:28 AM, Jan Beulich wrote: On 10.12.15 at 10:21, wrote: On 12/04/2015 02:42 PM, Jan Beulich wrote: On 04.12.15 at 15:01, wrote: Commit fc0c3fa2ad5c ("x86/IO-APIC: fix setup of Xen internally used IRQs (take 2)") introduced a regression on some hardware where Xen would hang du

[Xen-devel] [PATCH v3] smpboot: Add CPU hotplug state variables instead of reusing CPU states

2015-12-10 Thread Daniel Wagner
The cpu hotplug state machine in smpboot.c is reusing the states from cpu.h. That is confusing when it comes to the CPU_DEAD_FROZEN usage. Paul explained to me that he was in need of an additional state for destinguishing between a CPU error states. For this he just picked CPU_DEAD_FROZEN. 8038dad

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

2015-12-10 Thread osstest service owner
flight 65608 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/65608/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-rumpuserxen3 host-install(3) broken REGR. vs. 59254 test-amd64-amd64-pair

[Xen-devel] [distros-debian-wheezy test] 38481: tolerable FAIL

2015-12-10 Thread Platform Team regression test user
flight 38481 distros-debian-wheezy real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38481/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-amd64-wheezy-netboot-pygrub 9 debian-di-install fail like 38422 baseline versio

Re: [Xen-devel] [PATCH v2 08/14] x86/hvm: Collect information of TSC scaling ratio

2015-12-10 Thread Tian, Kevin
> From: Zhang, Haozhong > Sent: Monday, December 07, 2015 4:59 AM ratio > > Both VMX TSC scaling and SVM TSC ratio use the 64-bit TSC scaling ratio, > but the number of fractional bits of the ratio is different between VMX > and SVM. This patch adds the architecture code to collect the number of >

Re: [Xen-devel] [PATCH v2 09/14] x86/hvm: Setup TSC scaling ratio

2015-12-10 Thread Tian, Kevin
> From: Zhang, Haozhong > Sent: Monday, December 07, 2015 4:59 AM > > This patch adds a field tsc_scaling_ratio in struct hvm_vcpu to > record the TSC scaling ratio, and sets it up when tsc_set_info() is > called for a vcpu or when a vcpu is restored or reset. > > Signed-off-by: Haozhong Zhang >

Re: [Xen-devel] [PATCH v2 08/14] x86/hvm: Collect information of TSC scaling ratio

2015-12-10 Thread Zhang, Haozhong
On 12/10/15 18:19, Tian, Kevin wrote: > > From: Zhang, Haozhong > > Sent: Monday, December 07, 2015 4:59 AM > ratio > > > > Both VMX TSC scaling and SVM TSC ratio use the 64-bit TSC scaling ratio, > > but the number of fractional bits of the ratio is different between VMX > > and SVM. This patch a

Re: [Xen-devel] [PATCH v2 10/14] x86/hvm: Replace architecture TSC scaling by a common function

2015-12-10 Thread Tian, Kevin
> From: Zhang, Haozhong > Sent: Monday, December 07, 2015 4:59 AM > > This patch implements a common function hvm_scale_tsc() to scale TSC by > using TSC scaling information collected by architecture code. > > Signed-off-by: Haozhong Zhang Reviewed-by: Kevin Tian , except the mul64 part. _

[Xen-devel] [PATCH 12/12] xen-hvm: Mark inappropriate error handling FIXME

2015-12-10 Thread Markus Armbruster
Cc: Stefano Stabellini Cc: xen-de...@lists.xensource.com Signed-off-by: Markus Armbruster --- xen-hvm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/xen-hvm.c b/xen-hvm.c index 3d78a0c..2a93390 100644 --- a/xen-hvm.c +++ b/xen-hvm.c @@ -240,6 +240,7 @@ static void xen_ram_init(PCMa

Re: [Xen-devel] [PATCH v2 11/14] x86/hvm: Move saving/loading vcpu's TSC to common code

2015-12-10 Thread Tian, Kevin
> From: Zhang, Haozhong > Sent: Monday, December 07, 2015 4:59 AM common code > > Both VMX and SVM save/load vcpu's TSC when saving/loading vcpu's > context, so this patch moves saving/loading vcpu's TSC to the common > functions hvm_[save|load]_cpu_ctxt(). > > Signed-off-by: Haozhong Zhang > Ac

Re: [Xen-devel] [PATCH v2 12/14] x86/hvm: Detect TSC scaling through hvm_funcs

2015-12-10 Thread Tian, Kevin
> From: Zhang, Haozhong > Sent: Monday, December 07, 2015 4:59 AM > > This patch uses hvm_funcs.tsc_scaling_supported instead of the > architecture code to detect the TSC scaling support. > > Signed-off-by: Haozhong Zhang > Acked-by: Jan Beulich Reviewed-by: Kevin Tian __

Re: [Xen-devel] [Xen-staging] [xen staging] tools: Refactor "xentoollog" into its own library

2015-12-10 Thread Ian Campbell
On Wed, 2015-12-09 at 12:45 +, patch...@xen.org wrote: > commit c7d3afbb44b47af9103be0b914afd588a84d9e62 > Author: Ian Campbell > AuthorDate: Thu Dec 3 11:22:02 2015 + > Commit: Ian Campbell > CommitDate: Wed Dec 9 12:37:00 2015 + > > tools: Refactor "xentoollog" into its

Re: [Xen-devel] [PATCH v2 13/14] vmx: Add VMX RDTSC(P) scaling support

2015-12-10 Thread Tian, Kevin
> From: Zhang, Haozhong > Sent: Monday, December 07, 2015 4:59 AM > > This patch adds the initialization and setup code for VMX TSC scaling. > > Signed-off-by: Haozhong Zhang Acked-by: Kevin Tian ___ Xen-devel mailing list Xen-devel@lists.xen.org htt

Re: [Xen-devel] [PATCH v2 09/14] x86/hvm: Setup TSC scaling ratio

2015-12-10 Thread Zhang, Haozhong
On 12/10/15 18:27, Tian, Kevin wrote: > > From: Zhang, Haozhong > > Sent: Monday, December 07, 2015 4:59 AM > > > > This patch adds a field tsc_scaling_ratio in struct hvm_vcpu to > > record the TSC scaling ratio, and sets it up when tsc_set_info() is > > called for a vcpu or when a vcpu is restor

Re: [Xen-devel] [PATCH v2 14/14] docs: Add descriptions of TSC scaling in xl.cfg and tscmode.txt

2015-12-10 Thread Tian, Kevin
> From: Zhang, Haozhong > Sent: Monday, December 07, 2015 4:59 AM g and tscmode.txt > > Signed-off-by: Haozhong Zhang > --- > docs/man/xl.cfg.pod.5 | 15 ++- > docs/misc/tscmode.txt | 14 ++ > 2 files changed, 28 insertions(+), 1 deletion(-) > > diff --git a/docs/man/xl.

Re: [Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-10 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Tuesday, December 08, 2015 1:04 AM > > On 07/12/15 10:16, Haozhong Zhang wrote: > > On 12/07/15 10:03, Egger, Christoph wrote: > >> Did you consider nested virtualization? > >> L1 hypervisor may have a different tsc scaling > >> and

Re: [Xen-devel] [PATCH v10 0/7] Add VT-d Posted-Interrupts support

2015-12-10 Thread Tian, Kevin
> From: Feng Wu > Sent: Thursday, December 03, 2015 4:35 PM > > VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. > With VT-d Posted-Interrupts enabled, external interrupts from > direct-assigned devices can be delivered to guests without VMM > intervention when guest is runni

Re: [Xen-devel] [PATCH v10 3/7] vt-d: Add API to update IRTE when VT-d PI is used

2015-12-10 Thread Tian, Kevin
> From: Wu, Feng > Sent: Thursday, December 03, 2015 4:36 PM is used > > This patch adds an API which is used to update the IRTE > for posted-interrupt when guest changes MSI/MSI-X information. > > CC: Kevin Tian > CC: Keir Fraser > CC: Jan Beulich > CC: Andrew Cooper > Signed-off-by: Feng Wu

Re: [Xen-devel] [PATCH v10 4/7] Update IRTE according to guest interrupt config changes

2015-12-10 Thread Tian, Kevin
> From: Feng Wu > Sent: Thursday, December 03, 2015 4:36 PM > > When guest changes its interrupt configuration (such as, vector, etc.) > for direct-assigned devices, we need to update the associated IRTE > with the new guest vector, so external interrupts from the assigned > devices can be injecte

Re: [Xen-devel] [PATCH v2 14/14] docs: Add descriptions of TSC scaling in xl.cfg and tscmode.txt

2015-12-10 Thread Zhang, Haozhong
On 12/10/15 18:40, Tian, Kevin wrote: > > From: Zhang, Haozhong > > Sent: Monday, December 07, 2015 4:59 AM > g and tscmode.txt > > > > Signed-off-by: Haozhong Zhang > > --- > > docs/man/xl.cfg.pod.5 | 15 ++- > > docs/misc/tscmode.txt | 14 ++ > > 2 files changed, 28 ins

Re: [Xen-devel] Taking on a Xen development project

2015-12-10 Thread Wei Liu
Hello On Fri, Dec 04, 2015 at 03:26:00PM -0500, jto...@uwaterloo.ca wrote: > Hi, > > We're a team of three fourth-year undergraduate software engineering > students at the University of Waterloo in Canada. We're in the process > of planning for our capstone design project, and are interested in

[Xen-devel] [linux-next test] 65611: regressions - trouble: blocked/broken/fail/pass

2015-12-10 Thread osstest service owner
flight 65611 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/65611/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 3 host-install(3) broken REGR. vs. 65521 test-amd64-amd64-rumpu

Re: [Xen-devel] [PATCH v2 00/14] Add VMX TSC scaling support

2015-12-10 Thread Haozhong Zhang
On 12/10/15 10:43, Tian, Kevin wrote: > > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > > Sent: Tuesday, December 08, 2015 1:04 AM > > > > On 07/12/15 10:16, Haozhong Zhang wrote: > > > On 12/07/15 10:03, Egger, Christoph wrote: > > >> Did you consider nested virtualization? > > >> L1 h

[Xen-devel] [PATCH LIBVIRT] libxl: Use libxentoollog in preference to libxenctrl if available.

2015-12-10 Thread Ian Campbell
Upstream Xen is in the process of splitting the (stable API) xtl_* interfaces out from the (unstable API) libxenctrl library and into a new (stable API) libxentoollog. In order to be compatible with Xen both before and after this transition check for xtl_createlogger_stdiostream in a libxentoollog

Re: [Xen-devel] [PATCH v10 6/7] vmx: VT-d posted-interrupt core logic handling

2015-12-10 Thread Tian, Kevin
> From: Wu, Feng > Sent: Thursday, December 03, 2015 4:36 PM > > This is the core logic handling for VT-d posted-interrupts. Basically it > deals with how and when to update posted-interrupts during the following > scenarios: > - vCPU is preempted > - vCPU is slept > - vCPU is blocked > > When vC

Re: [Xen-devel] [PATCH v3] x86/VPMU: Support only versions 2 through 4 of architectural performance monitoring

2015-12-10 Thread Tian, Kevin
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com] > Sent: Friday, December 04, 2015 10:08 PM > > We need to have at least version 2 since it's the first version to > support various control and status registers (such as > MSR_CORE_PERF_GLOBAL_CTRL) that VPMU relies on always having. > >

Re: [Xen-devel] [PATCHv6] 03/28] build: use generated Kconfig options for Xen

2015-12-10 Thread Jan Beulich
>>> On 09.12.15 at 21:34, wrote: > On 12/9/15 2:40 AM, Jan Beulich wrote: > On 08.12.15 at 20:53, wrote: >>> On 11/30/15 8:45 AM, Jan Beulich wrote: >>> On 24.11.15 at 18:51, wrote: > @@ -227,9 +230,14 @@ kconfig := silentoldconfig oldconfig config > menuconfig defconfig \ >

Re: [Xen-devel] [PATCHv6] 03/28] build: use generated Kconfig options for Xen

2015-12-10 Thread Jan Beulich
>>> On 09.12.15 at 21:53, wrote: > On 12/9/15 2:34 PM, Doug Goldstein wrote: >> So you would like me to add code into xen/Makefile to detect if someone >> ran "make kexec=X" or added "kexec=X" into top level .config and give >> them a meaningful error message to tell them to use "make config" inst

Re: [Xen-devel] [PATCH v2 06/14] x86/time.c: Scale host TSC in pvclock properly

2015-12-10 Thread Joao Martins
On 12/10/2015 12:23 AM, Haozhong Zhang wrote: > On 12/08/15 14:21, Boris Ostrovsky wrote: >> On 12/07/2015 08:52 PM, Haozhong Zhang wrote: >>> On 12/07/15 13:14, Boris Ostrovsky wrote: On 12/06/2015 03:58 PM, Haozhong Zhang wrote: > This patch makes the pvclock return the scaled host TSC

[Xen-devel] [PATCH v10 1/5] libxl: export some functions for pvusb use

2015-12-10 Thread George Dunlap
From: Chunyan Liu Signed-off-by: Chunyan Liu Signed-off-by: Simon Cao Reviewed-by: Wei Liu --- CC: Ian Campbell CC: Ian Jackson CC: Wei Liu --- tools/libxl/libxl.c | 5 ++--- tools/libxl/libxl_internal.h | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tools

[Xen-devel] [PATCH v10 2/5] libxl_utils: add internal function to read sysfs file contents

2015-12-10 Thread George Dunlap
From: Chunyan Liu Add a new function libxl_read_sysfs_file_contents to handle sysfs file specially. It would be used in later pvusb work. Signed-off-by: Chunyan Liu --- v10: - Rebased to staging CC: Ian Campbell CC: Ian Jackson CC: Wei Liu --- tools/libxl/libxl_internal.h | 4 +++ tools/

[Xen-devel] [PATCH v10 5/5] domcreate: support pvusb in configuration file

2015-12-10 Thread George Dunlap
From: Chunyan Liu Add code to support pvusb in domain config file. One could specify usbctrl and usb in domain's configuration file and create domain, then usb controllers will be created and usb device would be attached to guest automatically. One could specify usb controllers and usb devices i

[Xen-devel] [PATCH v10 4/5] xl: add pvusb commands

2015-12-10 Thread George Dunlap
From: Chunyan Liu Add pvusb commands: usbctrl-attach, usbctrl-detach, usb-list, usbdev-attach and usbdev-detach. To attach a usb device to guest through pvusb, one could follow following example: #xl usbctrl-attach test_vm version=1 ports=8 #xl usb-list test_vm will show the usb controllers

[Xen-devel] [PATCH v10 0/5] xen pvusb toolstack work

2015-12-10 Thread George Dunlap
Chunyan, I did a thorough review of v3, and almost all the comments I had fell into two categories: 1. Trivial things that could be easily fixed 2. Complicated things that would be difficult to explain and might take several rounds to correct. As such, I hope you don't mind that I took the libe

[Xen-devel] [PATCH v10 3/5] libxl: add pvusb API

2015-12-10 Thread George Dunlap
From: Chunyan Liu Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb device - list usb controller and usb devices - some other helper functions Signed-off-by: Chunyan Liu Signed-off-by: Simon Cao Signed-off-by: George Dunlap --- Changes

Re: [Xen-devel] [PATCH v10 3/5] libxl: add pvusb API

2015-12-10 Thread George Dunlap
On 10/12/15 12:05, George Dunlap wrote: > From: Chunyan Liu > > Add pvusb APIs, including: > - attach/detach (create/destroy) virtual usb controller. > - attach/detach usb device > - list usb controller and usb devices > - some other helper functions > > Signed-off-by: Chunyan Liu > Signed-

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

2015-12-10 Thread osstest service owner
flight 65662 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/65662/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 5 libvirt-build fail REGR. vs. 65617 Tests which di

Re: [Xen-devel] [PATCH v10 0/5] xen pvusb toolstack work

2015-12-10 Thread George Dunlap
On Thu, Dec 10, 2015 at 12:05 PM, George Dunlap wrote: > Chunyan, > > I did a thorough review of v3, I meant "patch 3 of v9"... (the one labelled RESEND, with the updated naming scheme). -George ___ Xen-devel mailing list Xen-devel@lists.xen.org http

[Xen-devel] [xen-4.4-testing test] 65612: regressions - trouble: blocked/broken/fail/pass

2015-12-10 Thread osstest service owner
flight 65612 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/65612/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 3 host-install(3) broken REGR. vs. 64766 build-armhf

Re: [Xen-devel] [PATCH v10 0/5] xen pvusb toolstack work

2015-12-10 Thread George Dunlap
On Thu, Dec 10, 2015 at 12:05 PM, George Dunlap wrote: > Changes to V9: > * Rebased to staging (ec0712576198633dd7fbfe25290b030d5a23b252) > * Lots of changes to patch 3/5 > * Removed patches related to "list-assignable-devices" functionality And this is because, as I have said elsewhere, I think

Re: [Xen-devel] [PATCH] x86/HVM: Merge HVM and PVH hypercall tables

2015-12-10 Thread Jan Beulich
>>> On 08.12.15 at 15:20, wrote: > The tables are almost identical and therefore there is little reason to > keep both sets. > > PVH needs 3 extra hypercalls: > * mmuext_op. PVH uses MMUEXT_TLB_FLUSH_MULTI and MMUEXT_INVLPG_MULTI to > optimize TLB flushing. Since HVMlite guests may decide to us

Re: [Xen-devel] [PATCH v2] libxl: update check-xl-disk-parse

2015-12-10 Thread Ian Campbell
On Wed, 2015-12-09 at 13:12 -0700, Jim Fehlig wrote: > On 12/09/2015 03:43 AM, Wei Liu wrote: > > The block-attach command now returns 1 when fails. Update first test > > case to expect return value 1 instead of 255. > > > > The parser now doesn't generate output for default values. Remove them >

Re: [Xen-devel] [PATCH v10 0/7] Add VT-d Posted-Interrupts support

2015-12-10 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Thursday, December 10, 2015 6:49 PM > To: Wu, Feng ; xen-devel@lists.xen.org > Cc: Wu, Feng > Subject: RE: [Xen-devel] [PATCH v10 0/7] Add VT-d Posted-Interrupts support > > > From: Feng Wu > > Sent: Thursday, December 03, 2015 4:35 PM >

[Xen-devel] [OSSTEST PATCH 4/7] Schema: Introduce mg-schema-create

2015-12-10 Thread Ian Jackson
There is a fair amount of option parsing clobber here that will be relevant shortly. Signed-off-by: Ian Jackson --- mg-schema-create| 61 +++ mg-schema-test-database |2 +- 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100

[Xen-devel] [OSSTEST PATCH 7/7] Schema: drop old resource_log table

2015-12-10 Thread Ian Jackson
Signed-off-by: Ian Jackson --- schema/drop-old-resource-log.sql |8 1 file changed, 8 insertions(+) create mode 100644 schema/drop-old-resource-log.sql diff --git a/schema/drop-old-resource-log.sql b/schema/drop-old-resource-log.sql new file mode 100644 index 000..9494e1b --- /

[Xen-devel] [OSSTEST PATCH 5/7] Schema: Support database schema updates

2015-12-10 Thread Ian Jackson
See schema/README.schema, introduced in this patch, for the design. Signed-off-by: Ian Jackson --- Osstest/Executive.pm | 82 +++ mg-schema-create | 20 mg-schema-test-database |6 +- mg-schema-update | 255 ++

[Xen-devel] [OSSTEST PATCH 1/7] mg-schema-test-database: Fix argument parsing for _SUFFIX

2015-12-10 Thread Ian Jackson
Signed-off-by: Ian Jackson --- mg-schema-test-database |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mg-schema-test-database b/mg-schema-test-database index d704950..9791d84 100755 --- a/mg-schema-test-database +++ b/mg-schema-test-database @@ -244,7 +244,7 @@ create)

[Xen-devel] [OSSTEST PATCH 6/7] Schema: Check that schema creation and update runs as the right user

2015-12-10 Thread Ian Jackson
Signed-off-by: Ian Jackson --- Osstest/Executive.pm|1 + README |5 + mg-schema-create|4 +++- mg-schema-test-database |1 + mg-schema-update| 16 5 files changed, 26 insertions(+), 1 deletion(-) diff --git a/Osstest/Exe

[Xen-devel] [OSSTEST PATCH 0/7] Support database schema updates

2015-12-10 Thread Ian Jackson
With this series it becomes possible to update the database schema in a controlled and manageable way. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [OSSTEST PATCH 3/7] Schema: Remove SET OWNER and GRANT/REVOKE from schema/initial.sql

2015-12-10 Thread Ian Jackson
Really, we don't want the initial schema setup to mess about with permissions. Instead, we simply expect to run the creation as the correct role user. So: - Remove the code in mg-schema-test-database to remove the permission settings from initial.sql; - Instead, run exactly that code on init

[Xen-devel] [OSSTEST PATCH 2/7] Schema: Rename schema file

2015-12-10 Thread Ian Jackson
We are going to have multiple schema snippets and this is going be just the initial baseline. Rename the file and change references to it. Signed-off-by: Ian Jackson --- INSTALL.production|4 ++-- mg-schema-test-database |2 +- e

[Xen-devel] Xen Security Advisory 158 (CVE-2015-8338) - long running memory operations on ARM

2015-12-10 Thread Xen . org security team
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xen Security Advisory CVE-2015-8338 / XSA-158 version 4 long running memory operations on ARM UPDATES IN VERSION 4 Mention that the original patches had two problems, sup

[Xen-devel] [ovmf test] 65624: regressions - FAIL

2015-12-10 Thread osstest service owner
flight 65624 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/65624/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 65543 version targeted

[Xen-devel] how can I debug nested xen?

2015-12-10 Thread quizyjones
I can debug xen using console connections. However, HVM nested xen seems to not support 'xl console'. Even though I set the console according to http://www.dedoimedo.com/computers/xen-console.html, it still cannot output xen related infomation. Any suggestions?

[Xen-devel] [xen-unstable-smoke test] 65672: tolerable all pass - PUSHED

2015-12-10 Thread osstest service owner
flight 65672 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/65672/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-xl 12 migrate-support-checkfail never pass test-armhf-armhf-xl 13

Re: [Xen-devel] [OSSTEST PATCH 1/7] mg-schema-test-database: Fix argument parsing for _SUFFIX

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > Signed-off-by: Ian Jackson Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [OSSTEST PATCH 3/7] Schema: Remove SET OWNER and GRANT/REVOKE from schema/initial.sql

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > Really, we don't want the initial schema setup to mess about with > permissions.  Instead, we simply expect to run the creation as the > correct role user. > > So: >  - Remove the code in mg-schema-test-database to remove the >    permission

Re: [Xen-devel] [OSSTEST PATCH 4/7] Schema: Introduce mg-schema-create

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > There is a fair amount of option parsing clobber here that will be > relevant shortly. How dangerous is this script if you just run it e.g. without with_test? Specifically, would it nuke an existing database? > > Signed-off-by: Ian Jackson

Re: [Xen-devel] [OSSTEST PATCH 2/7] Schema: Rename schema file

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > We are going to have multiple schema snippets and this is going be > just the initial baseline. > > Rename the file and change references to it. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell _

Re: [Xen-devel] [PATCH v2] xen: sched: fix (ACPI S3) resume with cpupools with different schedulers.

2015-12-10 Thread George Dunlap
On Fri, Nov 13, 2015 at 5:10 PM, Dario Faggioli wrote: > In fact, with 2 cpupools, one (the default) Credit and > one Credit2 (with at least 1 pCPU in the latter), trying > a (e.g., ACPI S3) suspend/resume crashes like this: > > (XEN) [ 150.587779] [ Xen-4.7-unstable x86_64 debug=y Not tai

Re: [Xen-devel] [OSSTEST PATCH 3/7] Schema: Remove SET OWNER and GRANT/REVOKE from schema/initial.sql

2015-12-10 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 3/7] Schema: Remove SET OWNER and GRANT/REVOKE from schema/initial.sql"): > I suppose the resulting comments in initial.sql are useful even for > illustration (i.e. not much point in removing). Yes. Also they reflect actual stuff in at least the Cambridge

Re: [Xen-devel] [OSSTEST PATCH 4/7] Schema: Introduce mg-schema-create

2015-12-10 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 4/7] Schema: Introduce mg-schema-create"): > On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > > There is a fair amount of option parsing clobber here that will be > > relevant shortly. > > How dangerous is this script if you just run it e.g. without

Re: [Xen-devel] [PATCH XEN v6 14/32] tools: Remove xc_map_foreign_batch

2015-12-10 Thread George Dunlap
On 03/12/15 11:22, Ian Campbell wrote: > It can trivially be replaced by xc_map_foreign_pages which is the > interface I want to move to going forward (by standardising on _bulk > but handling err=NULL as _pages does). > > The callers of _batch are checking a mixture of a NULL return or > looking

[Xen-devel] [OSSTEST PATCH 8/7] Schema: When creating, check that no updates are applied

2015-12-10 Thread Ian Jackson
If you try to run mg-schema-create on an existing instance it bombs out right at the beginning because it tries to create the `flights' table, which already exists. But in the future the `flights' table might be removed in an update, which would remove this safety catch. Then running the create m

Re: [Xen-devel] [V3 PATCH 1/9] x86/hvm: pkeys, add the flag to enable Memory Protection Keys

2015-12-10 Thread George Dunlap
On 07/12/15 09:16, Huaitong Han wrote: > This patch adds the flag to enable Memory Protection Keys. > > Signed-off-by: Huaitong Han > Reviewed-by: Andrew Cooper > --- > docs/misc/xen-command-line.markdown | 21 + > xen/arch/x86/cpu/common.c | 10 +- > xen/i

Re: [Xen-devel] [OSSTEST PATCH 5/7] Schema: Support database schema updates

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > See schema/README.schema, introduced in this patch, for the design. That is all I have done here. Some of the questions I had might be answered in the code. [...] > diff --git a/schema/README.updates b/schema/README.updates > new file mode 1

Re: [Xen-devel] [OSSTEST PATCH 7/7] Schema: drop old resource_log table

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > Signed-off-by: Ian Jackson Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [OSSTEST PATCH 6/7] Schema: Check that schema creation and update runs as the right user

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > Signed-off-by: Ian Jackson Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [OSSTEST PATCH 8/7] Schema: When creating, check that no updates are applied

2015-12-10 Thread Ian Campbell
On Thu, 2015-12-10 at 15:34 +, Ian Jackson wrote: > If you try to run mg-schema-create on an existing instance it bombs > out right at the beginning because it tries to create the `flights' > table, which already exists. > > But in the future the `flights' table might be removed in an update,

Re: [Xen-devel] [V3 PATCH 4/9] x86/hvm: pkeys, add functions to get pkeys value from PTE

2015-12-10 Thread George Dunlap
On 07/12/15 09:16, Huaitong Han wrote: > This patch adds functions to get pkeys value from PTE. > > Signed-off-by: Huaitong Han > --- > xen/include/asm-x86/guest_pt.h| 7 +++ > xen/include/asm-x86/page.h| 5 + > xen/include/asm-x86/x86_64/page.h | 12 > 3 files

[Xen-devel] [PATCH] VT-d: Correct order of parameters to memset() in setup_posted_irte()

2015-12-10 Thread Andrew Cooper
Introduced in c/s 83ea9229 "vt-d: add API to update IRTE when VT-d PI is used". Spotted by Coverity. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Feng Wu CC: Kevin Tian --- xen/drivers/passthrough/vtd/intremap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/

Re: [Xen-devel] [OSSTEST PATCH 5/7] Schema: Support database schema updates

2015-12-10 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 5/7] Schema: Support database schema updates"): > On Thu, 2015-12-10 at 13:51 +, Ian Jackson wrote: > > See schema/README.schema, introduced in this patch, for the design. > > That is all I have done here. Some of the questions I had might be answered

[Xen-devel] [PATCH v7 19/28] build: convert HAS_PL011 use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_PL011 defines in the code base. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein --- config/arm32.mk | 1 - config/arm64.mk | 1 - xen/drivers/char/Kconfig | 9 + x

[Xen-devel] [PATCH v7 03/28] build: build Kconfig and config rules

2015-12-10 Thread Doug Goldstein
Wire in the Kconfig build and makefile rules to be able to generate valid configuration files to be used by the build process but don't actually use the output for affecting the Xen build. To avoid dragging in most of Kbuild from the Linux kernel this adds Makefile.kconfig which is our real entry p

[Xen-devel] [PATCH v7 05/28] build: convert HAS_PASSTHROUGH use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated HAS_PASSTHROUGH defines for the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Daniel De Graaf Signed-off-by: Doug Goldstein --- xen/Rules.mk| 1 - xen/arch/arm/Kconfig| 1

[Xen-devel] [PATCH v7 15/28] build: convert HAS_PDX use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_PDX defines in the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- xen/Rules.mk | 1 - xen/arch/arm/Kconfig | 1 + xen/arch/arm/Rules.mk | 1 - xen/arch/x86/

[Xen-devel] [PATCH v7 12/28] build: convert HAS_VGA use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_VGA defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk | 1 - xen/drivers/video/Kconfig | 4 xen/drivers/video/Makefile | 4 ++--

[Xen-devel] [PATCH v7 28/28] build: convert CONFIG_COMPAT to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_COMPAT defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- config/x86_64.mk | 1 - xen/arch/x86/Kconfig | 7 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/x86_64.mk b/

[Xen-devel] [PATCH v7 02/28] MAINTAINERS: add myself for kconfig

2015-12-10 Thread Doug Goldstein
Added myself as the maintainer of kconfig. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 01f575c..129cecc 100644 --- a/M

[Xen-devel] [PATCH v7 14/28] build: convert HAS_GDBSX use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_GDBSX defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- xen/Rules.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk | 1 - xen/common/Kconfig| 4 xen/common/domain.c

[Xen-devel] [PATCH v7 13/28] build: convert HAS_CPUFREQ use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_CPUFREQ defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Liu Jinsong Signed-off-by: Doug Goldstein --- xen/arch/x86/Kconfig| 1 + xen/arch/x86/Rules.mk | 1 - xen/drivers/Kconfig | 2 ++ xen/drivers/Mak

[Xen-devel] [PATCH v7 20/28] build: convert HAS_EXYNOS4210 use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_EXYNOS4210 defines in the code base. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein --- config/arm32.mk | 1 - xen/drivers/char/Kconfig | 9 + xen/drivers/char/Makefile | 2

[Xen-devel] [PATCH v7 04/28] build: use generated Kconfig options for Xen

2015-12-10 Thread Doug Goldstein
Switches the build system to rely on the options and flags generated by Kconfig to control what gets built and how. Follow on patches will convert items to be prefixed with CONFIG_. Additionally remove a #define that resulted in a redefined variable when building for arm. CC: Ian Campbell CC: Ste

[Xen-devel] [PATCH v7 22/28] build: convert HAS_SCIF use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_SCIF defines in the code base. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein --- config/arm32.mk | 1 - xen/drivers/char/Kconfig | 9 + xen/drivers/char/Makefile | 2 +- 3

[Xen-devel] [PATCH v7 16/28] build: convert HAS_KEXEC / KEXEC use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_KEXEC defines in the build system and replace kexec :=y in Rules.mk with a kconfig option called CONFIG_KEXEC. Purposefully did not merge the two variables together in this patch to keep this as mechanical as possible. CC: Ian Campbell CC: Ian Jackson CC: Kei

[Xen-devel] [PATCH v7 26/28] build: convert HAS_MEM_SHARING use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_MEM_SHARING defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Razvan Cojocaru CC: Tamas K Lengyel CC: Daniel De Graaf Signed-off-by: Doug Goldstein --- config/x86_32.mk| 1 - config/x86_64.mk| 1 - xen/Rules

[Xen-devel] [PATCH v7 11/28] build: convert HAS_VIDEO use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_VIDEO defines in the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- xen/arch/arm/Kconfig | 1 + xen/arch/arm/Rules.mk | 1 - xen/arch/x86/Kconfig | 1

[Xen-devel] [PATCH v7 06/28] build: convert HAS_DEVICE_TREE use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_DEVICE_TREE defines in the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Jan Beulich CC: Daniel De Graaf Signed-off-by: Doug Goldstein --- xen/Rules.mk | 1 - xen/arch/arm/Kconfig | 1 + xen/arch/arm/Rules.mk

[Xen-devel] [PATCH v7 07/28] build: convert HAS_PCI use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_PCI defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Daniel De Graaf Signed-off-by: Doug Goldstein --- xen/Rules.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk| 1 -

[Xen-devel] [PATCH v7 17/28] build: convert HAS_ARM_HDLCD use to Kconfig

2015-12-10 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_ARM_HDLCD defines in the code base. CC: Ian Campbell CC: Stefano Stabellini Signed-off-by: Doug Goldstein --- xen/arch/arm/Kconfig | 1 + xen/arch/arm/Rules.mk | 2 -- xen/drivers/video/Kconfig | 4 xen/drivers/video/Makefile | 2 +- 4 file

  1   2   >