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

2017-10-23 Thread osstest service owner
flight 115169 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/115169/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm6 xen-buildfail REGR. vs. 114507 build-i386

[Xen-devel] [xen-unstable test] 115163: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115163 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/115163/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ws16-amd64 17 guest-stopfail REGR. vs. 114644 test-amd64-amd64-x

[Xen-devel] [linux-linus test] 115153: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115153 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/115153/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-ws16-amd64 17 guest-stop fail REGR. vs. 114682 Tests which did not

[Xen-devel] Is that possible to merge MBA into Xen 4.10?

2017-10-23 Thread Yi Sun
Hi, all, As you may know, MBA patch set has got enough Reviewed-by/Acked-by in last week. It is ready to be merged. This is a feature for Skylake, Intel has launched Skylake and KVM already supported MBA, so including it in Xen 4.10 will quickly fill this gap. MBA missed the 4.10 feature freeze

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

2017-10-23 Thread osstest service owner
flight 115162 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/115162/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm6 xen-buildfail REGR. vs. 114507 build-i386

[Xen-devel] [qemu-mainline bisection] complete build-amd64

2017-10-23 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-amd64 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://git.qemu.org/qemu.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: qemuu git://git.

[Xen-devel] [linux-4.9 test] 115140: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115140 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/115140/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ws16-amd64 17 guest-stop fail REGR. vs. 114814 Tests which are faili

Re: [Xen-devel] [PATCH V3 28/29] x86/vvtd: Add queued invalidation (QI) support

2017-10-23 Thread Tian, Kevin
> From: Gao, Chao > Sent: Monday, October 23, 2017 4:52 PM > > On Mon, Oct 23, 2017 at 09:57:16AM +0100, Roger Pau Monné wrote: > >On Mon, Oct 23, 2017 at 03:50:24PM +0800, Chao Gao wrote: > >> On Fri, Oct 20, 2017 at 12:20:06PM +0100, Roger Pau Monné wrote: > >> >On Thu, Sep 21, 2017 at 11:02:09P

Re: [Xen-devel] [PATCH v5 11/13] xen/pvcalls: implement poll command

