Re: [Xen-devel] [PATCH v1 01/13] xen/arm: domain: Zero the per-vCPU cpu_info

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > A stack is allocated per vCPU to be used by Xen. The allocation is done > with alloc_xenheap_pages that does not zero the memory returned. However > the top of the stack is containing information that will be used to > store the initial state of the vCPU

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

2018-06-11 Thread osstest service owner
flight 124064 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/124064/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 123871

Re: [Xen-devel] [PATCH v5 0/10] arm: more kconfig configurability and small default configs

2018-06-11 Thread Stefano Stabellini
On Wed, 6 Jun 2018, Jan Beulich wrote: > >>> On 05.06.18 at 19:52, wrote: > > > > > On 04/06/18 18:23, Stefano Stabellini wrote: > >> Hi all, > >> > >> This patch series is the first step toward building a small certifiable > >> Xen hypervisor for ARM boards. > >> > >> First, the series makes

Re: [Xen-devel] [PATCH v1 04/13] xen/arm: Add ARCH_WORKAROUND_2 probing

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > As for Spectre variant-2, we rely on SMCCC 1.1 to provide the discovery > mechanism for detecting the SSBD mitigation. > > A new capability is also allocated for that purpose, and a config > option. > > This is part of XSA-263. > > Signed-off-by: Julien

Re: [Xen-devel] [PATCH v1 06/13] xen/arm: Add ARCH_WORKAROUND_2 support for guests

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > In order to offer ARCH_WORKAROUND_2 support to guests, we need to track the > state of the workaround per-vCPU. The field 'pad' in cpu_info is now > repurposed to store flags easily accessible in assembly. > > As the hypervisor will always run with the

Re: [Xen-devel] [PATCH v1 10/13] xen/arm64: Implement a fast path for handling SMCCC_ARCH_WORKAROUND_2

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > The function ARM_SMCCC_ARCH_WORKAROUND_2 will be called by the guest for > enabling/disabling the ssbd mitigation. So we want the handling to > be as fast as possible. > > The new sequence will forward guest's ARCH_WORKAROUND_2 call to EL3 and > also

Re: [Xen-devel] [PATCH v1 05/13] xen/arm: Add command line option to control SSBD mitigation

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > On a system where the firmware implements ARCH_WORKAROUND_2, it may be > useful to either permanently enable or disable the workaround for cases > where the user decides that they'd rather not get a trap overhead, and > keep the mitigation permanently on

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

2018-06-11 Thread osstest service owner
flight 124066 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/124066/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-examine 8 reboot fail REGR. vs. 123554