2017-10-23 Thread Stefano Stabellini
On Tue, 17 Oct 2017, Boris Ostrovsky wrote: > > +static unsigned int pvcalls_front_poll_passive(struct file *file, > > + struct pvcalls_bedata *bedata, > > + struct sock_mapping *map, > > +

Re: [Xen-devel] [PATCH v5 08/13] xen/pvcalls: implement accept command

2017-10-23 Thread Stefano Stabellini
On Tue, 17 Oct 2017, Boris Ostrovsky wrote: > On 10/06/2017 08:30 PM, Stefano Stabellini wrote: > > Introduce a waitqueue to allow only one outstanding accept command at > > any given time and to implement polling on the passive socket. Introduce > > a flags field to keep track of in-flight accept

Re: [Xen-devel] [PATCH v5 02/13] xen/pvcalls: implement frontend disconnect

2017-10-23 Thread Stefano Stabellini
On Tue, 17 Oct 2017, Boris Ostrovsky wrote: > On 10/06/2017 08:30 PM, Stefano Stabellini wrote: > > Introduce a data structure named pvcalls_bedata. It contains pointers to > > the command ring, the event channel, a list of active sockets and a list > > of passive sockets. Lists accesses are protec

Re: [Xen-devel] linux-arm-xen branch, commit access, etc.

2017-10-23 Thread Stefano Stabellini
On Fri, 20 Oct 2017, Julien Grall wrote: > Julien, do you think we need to keep a special linux tree around for Xen > on ARM testing in OSSTest or we can start using vanilla kernel releases? > I would love to get rid of it, if you know of any reasons why we have to > keep it

Re: [Xen-devel] [RFC 0/4] TEE mediator framework + OP-TEE mediator

2017-10-23 Thread Stefano Stabellini
On Mon, 23 Oct 2017, Volodymyr Babchuk wrote: > > >This is a lot of a work. It requires changes in generic parts of XEN. > > >I fear it will be very hard to upstream such changes, because no one > > >sees an immediate value in them. How do you think, what are my chances > > >to upstream this? > >

[Xen-devel] [examine test] 115152: FAIL

2017-10-23 Thread osstest service owner
flight 115152 examine real [real] http://logs.test-lab.xenproject.org/osstest/logs/115152/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: examine-arndale-lakeside 2 hosts-allocate broken REGR. vs. 113775 ex

[Xen-devel] [xen-unstable test] 115132: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115132 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/115132/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ws16-amd64 17 guest-stopfail REGR. vs. 114644 test-amd64-amd64-x

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

2017-10-23 Thread osstest service owner
flight 115141 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/115141/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm6 xen-buildfail REGR. vs. 114507 build-i386

Re: [Xen-devel] [PATCH RFC v2] Add SUPPORT.md

2017-10-23 Thread Stefano Stabellini
On Mon, 23 Oct 2017, Andrew Cooper wrote: > >>> +### x86 PV/Event Channels > >>> + > >>> +Limit: 131072 > >> Why do we call out event channel limits but not grant table limits? > >> Also, why is this x86? The 2l and fifo ABIs are arch agnostic, as far > >> as I am aware. > > Sure, but I'm pre

Re: [Xen-devel] [RFC 0/4] TEE mediator framework + OP-TEE mediator

2017-10-23 Thread Volodymyr Babchuk
On Mon, Oct 23, 2017 at 05:59:44PM +0100, Julien Grall wrote: > Hi Volodymyr, Hi Julien, > Let me begin the e-mail with I am not totally adversed to putting the TEE > mediator in Xen. At the moment, I am trying to understand the whole picture. Thanks for clarification. This is really reassuring :

Re: [Xen-devel] [PATCH v4 4/5] xentrace: enable per-VCPU extratime flag for RTDS

2017-10-23 Thread Meng Xu
On Tue, Oct 17, 2017 at 4:10 AM, Dario Faggioli wrote: > On Wed, 2017-10-11 at 14:02 -0400, Meng Xu wrote: >> Change repl_budget event output for xentrace formats and xenalyze >> >> Signed-off-by: Meng Xu >> > I'd say: > > Reviewed-by: Dario Faggioli Hi guys, Just a reminder, we may need this

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

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

Re: [Xen-devel] [PATCH v12 05/11] x86/mm: add HYPERVISOR_memory_op to acquire guest resources

2017-10-23 Thread Julien Grall
On 20/10/17 11:10, Paul Durrant wrote: -Original Message- From: Julien Grall [mailto:julien.gr...@linaro.org] Sent: 20 October 2017 11:00 To: Paul Durrant ; 'Jan Beulich' Cc: Julien Grall ; Andrew Cooper ; George Dunlap ; Ian Jackson ; Roger Pau Monne ; Wei Liu ; Stefano Stabellini ; x

[Xen-devel] [linux-next test] 115131: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115131 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/115131/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-examine 7 reboot fail REGR. vs. 114658 test-armhf-armhf-lib

Re: [Xen-devel] [PATCH RFC v2] Add SUPPORT.md

2017-10-23 Thread Andrew Cooper
On 23/10/17 17:22, George Dunlap wrote: > On 09/11/2017 06:53 PM, Andrew Cooper wrote: >> On 11/09/17 18:01, George Dunlap wrote: >>> +### x86/RAM >>> + >>> +Limit, x86: 16TiB >>> +Limit, ARM32: 16GiB >>> +Limit, ARM64: 5TiB >>> + >>> +[XXX: Andy to suggest what this should say for x86]

[Xen-devel] Xen 4.10 RC2

2017-10-23 Thread Julien Grall
Hi all, Xen 4.10 RC2 is tagged. You can check that out from xen.git: git://xenbits.xen.org/xen.git 4.10.0-rc2 For your convenience there is also a tarball at: https://downloads.xenproject.org/release/xen/4.10.0-rc2/xen-4.10.0-rc2.tar.gz And the signature is at: https://downloads.xenproject.o

Re: [Xen-devel] [PATCH for-4.10] xenalyze: fix compilation

2017-10-23 Thread Julien Grall
Hi, On 23/10/17 17:32, George Dunlap wrote: On 10/23/2017 05:28 PM, Roger Pau Monne wrote: Recent changes in xenalyze introduced INT_MIN without also adding the required header, fix this by adding the header. Signed-off-by: Roger Pau Monné Acked-by: George Dunlap Release-acked-by: Julien

Re: [Xen-devel] [RFC 0/4] TEE mediator framework + OP-TEE mediator

2017-10-23 Thread Julien Grall
Hi Volodymyr, Let me begin the e-mail with I am not totally adversed to putting the TEE mediator in Xen. At the moment, I am trying to understand the whole picture. On 20/10/17 18:37, Volodymyr Babchuk wrote: On Fri, Oct 20, 2017 at 02:11:14PM +0100, Julien Grall wrote: On 17/10/17 16:59, V

[Xen-devel] [PATCH v2] scripts: introduce a script for build test

2017-10-23 Thread Wei Liu
Signed-off-by: Ian Jackson Signed-off-by: Wei Liu --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu Cc: Julien Grall Cc: Anthony PERARD --- scripts/build-test.sh | 53 +

Re: [Xen-devel] [PATCH for-4.10] xenalyze: fix compilation

2017-10-23 Thread George Dunlap
On 10/23/2017 05:28 PM, Roger Pau Monne wrote: > Recent changes in xenalyze introduced INT_MIN without also adding the > required header, fix this by adding the header. > > Signed-off-by: Roger Pau Monné Acked-by: George Dunlap > --- > Cc: George Dunlap > Cc: Ian Jackson > Cc: Wei Liu > Cc:

[Xen-devel] [PATCH for-4.10] xenalyze: fix compilation

2017-10-23 Thread Roger Pau Monne
Recent changes in xenalyze introduced INT_MIN without also adding the required header, fix this by adding the header. Signed-off-by: Roger Pau Monné --- Cc: George Dunlap Cc: Ian Jackson Cc: Wei Liu Cc: Julien Grall --- This should be accepted for 4.10 because it's a build bug fix, with no fu

Re: [Xen-devel] [PATCH RFC v2] Add SUPPORT.md

2017-10-23 Thread George Dunlap
On 09/11/2017 06:53 PM, Andrew Cooper wrote: > On 11/09/17 18:01, George Dunlap wrote: >> +### x86/PV >> + >> +Status: Supported >> + >> +Traditional Xen Project PV guest > > What's a "Xen Project" PV guest? Just Xen here. > > Also, a perhaps a statement of "No hardware requirements" ? OK.

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

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

Re: [Xen-devel] [xen-unstable test] 115037: regressions - FAIL

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 03:38:33PM +0100, Andrew Cooper wrote: > On 23/10/17 15:34, Jan Beulich wrote: > On 23.10.17 at 15:58, wrote: > >> On 23/10/17 09:40, Jan Beulich wrote: > >> On 23.10.17 at 01:49, wrote: > flight 115037 xen-unstable real [real] > http://logs.test-lab.xen

Re: [Xen-devel] [PATCH RFC] ARM: vPL011: use receive timeout interrupt

2017-10-23 Thread Andre Przywara
Hi, On 18/10/17 17:32, Bhupinder Thakur wrote: > Hi Andre, > > I verified this patch on qualcomm platform. It is working fine. > > On 18 October 2017 at 19:11, Andre Przywara wrote: >> Instead of asserting the receive interrupt (RXI) on the first character >> in the FIFO, lets (ab)use the recei

[Xen-devel] [linux-linus test] 115121: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115121 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/115121/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-debianhvm-amd64-xsm 15 guest-saverestore.2 fail REGR. vs. 114682 test-am

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 04:09:58PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for > build testing"): > > On Mon, Oct 23, 2017 at 03:50:31PM +0100, Anthony PERARD wrote: > > > FIY, I do like to put script and other files in my checkouts, the

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Ian Jackson
Wei Liu writes ("Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing"): > On Mon, Oct 23, 2017 at 03:50:31PM +0100, Anthony PERARD wrote: > > FIY, I do like to put script and other files in my checkouts, the git > > clean will remove them. > > I changed that to make distclean

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 03:50:31PM +0100, Anthony PERARD wrote: > On Mon, Oct 23, 2017 at 02:02:53PM +0100, George Dunlap wrote: > > On 10/20/2017 06:32 PM, Wei Liu wrote: > > > Signed-off-by: Wei Liu > > > --- > > > Cc: Andrew Cooper > > > Cc: George Dunlap > > > Cc: Ian Jackson > > > Cc: Jan

Re: [Xen-devel] [RFC] [Draft Design] ACPI/IORT Support in Xen.

2017-10-23 Thread Julien Grall
Hi, On 23/10/17 14:57, Andre Przywara wrote: On 12/10/17 22:03, Manish Jaggi wrote: It is proposed that the idrange of PCIRC and ITS group be constant for domUs. "constant" is a bit confusing here. Maybe "arbitrary", "from scratch" or "independent from the actual h/w"? I don't think we shou

Re: [Xen-devel] [PATCH v12 00/33] osstest: FreeBSD host support

2017-10-23 Thread Roger Pau Monné
On Fri, Oct 20, 2017 at 04:32:44PM +0100, Ian Jackson wrote: > We have decided: > > We will push the anoint and examine parts of this series to osstest > pretest. (You're going to give me a suitable branch on Monday.) > This should work because we have anointed FreeBSD builds already. Sorry f

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Anthony PERARD
On Mon, Oct 23, 2017 at 02:02:53PM +0100, George Dunlap wrote: > On 10/20/2017 06:32 PM, Wei Liu wrote: > > Signed-off-by: Wei Liu > > --- > > Cc: Andrew Cooper > > Cc: George Dunlap > > Cc: Ian Jackson > > Cc: Jan Beulich > > Cc: Konrad Rzeszutek Wilk > > Cc: Stefano Stabellini > > Cc: Tim

Re: [Xen-devel] [xen-unstable test] 115037: regressions - FAIL

2017-10-23 Thread Andrew Cooper
On 23/10/17 15:34, Jan Beulich wrote: On 23.10.17 at 15:58, wrote: >> On 23/10/17 09:40, Jan Beulich wrote: >> On 23.10.17 at 01:49, wrote: flight 115037 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/115037/ Regressions :-( Tests

Re: [Xen-devel] [xen-unstable test] 115037: regressions - FAIL

2017-10-23 Thread Jan Beulich
>>> On 23.10.17 at 15:58, wrote: > On 23/10/17 09:40, Jan Beulich wrote: > On 23.10.17 at 01:49, wrote: >>> flight 115037 xen-unstable real [real] >>> http://logs.test-lab.xenproject.org/osstest/logs/115037/ >>> >>> Regressions :-( >>> >>> Tests which did not succeed and are blocking, >>> in

Re: [Xen-devel] [xen-unstable test] 115037: regressions - FAIL

2017-10-23 Thread Ian Jackson
Julien Grall writes ("Re: [Xen-devel] [xen-unstable test] 115037: regressions - FAIL"): > Would it be possible of a platform specific bug? The last two flights > are failing on merlot1. The merlots are a highly unusual AMD machines which have NUMA nodes with no memory and seem to sometimes have

Re: [Xen-devel] [RFC] [Draft Design] ACPI/IORT Support in Xen.

2017-10-23 Thread Andre Przywara
Hi Manish, On 12/10/17 22:03, Manish Jaggi wrote: > ACPI/IORT Support in Xen. > -- > > I had sent out patch series [0] to hide smmu from Dom0 IORT. Extending > the scope > and including all that is required to support ACPI/IORT in Xen. > Presenting for review >

Re: [Xen-devel] [PATCH v2 for-4.10 2/2] xentoolcore_restrict_all: Implement for libxenevtchn

2017-10-23 Thread Julien Grall
Hi Ian, On 19/10/17 15:57, Ian Jackson wrote: Ross Lagerwall writes ("[PATCH v2 for-4.10 2/2] xentoolcore_restrict_all: Implement for libxenevtchn"): Signed-off-by: Ross Lagerwall --- Changed in v2: * Keep warning about DoS and resource exhaustion being a possibility. Acked-by: Ian Jackson

Re: [Xen-devel] [PATCH v3 for 4.10] x86/vpt: guarantee the return value of pt_update_irq() set in vIRR or PIR

2017-10-23 Thread Julien Grall
Hi, On 20/10/17 15:16, Jan Beulich wrote: On 20.10.17 at 15:23, wrote: On 20/10/17 12:42, Jan Beulich wrote: On 20.10.17 at 02:35, wrote: pt_update_irq() is expected to return the vector number of periodic timer interrupt, which should be set in vIRR of vlapic or in PIR. Otherwise it would

Re: [Xen-devel] [xen-unstable test] 115037: regressions - FAIL

2017-10-23 Thread Julien Grall
+ Andrew Hi, On 23/10/17 09:40, Jan Beulich wrote: On 23.10.17 at 01:49, wrote: flight 115037 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/115037/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-

Re: [Xen-devel] [PATCH for-4.10] Config.mk: update mini-os changeset

2017-10-23 Thread Julien Grall
Hi, On 20/10/17 12:10, Wei Liu wrote: The new changeset contains the new console.h fix in xen.git. Signed-off-by: Wei Liu --- Cc: Julien Grall This is rather low risk because stubdom build in xen.git uses xen headers directly. I just don't want to ship a version of xen which points to a bug

Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be nonnull in libxl__enum_from_string

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 02:04:58PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be > nonnull in libxl__enum_from_string"): > > On Mon, Oct 23, 2017 at 01:32:50PM +0100, Julien Grall wrote: > > > I would be ok with that. Wei do you have any opin

Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be nonnull in libxl__enum_from_string

2017-10-23 Thread Ian Jackson
Wei Liu writes ("Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be nonnull in libxl__enum_from_string"): > On Mon, Oct 23, 2017 at 01:32:50PM +0100, Julien Grall wrote: > > I would be ok with that. Wei do you have any opinion? > > Sure this is a simple enough patch. We should preferably tu

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread George Dunlap
On 10/20/2017 06:32 PM, Wei Liu wrote: > Signed-off-by: Wei Liu > --- > Cc: Andrew Cooper > Cc: George Dunlap > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Konrad Rzeszutek Wilk > Cc: Stefano Stabellini > Cc: Tim Deegan > Cc: Wei Liu > Cc: Julien Grall > > The risk for this is zero, hence th

Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be nonnull in libxl__enum_from_string

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 01:32:50PM +0100, Julien Grall wrote: > Hi, > > On 20/10/17 11:47, Ian Jackson wrote: > > Julien Grall writes ("Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to > > be nonnull in libxl__enum_from_string"): > > > Release-acked-by: Julien Grall > > > > Thanks, I have

Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be nonnull in libxl__enum_from_string

2017-10-23 Thread Julien Grall
Hi, On 20/10/17 11:47, Ian Jackson wrote: Julien Grall writes ("Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be nonnull in libxl__enum_from_string"): Release-acked-by: Julien Grall Thanks, I have applied this. Not sure whether this followup is 4.10 material, but IMO it is if we wo

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 01:07:36PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH for-4.10] scripts: add a script for build > testing"): > > On Mon, Oct 23, 2017 at 01:02:00PM +0100, Ian Jackson wrote: > > > In particular, if you: > > > * check that the tree is not dirty > > > * detach

Re: [Xen-devel] [PATCH v2 2/5] xen: Provide XEN_DMOP_add_to_physmap

2017-10-23 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 23 October 2017 13:18 > To: Paul Durrant > Cc: Andrew Cooper ; George Dunlap > ; Ian Jackson ; Ross > Lagerwall ; Wei Liu ; > Stefano Stabellini ; xen-devel@lists.xen.org; Konrad > Rzeszutek Wilk ; Tim (Xen.org) >

Re: [Xen-devel] [PATCH v2 2/5] xen: Provide XEN_DMOP_add_to_physmap

2017-10-23 Thread Ross Lagerwall
On 10/23/2017 01:03 PM, Paul Durrant wrote: snip>> +/* + * XEN_DMOP_add_to_physmap : Sets the GPFNs at which a page range appears in + * the specified guest's pseudophysical address + * space. Identical to XENMEM_add_to_physmap with + *

Re: [Xen-devel] [PATCH v2 2/5] xen: Provide XEN_DMOP_add_to_physmap

2017-10-23 Thread Jan Beulich
>>> On 23.10.17 at 14:03, wrote: >> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of >> Ross Lagerwall >> Sent: 23 October 2017 10:05 >> --- a/xen/include/public/hvm/dm_op.h >> +++ b/xen/include/public/hvm/dm_op.h >> @@ -368,6 +368,22 @@ struct xen_dm_op_remote_shutdown { >>

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH for-4.10] scripts: add a script for build testing"): > On Mon, Oct 23, 2017 at 02:24:40AM -0600, Jan Beulich wrote: > > On 20.10.17 at 19:32, wrote: > > > +git rebase $BASE $TIP -x "$CMD" > > > > Is this quoting on $CMD really going to work right no matter what > > the

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Jan Beulich
>>> On 23.10.17 at 13:41, wrote: > On Mon, Oct 23, 2017 at 02:24:40AM -0600, Jan Beulich wrote: >> >>> On 20.10.17 at 19:32, wrote: >> > --- /dev/null >> > +++ b/scripts/build-test.sh >> > @@ -0,0 +1,40 @@ >> > +#!/bin/sh >> > + >> > +# WARNING: Always backup the branch by creating another refere

Re: [Xen-devel] [PATCH v2 4/5] tools: libxendevicemodel: Provide xendevicemodel_add_to_physmap

2017-10-23 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Ross Lagerwall > Sent: 23 October 2017 10:05 > To: xen-devel@lists.xen.org > Cc: Ross Lagerwall ; Ian Jackson > ; Wei Liu > Subject: [Xen-devel] [PATCH v2 4/5] tools: libxendevicemodel: Provide >

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH for-4.10] scripts: add a script for build testing"): > On Mon, Oct 23, 2017 at 01:02:00PM +0100, Ian Jackson wrote: > > In particular, if you: > > * check that the tree is not dirty > > * detach HEAD > > I think these two checks are good. > > > * reattach HEAD after

Re: [Xen-devel] [PATCH v2 3/5] xen: Provide XEN_DMOP_pin_memory_cacheattr

2017-10-23 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Ross Lagerwall > Sent: 23 October 2017 10:05 > To: xen-devel@lists.xen.org > Cc: Stefano Stabellini ; Wei Liu > ; Konrad Rzeszutek Wilk ; > George Dunlap ; Andrew Cooper > ; Ian Jackson ; Tim > (X

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 01:02:00PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH for-4.10] scripts: add a script for build > testing"): > > On Mon, Oct 23, 2017 at 02:24:40AM -0600, Jan Beulich wrote: > > > What is this startup delay intended for? > > > > To give user a chance to check

Re: [Xen-devel] [PATCH v2 2/5] xen: Provide XEN_DMOP_add_to_physmap

2017-10-23 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Ross Lagerwall > Sent: 23 October 2017 10:05 > To: xen-devel@lists.xen.org > Cc: Stefano Stabellini ; Wei Liu > ; Konrad Rzeszutek Wilk ; > George Dunlap ; Andrew Cooper > ; Ian Jackson ; Tim > (X

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH for-4.10] scripts: add a script for build testing"): > On Mon, Oct 23, 2017 at 02:24:40AM -0600, Jan Beulich wrote: > > What is this startup delay intended for? > > To give user a chance to check the command -- git-rebase can be > destructive after all. I can't resist

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

2017-10-23 Thread osstest service owner
flight 115129 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/115129/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm6 xen-buildfail REGR. vs. 114507 build-i386

Re: [Xen-devel] [PATCH v2 1/5] xen/mm: Make xenmem_add_to_physmap global

2017-10-23 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Ross Lagerwall > Sent: 23 October 2017 10:05 > To: xen-devel@lists.xen.org > Cc: Stefano Stabellini ; Wei Liu > ; Konrad Rzeszutek Wilk ; > George Dunlap ; Andrew Cooper > ; Ian Jackson ; Tim > (X

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 12:30:33PM +0100, Anthony PERARD wrote: > On Fri, Oct 20, 2017 at 06:32:55PM +0100, Wei Liu wrote: > > +CMD=${3:-git clean -fdx && ./configure && make -j4} > > + > > +echo "Running command \"$CMD\" on every commit from $BASE to $TIP" > > +echo -n "Starting in " > > + > > +fo

[Xen-devel] [linux-4.9 test] 115110: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115110 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/115110/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ws16-amd64 17 guest-stop fail REGR. vs. 114814 Tests which are faili

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Wei Liu
On Mon, Oct 23, 2017 at 02:24:40AM -0600, Jan Beulich wrote: > >>> On 20.10.17 at 19:32, wrote: > > --- /dev/null > > +++ b/scripts/build-test.sh > > @@ -0,0 +1,40 @@ > > +#!/bin/sh > > + > > +# WARNING: Always backup the branch by creating another reference to it if > > +# you're not familiar wit

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Anthony PERARD
On Mon, Oct 23, 2017 at 12:30:33PM +0100, Anthony PERARD wrote: > On Fri, Oct 20, 2017 at 06:32:55PM +0100, Wei Liu wrote: > > +CMD=${3:-git clean -fdx && ./configure && make -j4} > > + > > +echo "Running command \"$CMD\" on every commit from $BASE to $TIP" > > +echo -n "Starting in " > > + > > +fo

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Anthony PERARD
On Fri, Oct 20, 2017 at 06:32:55PM +0100, Wei Liu wrote: > +CMD=${3:-git clean -fdx && ./configure && make -j4} > + > +echo "Running command \"$CMD\" on every commit from $BASE to $TIP" > +echo -n "Starting in " > + > +for i in `seq 5 -1 1`; do > +echo -n "$i ... " > +sleep 1 > +done > + I

Re: [Xen-devel] [PATCH v2 4/5] tools: libxendevicemodel: Provide xendevicemodel_add_to_physmap

2017-10-23 Thread Ian Jackson
Ross Lagerwall writes ("[PATCH v2 4/5] tools: libxendevicemodel: Provide xendevicemodel_add_to_physmap"): > Signed-off-by: Ross Lagerwall Assuming the hypervisor parts go in: Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org h

[Xen-devel] [PATCH v5.1 8/8] configure: do_compiler: Dump some extra info under bash [and 1 more messages]

2017-10-23 Thread Ian Jackson
Ian Jackson writes ("[PATCH v5.1 8/8] configure: do_compiler: Dump some extra info under bash"): > This makes it much easier to find a particular thing in config.log. > > The information may be lacking in other shells, resulting in harmless > empty output. (This is why we don't use the proper ${

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Julien Grall
Hi Wei, On 20/10/17 18:32, Wei Liu wrote: Signed-off-by: Wei Liu --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu Cc: Julien Grall The risk for this is zero, hence the for-4.10 tag. Ag

Re: [Xen-devel] [PATCH for-4.10] docs: update coverage.markdown

2017-10-23 Thread Julien Grall
On 20/10/17 18:08, Roger Pau Monné wrote: On Fri, Oct 20, 2017 at 05:30:41PM +0100, Wei Liu wrote: The coverage support in hypervisor is redone. Update the document. Signed-off-by: Wei Liu Adding Julien, although I'm not sure if doc changes also need a release-ack. Reviewed-by: Roger Pau

Re: [Xen-devel] [PATCH v2] libxc: remove stale error check for domain size in xc_sr_save_x86_hvm.c

2017-10-23 Thread Juergen Gross
On 06/10/17 15:30, Julien Grall wrote: > Hi, > > On 27/09/17 15:36, Wei Liu wrote: >> On Tue, Sep 26, 2017 at 02:02:56PM +0200, Juergen Gross wrote: >>> Long ago domains to be saved were limited to 1TB size due to the >>> migration stream v1 limitations which used a 32 bit value for the >>> PFN an

Re: [Xen-devel] [PATCH v3 2/7] xsm: flask: change the dummy xsm policy and flask hook for map_gmfn_foregin

2017-10-23 Thread Zhongze Liu
Hi Jan, 2017-10-23 15:26 GMT+08:00 Jan Beulich : On 22.10.17 at 13:21, wrote: >> How about changing the policy to (c over d) && ((d over t) || (c over t))? >> Given that (c over d) is a must, which is always checked somewhere higher >> in the call stack as Daniel pointed out, permitting (d

Re: [Xen-devel] [PATCH V3 28/29] x86/vvtd: Add queued invalidation (QI) support

2017-10-23 Thread Chao Gao
On Mon, Oct 23, 2017 at 09:57:16AM +0100, Roger Pau Monné wrote: >On Mon, Oct 23, 2017 at 03:50:24PM +0800, Chao Gao wrote: >> On Fri, Oct 20, 2017 at 12:20:06PM +0100, Roger Pau Monné wrote: >> >On Thu, Sep 21, 2017 at 11:02:09PM -0400, Lan Tianyu wrote: >> >> From: Chao Gao >> >> +} >> >> +

[Xen-devel] [PATCH v1] x86/vvmx: don't enable vmcs shadowing for nested guests

2017-10-23 Thread Sergey Dyasli
Running "./xtf_runner vvmx" in L1 Xen under L0 Xen produces the following result on H/W with VMCS shadowing: Test: vmxon Failure in test_vmxon_in_root_cpl0() Expected 0x820f: VMfailValid(15) VMXON_IN_ROOT Got 0x82004400: VMfailValid(17408) Test result: FAILURE Th

Re: [Xen-devel] Xen 4.9 is broken with last version of Win10

2017-10-23 Thread Paul Durrant
De-htmling... Moving to xen-users (xen-devel to bcc)... - From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of Berillions Sent: 21 October 2017 17:50 To: xen-devel@lists.xen.org Subject: [Xen-devel] Xen 4.9 is broken with last version of Win10 Hi guys, I send you this message

[Xen-devel] Ping: [PATCH RFC v2] x86/domctl: Don't pause the whole domain if only getting vcpu state

2017-10-23 Thread Alexandru Stefan ISAILA
Any thoughts appreciated. On Vi, 2017-10-06 at 13:02 +0300, Alexandru Isaila wrote: > This patch adds the hvm_save_one_cpu_ctxt() function. > It optimizes by only pausing the vcpu on all HVMSR_PER_VCPU save > callbacks where only data for one VCPU is required. > > Signed-off-by: Alexandru Isaila

[Xen-devel] [distros-debian-sid test] 72341: tolerable trouble: blocked/broken/fail/pass

2017-10-23 Thread Platform Team regression test user
flight 72341 distros-debian-sid real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/72341/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-armhf-sid-netboot-pygrub 1 build-check(1)blocked n/a build-arm64-pvops

[Xen-devel] [xen-unstable test] 115087: regressions - FAIL

2017-10-23 Thread osstest service owner
flight 115087 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/115087/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ws16-amd64 17 guest-stopfail REGR. vs. 114644 test-amd64-amd64-x

[Xen-devel] [PATCH v2 1/5] xen/mm: Make xenmem_add_to_physmap global

2017-10-23 Thread Ross Lagerwall
Make it global in preparation to be called by a new dmop. Signed-off-by: Ross Lagerwall --- Reviewed-by: Paul Durrant --- xen/common/memory.c | 5 ++--- xen/include/xen/mm.h | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/xen/common/memory.c b/xen/common/memory.c index

[Xen-devel] [PATCH v2 0/5] Add dmops to allow use of VGA with restricted QEMU

2017-10-23 Thread Ross Lagerwall
The recently added support for restricting QEMU prevents use of the VGA console. This series addresses that by adding a couple of new dmops. A corresponding patch for QEMU is needed to make use of the new dmops. Changes in v2: * Address Paul's comments - mainly making add_to_physmap operate on a

[Xen-devel] [PATCH v2 5/5] tools: libxendevicemodel: Provide xendevicemodel_pin_memory_cacheattr

2017-10-23 Thread Ross Lagerwall
Signed-off-by: Ross Lagerwall --- Acked-by: Ian Jackson Reviewed-by: Paul Durrant --- tools/libs/devicemodel/core.c | 19 +++ tools/libs/devicemodel/include/xendevicemodel.h | 14 ++ tools/libs/devicemodel/libxendevicemodel.map| 1 + 3 files c

[Xen-devel] [PATCH v2 4/5] tools: libxendevicemodel: Provide xendevicemodel_add_to_physmap

2017-10-23 Thread Ross Lagerwall
Signed-off-by: Ross Lagerwall --- Changed in v2: * Make it operate on a range. tools/libs/devicemodel/Makefile | 2 +- tools/libs/devicemodel/core.c | 21 + tools/libs/devicemodel/include/xendevicemodel.h | 15 +++ tools/libs/de

[Xen-devel] [PATCH v2 3/5] xen: Provide XEN_DMOP_pin_memory_cacheattr

2017-10-23 Thread Ross Lagerwall
Provide XEN_DMOP_pin_memory_cacheattr to allow a deprivileged QEMU to pin the caching type of RAM after moving the VRAM. It is equivalent to XEN_DOMCTL_pin_memory_cacheattr. Signed-off-by: Ross Lagerwall --- Changed in v2: * Check pad is 0. xen/arch/x86/hvm/dm.c | 18 +

[Xen-devel] [PATCH v2 2/5] xen: Provide XEN_DMOP_add_to_physmap

2017-10-23 Thread Ross Lagerwall
Provide XEN_DMOP_add_to_physmap, a limited version of XENMEM_add_to_physmap to allow a deprivileged QEMU to move VRAM when a guest programs its BAR. It is equivalent to XENMEM_add_to_physmap with space == XENMAPSPACE_gmfn_range. Signed-off-by: Ross Lagerwall --- Changed in v2: * Make it operate

Re: [Xen-devel] [PATCH V3 28/29] x86/vvtd: Add queued invalidation (QI) support

2017-10-23 Thread Roger Pau Monné
On Mon, Oct 23, 2017 at 03:50:24PM +0800, Chao Gao wrote: > On Fri, Oct 20, 2017 at 12:20:06PM +0100, Roger Pau Monné wrote: > >On Thu, Sep 21, 2017 at 11:02:09PM -0400, Lan Tianyu wrote: > >> From: Chao Gao > >> +} > >> + > >> +unmap_guest_page((void*)qinval_page); > >> +return ret; >

Re: [Xen-devel] [PATCH V3 28/29] x86/vvtd: Add queued invalidation (QI) support

2017-10-23 Thread Chao Gao
On Fri, Oct 20, 2017 at 12:20:06PM +0100, Roger Pau Monné wrote: >On Thu, Sep 21, 2017 at 11:02:09PM -0400, Lan Tianyu wrote: >> From: Chao Gao >> >> Queued Invalidation Interface is an expanded invalidation interface with >> extended capabilities. Hardware implementations report support for queu

Re: [Xen-devel] [PATCH for-next 3/3] x86/pv: Misc improvements to pv_destroy_gdt()

2017-10-23 Thread Jan Beulich
>>> On 19.10.17 at 17:47, wrote: > Hoist the l1e_from_pfn(zero_pfn, __PAGE_HYPERVISOR_RO) calculation out of the > loop, and switch the code over to using mfn_t. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH v7] x86/altp2m: Added xc_altp2m_set_mem_access_multi()

2017-10-23 Thread Razvan Cojocaru
On 23.10.2017 11:41, Jan Beulich wrote: On 23.10.17 at 10:34, wrote: > >> >> On 23.10.2017 11:10, Jan Beulich wrote: >> On 20.10.17 at 18:32, wrote: On 10/20/2017 07:15 PM, Wei Liu wrote: > On Mon, Oct 16, 2017 at 08:07:41PM +0300, Petre Pircalabu wrote: >> From: Razvan Coj

Re: [Xen-devel] [PATCH for-next 2/3] x86/pv: Use DIV_ROUND_UP() when converting between GDT entries and frames

2017-10-23 Thread Jan Beulich
>>> On 19.10.17 at 17:47, wrote: > Also consistently use use nr_frames, rather than mixing nr_pages with a > frames[] array. > > No functional change. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@

Re: [Xen-devel] [PATCH for-next 1/3] x86/pv: Move compat_set_gdt() to be beside do_set_gdt()

2017-10-23 Thread Jan Beulich
>>> On 19.10.17 at 17:47, wrote: > This also makes the do_update_descriptor() pair of functions adjacent. > > Purely code motion; no functional change. > > Signed-off-by: Andrew Cooper Acked-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@li

Re: [Xen-devel] [xen-unstable test] 115037: regressions - FAIL

2017-10-23 Thread Jan Beulich
>>> On 23.10.17 at 01:49, wrote: > flight 115037 xen-unstable real [real] > http://logs.test-lab.xenproject.org/osstest/logs/115037/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > test-amd64-i386-xl-qemuu-ws16-amd64 17 guest-st

Re: [Xen-devel] [PATCH v7] x86/altp2m: Added xc_altp2m_set_mem_access_multi()

2017-10-23 Thread Jan Beulich
>>> On 23.10.17 at 10:34, wrote: > > On 23.10.2017 11:10, Jan Beulich wrote: > On 20.10.17 at 18:32, wrote: >>> On 10/20/2017 07:15 PM, Wei Liu wrote: On Mon, Oct 16, 2017 at 08:07:41PM +0300, Petre Pircalabu wrote: > From: Razvan Cojocaru > > For the default EPT view we h

Re: [Xen-devel] [PATCH v7] x86/altp2m: Added xc_altp2m_set_mem_access_multi()

2017-10-23 Thread Razvan Cojocaru
On 23.10.2017 11:10, Jan Beulich wrote: On 20.10.17 at 18:32, wrote: >> On 10/20/2017 07:15 PM, Wei Liu wrote: >>> On Mon, Oct 16, 2017 at 08:07:41PM +0300, Petre Pircalabu wrote: From: Razvan Cojocaru For the default EPT view we have xc_set_mem_access_multi(), which is

Re: [Xen-devel] [PATCH for-4.10] scripts: add a script for build testing

2017-10-23 Thread Jan Beulich
>>> On 20.10.17 at 19:32, wrote: > --- /dev/null > +++ b/scripts/build-test.sh > @@ -0,0 +1,40 @@ > +#!/bin/sh > + > +# WARNING: Always backup the branch by creating another reference to it if > +# you're not familiar with git-rebase(1). > +# > +# Use `git rebase` to run command or script on every

  1   2   >