Re: [Xen-devel] [PATCH v5 07/10] arm: add a tiny kconfig configuration

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > Hi Stefano, > > On 04/06/18 18:24, Stefano Stabellini wrote: > > Add a tiny kconfig configuration. Enabled NULL and Credit schedulers. > > Support only 8 cpus. It only carries non-default options (use make > > I don't see where 8 CPUs would only be

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

2018-06-11 Thread osstest service owner
flight 124074 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/124074/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 124058 version targeted for

Re: [Xen-devel] [PATCH v2 4/9] x86/vmx: Support remote access to the MSR lists

2018-06-11 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Saturday, June 9, 2018 2:49 AM > > At the moment, all modifications of the MSR lists are in current context. > However, future changes may need to put MSR_EFER into the lists from > domctl > hypercall context. > > Plumb a struct

Re: [Xen-devel] [PATCH v2 6/9] x86/vmx: Pass an MSR value into vmx_msr_add()

2018-06-11 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Saturday, June 9, 2018 2:49 AM > > The main purpose of this change is to allow us to set a specific MSR value, > without needing to know whether there is already a load/save list slot for it. > > Previously, callers wanting this

[Xen-devel] [PATCH] xen/scsiback: add error handling for xenbus_printf

2018-06-11 Thread Zhouyang Jia
When xenbus_printf fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling xenbus_printf. Signed-off-by: Zhouyang Jia --- drivers/xen/xen-scsiback.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git

[Xen-devel] [PATCH] scsi: xen-scsifront: add error handling for xenbus_printf

2018-06-11 Thread Zhouyang Jia
When xenbus_printf fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling xenbus_printf. Signed-off-by: Zhouyang Jia --- drivers/scsi/xen-scsifront.c | 31 --- 1 file changed, 24 insertions(+), 7

Re: [Xen-devel] [PATCH v5 04/10] Make MEM_ACCESS configurable

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > Hi, > > On 04/06/18 18:24, Stefano Stabellini wrote: > > Select MEM_ACCESS_ALWAYS_ON on x86 to mark that MEM_ACCESS is not > > configurable on x86. Avoid selecting it on ARM. > > Rename HAS_MEM_ACCESS to MEM_ACCESS everywhere. Add a prompt and a > >

Re: [Xen-devel] [PATCH v5 08/10] arm: add ALL, QEMU, Rcar3 and MPSoC configs

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > Hi Stefano, > > On 04/06/18 18:24, Stefano Stabellini wrote: > > Add a "Platform Support" choice with four kconfig options: QEMU, RCAR3, > > MPSOC and ALL. They enable the required options for their hardware > > platform. ALL enables all available

Re: [Xen-devel] [PATCH v2 8/9] x86/vmx: Support removing MSRs from the host/guest load/save lists

2018-06-11 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Saturday, June 9, 2018 2:49 AM > > Up until this point, the MSR load/save lists have only ever accumulated > content. Introduce vmx_del_msr() as a companion to vmx_add_msr(). > > Signed-off-by: Andrew Cooper Reviewd-by: Kevin

Re: [Xen-devel] [PATCH v2 7/9] x86/vmx: Support load-only guest MSR list entries

2018-06-11 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Saturday, June 9, 2018 2:49 AM > > Currently, the VMX_MSR_GUEST type maintains completely symmetric > guest load > and save lists, by pointing VM_EXIT_MSR_STORE_ADDR and > VM_ENTRY_MSR_LOAD_ADDR > at the same page, and setting

Re: [Xen-devel] [PATCH v2 5/9] x86/vmx: Improvements to LBR MSR handling

2018-06-11 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Saturday, June 9, 2018 2:49 AM > > The main purpose of this patch is to only ever insert the LBR MSRs into the > guest load/save list once, as a future patch wants to change the behaviour > of > vmx_add_guest_msr(). > > The

Re: [Xen-devel] [PATCH v1 07/13] xen/arm: Simplify alternative patching of non-writable region

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > During the MMU setup process, Xen will set SCTLR_EL2.WNX > (Write-Non-eXecutable) bit. Because of that, the alternative code need > to re-mapped the region in a difference place in order to modify the > text section. > > At the moment, the function

[Xen-devel] [linux-linus bisection] complete test-armhf-armhf-examine

2018-06-11 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-armhf-armhf-examine testid reboot 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: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen

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

2018-06-11 Thread osstest service owner
flight 124068 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/124068/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm 16 guest-localmigrate/x10 fail REGR. vs. 123987

[Xen-devel] [xen-4.9-testing baseline-only test] 74841: regressions - FAIL

2018-06-11 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74841 xen-4.9-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74841/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-debianhvm-amd64

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-11 Thread Stefano Stabellini
On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: > On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: > > On 06/08/2018 01:59 PM, Stefano Stabellini wrote: > > > > > > > > > >    @@ -325,6 +401,14 @@ static int map_grant_pages(struct > > > > > > > > > > grant_map > > > > > > > > > > *map) > > > >

Re: [Xen-devel] [PATCH v2 2/8] libxc: Provide access to internal handles

2018-06-11 Thread Roger Pau Monné
On Mon, Jun 11, 2018 at 03:13:18PM +0100, Ian Jackson wrote: > In order to support auditing of qemu depriv, my audit tool wants to > know the fd of a privcmd handle on which it can easily make > hypercalls. xencall provides such a handle, but has no cooked > facilities for making hypercalls. So

Re: [Xen-devel] [PATCH v2 7/8] tools/tests/depriv: Install depriv-fd-checker in our private libexec directory

2018-06-11 Thread Roger Pau Monné
On Mon, Jun 11, 2018 at 03:13:23PM +0100, Ian Jackson wrote: > osstest is going to want to call it, and should not be expected to > fish it out of the build tree. > > Signed-off-by: Ian Jackson Reviewed-by: Roger Pau Monné Thanks ___ Xen-devel

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-11 Thread Julien Grall
Hi, On 06/11/2018 06:16 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano Stabellini wrote:       @@ -325,6 +401,14 @@ static

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-11 Thread Oleksandr Andrushchenko
On 06/11/2018 08:46 PM, Julien Grall wrote: Hi, On 06/11/2018 06:16 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-11 Thread Julien Grall
Hi, On 06/11/2018 06:49 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 08:46 PM, Julien Grall wrote: Hi, On 06/11/2018 06:16 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM,

Re: [Xen-devel] [PATCH v2 3/8] tools: xencall, xengnttab, xengntshr: Provide access to internal fds

2018-06-11 Thread Ian Jackson
Roger Pau Monné writes ("Re: [PATCH v2 3/8] tools: xencall, xengnttab, xengntshr: Provide access to internal fds"): > On Mon, Jun 11, 2018 at 03:13:19PM +0100, Ian Jackson wrote: > > I want this to support my qemu depriv descriptor audit tool. > > > > Signed-off-by: Ian Jackson > > CC: Andrew

[Xen-devel] [xen-unstable baseline-only test] 74840: tolerable FAIL

2018-06-11 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74840 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74840/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-win7-amd64 17 guest-stopfail

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-11 Thread Julien Grall
Hi Stefano, On 06/11/2018 05:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano Stabellini wrote:    @@ -325,6 +401,14 @@ static int map_grant_pages(struct grant_map *map)   

Re: [Xen-devel] [PATCH v2 3/8] tools: xencall, xengnttab, xengntshr: Provide access to internal fds

2018-06-11 Thread Roger Pau Monné
On Mon, Jun 11, 2018 at 03:13:19PM +0100, Ian Jackson wrote: > I want this to support my qemu depriv descriptor audit tool. > > Signed-off-by: Ian Jackson > CC: Andrew Cooper Reviewed-by: Roger Pau Monné > diff --git a/tools/libs/call/libxencall.map b/tools/libs/call/libxencall.map > index

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-11 Thread Oleksandr Andrushchenko
On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano Stabellini wrote:    @@ -325,6 +401,14 @@ static int map_grant_pages(struct grant_map *map)   

Re: [Xen-devel] [PATCH v2 6/8] tools/tests: Allow a test subdir to have `install' and `uninstall' targets

2018-06-11 Thread Roger Pau Monné
On Mon, Jun 11, 2018 at 03:13:22PM +0100, Ian Jackson wrote: > Signed-off-by: Ian Jackson Reviewed-by: Roger Pau Monné Thanks ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

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

2018-06-11 Thread osstest service owner
flight 124055 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/124055/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-amd64 7 xen-bootfail REGR. vs. 122969

Re: [Xen-devel] [PATCH] xen/netfront: raise max number of slots in xennet_get_responses()

2018-06-11 Thread Boris Ostrovsky
On 06/11/2018 03:57 AM, Juergen Gross wrote: > The max number of slots used in xennet_get_responses() is set to > MAX_SKB_FRAGS + (rx->status <= RX_COPY_THRESHOLD). > > In old kernel-xen MAX_SKB_FRAGS was 18, while nowadays it is 17. This > difference is resulting in frequent messages "too many

Re: [Xen-devel] [xen-4.7-testing test] 123897: tolerable FAIL - PUSHED

2018-06-11 Thread Jan Beulich
>>> On 08.06.18 at 20:47, wrote: > flight 123897 xen-4.7-testing real [real] > http://logs.test-lab.xenproject.org/osstest/logs/123897/ > > Failures :-/ but no regressions. > > Tests which are failing intermittently (not blocking): > test-amd64-i386-libvirt-pair 23

Re: [Xen-devel] [PATCH 07/11] x86/xen: Add support for Hygon's Dhyana Family 18h processor

2018-06-11 Thread Jan Beulich
(heavily shrinking the Cc list) >>> On 09.06.18 at 15:23, wrote: > This patch enables the Xen Hypervisor support to Hygon > Family 18h CPU: > - Add Hygon support in Xen PMU arch init codes. > - Add Hygon support in PMU MSR read/write codes. > - Add Hygon support in read PMC codes. > >

[Xen-devel] [PATCH] xen/netfront: raise max number of slots in xennet_get_responses()

2018-06-11 Thread Juergen Gross
The max number of slots used in xennet_get_responses() is set to MAX_SKB_FRAGS + (rx->status <= RX_COPY_THRESHOLD). In old kernel-xen MAX_SKB_FRAGS was 18, while nowadays it is 17. This difference is resulting in frequent messages "too many slots" and a reduced network throughput for some

Re: [Xen-devel] [PATCH v2] multiboot2: clarify usage of the address tag

2018-06-11 Thread Roger Pau Monné
On Fri, Jun 08, 2018 at 12:39:28PM +0200, Daniel Kiper wrote: > On Fri, Jun 08, 2018 at 12:08:22PM +0200, Roger Pau Monné wrote: > > On Fri, Jun 08, 2018 at 11:35:52AM +0200, Daniel Kiper wrote: > > > On Thu, Jun 07, 2018 at 05:59:06PM +0200, Roger Pau Monne wrote: > > > > Add a note to spell out

Re: [Xen-devel] 4.11.0 RC1 panic

2018-06-11 Thread Jan Beulich
>>> On 10.06.18 at 18:32, wrote: > On Sun, Jun 10, 2018 at 09:38:17AM -0600, Jan Beulich wrote: >> What about L2 tables to be used in slot 3 of an L3 table? Aiui Xen won't >> allow >> them to be pinned, hence I'd expect there to be some special casing in your >> code. Considering no similar

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

2018-06-11 Thread osstest service owner
flight 124047 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/124047/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-examine 8 reboot fail REGR. vs. 123554

Re: [Xen-devel] 4.11.0 RC1 panic

2018-06-11 Thread Manuel Bouyer
On Mon, Jun 11, 2018 at 03:58:01AM -0600, Jan Beulich wrote: > >>> On 10.06.18 at 18:32, wrote: > > On Sun, Jun 10, 2018 at 09:38:17AM -0600, Jan Beulich wrote: > >> What about L2 tables to be used in slot 3 of an L3 table? Aiui Xen won't > >> allow > >> them to be pinned, hence I'd expect there

Re: [Xen-devel] [PATCH 2/2] VT-d: reconcile iommu_inclusive_mapping and iommu=dom0-strict

2018-06-11 Thread Roger Pau Monné
On Fri, Jun 08, 2018 at 04:30:30PM +0100, Paul Durrant wrote: > The documentation for the iommu_inclusive_mapping Xen command line option > states: > > "Use this to work around firmware issues providing incorrect RMRR entries" > > Unfortunately this workaround does not function correctly if the

Re: [Xen-devel] [PATCH 1/2] VT-d: re-phrase logic in vtd_set_hwdom_mapping() for clarity

2018-06-11 Thread Roger Pau Monné
On Fri, Jun 08, 2018 at 04:30:29PM +0100, Paul Durrant wrote: > diff --git a/docs/misc/xen-command-line.markdown > b/docs/misc/xen-command-line.markdown > index 8712a833a2..6beb28dada 100644 > --- a/docs/misc/xen-command-line.markdown > +++ b/docs/misc/xen-command-line.markdown > @@ -1212,8

Re: [Xen-devel] [PATCH 1/2] VT-d: re-phrase logic in vtd_set_hwdom_mapping() for clarity

2018-06-11 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 11 June 2018 11:31 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Kevin Tian ; > Stefano Stabellini ; Wei Liu ; > George Dunlap ; Andrew Cooper > ; Ian Jackson ; Tim > (Xen.org) ; Julien Grall ; Jan Beulich > > Subject: Re:

Re: [Xen-devel] [PATCH v2] multiboot2: clarify usage of the address tag

2018-06-11 Thread Daniel Kiper
On Mon, Jun 11, 2018 at 11:30:16AM +0200, Roger Pau Monné wrote: [...] > I think the following is clear enough: > > "Note: This information does not need to be provided if the kernel image is in > @sc{elf} format, but it must be provided if the image is in a.out format or in > some other format.

[Xen-devel] Problems with osstest "guest-localmigrate/x10"

2018-06-11 Thread Juergen Gross
While trying to reproduce the problem why EFAULT is sporadically returned when doing "xl save" of a HVM guest I happened to catch another bug: From time to time we have seen failures of test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm 16 guest-localmigrate/x10 where there seemed to be problems

Re: [Xen-devel] [PATCH] CODING_STYLE: discourage use of underscores where alternatives exist

2018-06-11 Thread George Dunlap
On Fri, Jun 8, 2018 at 7:27 AM, Jan Beulich wrote: On 07.06.18 at 23:21, wrote: >> On 07/06/2018 14:56, Jan Beulich wrote: >>> Underscores commonly require two keypresses while hyphen / dash requires >>> just one, and the visual separation effect of both is basically the same. >> >> I don't

Re: [Xen-devel] [PATCH] CODING_STYLE: discourage use of underscores where alternatives exist

2018-06-11 Thread George Dunlap
On 06/08/2018 07:27 AM, Jan Beulich wrote: On 07.06.18 at 23:21, wrote: >> On 07/06/2018 14:56, Jan Beulich wrote: >>> Underscores commonly require two keypresses while hyphen / dash requires >>> just one, and the visual separation effect of both is basically the same. >> >> I don't buy this

[Xen-devel] [PATCH v3] multiboot2: clarify usage of the address tag

2018-06-11 Thread Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header. Signed-off-by: Roger Pau Monné --- Cc: Daniel Kiper Cc: xen-devel@lists.xenproject.org --- Changes since v2: - Clarify that the address tag must be used if present. Changes since v1:

[Xen-devel] [libvirt test] 124060: regressions - FAIL

2018-06-11 Thread osstest service owner
flight 124060 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/124060/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 123814 build-i386-libvirt

Re: [Xen-devel] [PATCH 2/2] VT-d: reconcile iommu_inclusive_mapping and iommu=dom0-strict

2018-06-11 Thread Jan Beulich
>>> On 11.06.18 at 12:31, wrote: >> From: Roger Pau Monne >> Sent: 11 June 2018 11:26 >> On Fri, Jun 08, 2018 at 04:30:30PM +0100, Paul Durrant wrote: >> > --- a/xen/drivers/passthrough/iommu.c >> > +++ b/xen/drivers/passthrough/iommu.c >> > @@ -52,7 +52,7 @@ custom_param("iommu",

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-11 Thread Oleksandr Andrushchenko
On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano Stabellini wrote:    @@ -325,6 +401,14 @@ static int map_grant_pages(struct grant_map *map)    map->unmap_ops[i].handle = map->map_ops[i].handle;    if (use_ptemod)   

Re: [Xen-devel] [PATCH 2/4] libxc: Provide access to internal handles

2018-06-11 Thread Ian Jackson
Roger Pau Monné writes ("Re: [PATCH 2/4] libxc: Provide access to internal handles"): > On Mon, May 14, 2018 at 06:08:57PM +0100, Ian Jackson wrote: > > +struct xencall_handle *xc_interface_xcall_handle(xc_interface *xch); > > +struct xenforeignmemory_handle *xc_interface_fmem_handle(xc_interface

[Xen-devel] [PATCH v2 2/8] libxc: Provide access to internal handles

2018-06-11 Thread Ian Jackson
In order to support auditing of qemu depriv, my audit tool wants to know the fd of a privcmd handle on which it can easily make hypercalls. xencall provides such a handle, but has no cooked facilities for making hypercalls. So I open a libxc handle. That means I need to get the privcmd fd out

[Xen-devel] [PATCH v2 7/8] tools/tests/depriv: Install depriv-fd-checker in our private libexec directory

2018-06-11 Thread Ian Jackson
osstest is going to want to call it, and should not be expected to fish it out of the build tree. Signed-off-by: Ian Jackson --- v2: New patch --- tools/tests/depriv/Makefile | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tools/tests/depriv/Makefile

[Xen-devel] [PATCH v2 5/8] tools/tests/depriv: New test utility for deprivilege auditing

2018-06-11 Thread Ian Jackson
I have chosen to licence this utility as LGPL-v2.1-only, similar to other LGPL elements of the Xen tools, because it may want to be moved into or combined with osstest or some other project at some point in the future, so it wants a licence compatible with osstest's AGPLv3+. Signed-off-by: Ian

[Xen-devel] [PATCH v2 3/8] tools: xencall, xengnttab, xengntshr: Provide access to internal fds

2018-06-11 Thread Ian Jackson
I want this to support my qemu depriv descriptor audit tool. Signed-off-by: Ian Jackson CC: Andrew Cooper --- v2: Fix ABI breakage. --- tools/libs/call/core.c| 5 + tools/libs/call/include/xencall.h | 8 tools/libs/call/libxencall.map| 6 ++

[Xen-devel] [PATCH v2 8/8] tools/tests/depriv-fd-checker: Support checking of Linux tun devices

2018-06-11 Thread Ian Jackson
Signed-off-by: Ian Jackson --- v2: New patch --- tools/tests/depriv/depriv-fd-checker.c | 36 +- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/tools/tests/depriv/depriv-fd-checker.c b/tools/tests/depriv/depriv-fd-checker.c index 67a3674..e57390f

[Xen-devel] [PATCH v2 1/8] libxc: Drop declarations of osdep_privcmd_open and _close

2018-06-11 Thread Ian Jackson
These functions are no longer defined or used anywhere. The declarations should have been deleted when the definitions were. Signed-off-by: Ian Jackson Acked-by: Wei Liu Reviewed-by: Roger Pau Monné --- tools/libxc/xc_private.h | 3 --- 1 file changed, 3 deletions(-) diff --git

[Xen-devel] [PATCH for-4.12 v2 0/8] tools: Depriv fd checking, internal fd access

2018-06-11 Thread Ian Jackson
From: Ian Jackson This series provides the support in xen.git for auditing whether qemu file descriptors are deprivileged, as expected with libxl dm_restrict=1. The approach I have chosen is to fish the descriptors out of qemu (by using debugging facilities), and try to make hypercalls etc.

[Xen-devel] [PATCH v2 4/8] libxl: Provide better error message when qemu restrict user not found

2018-06-11 Thread Ian Jackson
Add mention of LIBXL_QEMU_USER_RANGE_BASE, in case that is what the user was intending. Cc: Anthony Perard Signed-off-by: Ian Jackson Acked-by: Wei Liu Reviewed-by: Roger Pau Monné --- tools/libxl/libxl_dm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[Xen-devel] [PATCH v2 6/8] tools/tests: Allow a test subdir to have `install' and `uninstall' targets

2018-06-11 Thread Ian Jackson
Signed-off-by: Ian Jackson --- v2: New patch --- tools/tests/Makefile | 7 ++- tools/tests/depriv/Makefile | 2 ++ tools/tests/mce-test/Makefile| 2 ++ tools/tests/mem-sharing/Makefile | 2 ++ tools/tests/xen-access/Makefile | 2 ++ tools/tests/xenstore/Makefile| 2

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

2018-06-11 Thread osstest service owner
flight 124052 xen-4.8-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/124052/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 6 kernel-build fail in 123844 REGR. vs. 123091 build-armhf

[Xen-devel] [PATCH] xen/altp2m: set access_required properly for all altp2ms

2018-06-11 Thread Razvan Cojocaru
For the hostp2m, access_required starts off as 0, then it can be set with xc_domain_set_access_required(). However, all the altp2ms set it to 1 on init, and ignore both the hostp2m and the hypercall. This patch sets access_required to the value from the hostp2m on altp2m init, and propagates the

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

2018-06-11 Thread osstest service owner
flight 124058 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/124058/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf a05a8a5aa17da4bc7144706a9931d68beec1a61f baseline version: ovmf

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

2018-06-11 Thread osstest service owner
flight 124057 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/124057/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 17 guest-stopfail like 124038 test-armhf-armhf-libvirt-xsm 14