[Xen-devel] [ovmf baseline-only test] 75047: tolerable FAIL

2018-08-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75047 ovmf real [real] http://osstest.xensource.com/osstest/logs/75047/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail like 75045

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

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

Re: [Xen-devel] [PATCH v2] xen/pv: Call get_cpu_address_sizes to set x86_virt/phys_bits

2018-08-06 Thread Boris Ostrovsky
On 08/06/2018 04:16 PM, Thomas Gleixner wrote: > On Mon, 6 Aug 2018, Boris Ostrovsky wrote: > >> x86 maintainers, this needs your ack please. > Reviewed-by: Thomas Gleixner > Thanks. Applied to for-linus-4.19 ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH] xen/biomerge: Use true and false for boolean values

2018-08-06 Thread Boris Ostrovsky
On 08/06/2018 07:42 AM, Juergen Gross wrote: > On 05/08/18 02:50, Gustavo A. R. Silva wrote: >> Return statements in functions returning bool should use true or false >> instead of an integer value. >> >> This code was detected with the help of Coccinelle. >> >> Signed-off-by: Gustavo A. R. Silva

[Xen-devel] [xen-unstable-smoke test] 125774: trouble: blocked/broken/pass

2018-08-06 Thread osstest service owner
flight 125774 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/125774/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken Regressions

Re: [Xen-devel] [PATCH v2] xen/pv: Call get_cpu_address_sizes to set x86_virt/phys_bits

2018-08-06 Thread Boris Ostrovsky
x86 maintainers, this needs your ack please. -boris On 07/24/2018 08:45 AM, M. Vefa Bicakci wrote: > Commit d94a155c59c9 ("x86/cpu: Prevent cpuinfo_x86::x86_phys_bits > adjustment corruption") has moved the query and calculation of the > x86_virt_bits and x86_phys_bits fields of the cpuinfo_x86

Re: [Xen-devel] [PATCH v2] xen/pv: Call get_cpu_address_sizes to set x86_virt/phys_bits

2018-08-06 Thread Thomas Gleixner
On Mon, 6 Aug 2018, Boris Ostrovsky wrote: > x86 maintainers, this needs your ack please. Reviewed-by: Thomas Gleixner ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [xen-unstable-smoke test] 125776: trouble: blocked/broken/pass

2018-08-06 Thread osstest service owner
flight 125776 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/125776/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken Regressions

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

2018-08-06 Thread osstest service owner
flight 125777 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/125777/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-armhf 6

Re: [Xen-devel] [PATCH v5 05/15] iommu: don't domain_crash() inside iommu_map/unmap_page()

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > Turn iommu_map/unmap_page() into straightforward wrappers that check > the iommu_iotlb_flush is also changed. > existence of the relevant iommu_op and call through to it. This makes them > usable

Re: [Xen-devel] [PATCH v5 09/15] vtd: add lookup_page method to iommu_ops

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > This patch adds a new method to the VT-d IOMMU implementation to find > the > MFN currently mapped by the specified BFN along with a wrapper function > in > generic IOMMU code to call the

[Xen-devel] [libvirt test] 125768: regressions - trouble: blocked/broken/fail/pass

2018-08-06 Thread osstest service owner
flight 125768 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/125768/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvopsbroken build-arm64-xsm

Re: [Xen-devel] [PATCH v5 12/15] x86: add iommu_op to enable modification of IOMMU mappings

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant > Sent: Saturday, August 4, 2018 1:22 AM > > This patch adds an iommu_op which checks whether it is possible or > safe for a domain to modify its own IOMMU mappings and, if so, creates > a rangeset to track modifications. Have to say that there might be a concept mismatch

Re: [Xen-devel] [PATCH v5 10/15] mm / iommu: include need_iommu() test in iommu_use_hap_pt()

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > The name 'iommu_use_hap_pt' suggests that that P2M table is in use as > the > domain's IOMMU pagetable which, prior to this patch, is not strictly true > since the macro did not test whether the

Re: [Xen-devel] [PATCH v5 04/15] iommu: push use of type-safe BFN and MFN into iommu_ops

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > This patch modifies the methods in struct iommu_ops to use type-safe BFN > and MFN. This follows on from the prior patch that modified the functions > exported in xen/iommu.h. > > Signed-off-by:

[Xen-devel] [RFC PATCH v2 03/17] libxl: Handle Linux stubdomain specific QEMU options.

2018-08-06 Thread Marek Marczykowski-Górecki
From: Eric Shelton This patch creates an appropriate command line for the QEMU instance running in a Linux-based stubdomain. NOTE: a number of items are not currently implemented for Linux-based stubdomains, such as: - save/restore - QMP socket - graphics output (e.g., VNC) Signed-off-by: Eric

[Xen-devel] [RFC PATCH v2 14/17] xenconsoled: deduplicate error handling

2018-08-06 Thread Marek Marczykowski-Górecki
Signed-off-by: Marek Marczykowski-Górecki --- tools/console/daemon/io.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c index c2c37dc..ea07442 100644 --- a/tools/console/daemon/io.c +++

Re: [Xen-devel] [PATCH v5 07/15] iommu: track reserved ranges using a rangeset

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > Ranges that should be considered reserved in the IOMMU are not > necessarily > limited to RMRRs. If iommu_inclusive_mapping is set then any frame > number > falling within an E820 reserved region

Re: [Xen-devel] [PATCH v5 11/15] mm / iommu: split need_iommu() into has_iommu_pt() and sync_iommu_pt()

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > The name 'need_iommu' is a little confusing as it suggests a domain needs > to use the IOMMU but something might not be set up yet, when in fact it > doesn't become true until IOMMU mappings for the

[Xen-devel] [xen-unstable-smoke test] 125778: trouble: blocked/broken/pass

2018-08-06 Thread osstest service owner
flight 125778 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/125778/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken Regressions

Re: [Xen-devel] [PATCH v5 02/15] iommu: introduce the concept of BFN...

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > ...meaning 'bus frame number' i.e. a frame number mapped in the IOMMU > rather than the MMU. > > This patch is a largely cosmetic change that substitutes the terms 'gfn' > and 'gaddr' for 'bfn' and

Re: [Xen-devel] [PATCH v4 22/32] libxl_qmp: Handle messages from QEMU

2018-08-06 Thread Anthony PERARD
On Mon, Aug 06, 2018 at 01:25:22PM +0200, Roger Pau Monné wrote: > On Fri, Aug 03, 2018 at 06:25:00PM +0100, Anthony PERARD wrote: > > On Thu, Aug 02, 2018 at 01:17:37PM +0200, Roger Pau Monné wrote: > > > On Fri, Jul 27, 2018 at 03:06:04PM +0100, Anthony PERARD wrote: > > > > diff --git

Re: [Xen-devel] [PATCH v2 2/5] iommu: introduce dom0-iommu option

2018-08-06 Thread Paul Durrant
> -Original Message- > From: Tian, Kevin [mailto:kevin.t...@intel.com] > Sent: 06 August 2018 04:19 > To: Roger Pau Monne ; Paul Durrant > > Cc: Jan Beulich ; Stefano Stabellini > ; Wei Liu ; George Dunlap > ; Andrew Cooper > ; Ian Jackson ; Tim > (Xen.org) ; Julien Grall ; Suravee >

[Xen-devel] [PATCH v20 1/2] common: add a new mappable resource type: XENMEM_resource_grant_table

2018-08-06 Thread Paul Durrant
This patch allows grant table frames to be mapped using the XENMEM_acquire_resource memory op. NOTE: This patch expands the on-stack mfn_list array in acquire_resource() but it is still small enough to remain on-stack. Signed-off-by: Paul Durrant --- Cc: Jan Beulich Cc: Andrew Cooper

[Xen-devel] [PATCH v20 2/2] tools/libxenctrl: use new xenforeignmemory API to seed grant table

2018-08-06 Thread Paul Durrant
A previous patch added support for priv-mapping guest resources directly (rather than having to foreign-map, which requires P2M modification for HVM guests). This patch makes use of the new API to seed the guest grant table unless the underlying infrastructure (i.e. privcmd) doesn't support it,

[Xen-devel] [PATCH v20 0/2] guest resource mapping (reprise)

2018-08-06 Thread Paul Durrant
These patches are the patches from my original resource mapping series that did not make it into 4.11. Paul Durrant (2): common: add a new mappable resource type: XENMEM_resource_grant_table tools/libxenctrl: use new xenforeignmemory API to seed grant table tools/libxc/include/xc_dom.h

Re: [Xen-devel] [PATCH] xen/biomerge: Use true and false for boolean values

2018-08-06 Thread Gustavo A. R. Silva
On 08/06/2018 06:42 AM, Juergen Gross wrote: > On 05/08/18 02:50, Gustavo A. R. Silva wrote: >> Return statements in functions returning bool should use true or false >> instead of an integer value. >> >> This code was detected with the help of Coccinelle. >> >> Signed-off-by: Gustavo A. R.

[Xen-devel] [RFC PATCH v2 17/17] libxl: use xenconsoled even for multiple stubdomain's consoles

2018-08-06 Thread Marek Marczykowski-Górecki
Since multiple consoles support was added to xenconsoled, use it for stubdomain. This makes it possible to have HVM without qemu in dom0 at al. As long as no other feature requiring qemu in dom0 is used, like VNC or qdisk. Signed-off-by: Marek Marczykowski-Górecki --- tools/libxl/libxl_dm.c | 7

[Xen-devel] [RFC PATCH v2 11/17] xenconsoled: add support for consoles using 'state' xenstore entry

2018-08-06 Thread Marek Marczykowski-Górecki
Add support for standard xenbus initialization protocol using 'state' xenstore entry. It will be necessary for secondary consoles. For consoles supporting it, read 'state' entry on the frontend and proceed accordingly - either init console or close it. When closing, make sure all the in-transit

[Xen-devel] [RFC PATCH v2 02/17] libxl: Add "stubdomain_version" to domain_build_info.

2018-08-06 Thread Marek Marczykowski-Górecki
From: Eric Shelton This enum gives the ability to select between a MiniOS-based QEMU traditional stub domain and a Linux-based QEMU upstream stub domain. To use the Linux-based stubdomain, the following two lines should be included in the appropriate xl.cfg file:

[Xen-devel] [RFC PATCH v2 04/17] libxl: Build the domain with a Linux based stubdomain

2018-08-06 Thread Marek Marczykowski-Górecki
From: Eric Shelton This will build a Linux-based stubdomain with QEMU upstream. Signed-off-by: Eric Shelton Simon: * use initramfs instead of disk with rootfs * don't initialize qmp (unused in Qubes) * Make libxl_domain_need_memory consistent with actual stubdoma build code (bugfix

[Xen-devel] [RFC PATCH v2 10/17] xenconsoled: install xenstore watch for all supported consoles

2018-08-06 Thread Marek Marczykowski-Górecki
Not only for the primary one (/local/domain//console path). Signed-off-by: Marek Marczykowski-Górecki --- tools/console/daemon/io.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c index 8dac279..4d4e223

[Xen-devel] [RFC PATCH v2 12/17] xenconsoled: make console_type->use_gnttab less confusing

2018-08-06 Thread Marek Marczykowski-Górecki
Before this commit 'use_gnttab' means xenconsoled should first try special GNTTAB_RESERVED_CONSOLE entry, and only then fallback to ring-ref xenstore entry (being gfn of actual ring). In case of secondary consoles, ring-ref entry contains grant table reference (not gfn of it), which makes the old

[Xen-devel] [RFC PATCH v2 15/17] xenconsoled: add support for non-pty output

2018-08-06 Thread Marek Marczykowski-Górecki
Handle 'output' xenstore entry, as qemu does. Right now support only few simple options: - "pty" (unchanged) - "file:path" (overwrite file) - "pipe:path" (read-write file/pipe) - "null" Also, when ever read() returns 0, stop reading from that source, instead of spinning in a loop. For now, in

[Xen-devel] [RFC PATCH v2 05/17] libxl: use xenstore for pci hotplug qemu-in-linux-stubdom commands

2018-08-06 Thread Marek Marczykowski-Górecki
From: Simon Gaiser There is no QMP socket access, re-use the same mechanism as for MiniOS based stubdom. Signed-off-by: Marek Marczykowski-Górecki --- tools/libxl/libxl_pci.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_pci.c

[Xen-devel] [RFC PATCH v2 00/17] Add support for qemu-xen runnning in a Linux-based stubdomain.

2018-08-06 Thread Marek Marczykowski-Górecki
General idea is to allow freely set device_model_version and device_model_stubdomain_override and choose the right options based on this choice. Also, allow to specific path to stubdomain kernel/ramdisk, for greater flexibility. Right now when qemu-xen in stubdomain is selected, it is assumed

[Xen-devel] [RFC PATCH v2 07/17] libxl: add save/restore support for qemu-xen in stubdomain

2018-08-06 Thread Marek Marczykowski-Górecki
Rely on a wrapper script in stubdomain to attach FD 3/4 of qemu to relevant consoles. Signed-off-by: Marek Marczykowski-Górecki Reviewed-by: Jason Andryuk --- tools/libxl/libxl_dm.c | 23 +++ tools/libxl/libxl_dom_suspend.c | 10 -- 2 files changed, 19

[Xen-devel] [RFC PATCH v2 16/17] libxl: access QMP socket via console for qemu-in-stubdomain

2018-08-06 Thread Marek Marczykowski-Górecki
Add support for talking with qemu in stubdomain via QMP connected to a console. Since a console doesn't have out of band connect/disconnect signaling, use (new) qmp_reset command at every connect, to force renegotiation. This commit doesn't deal with multiple users accessing the same console. For

[Xen-devel] [RFC PATCH v2 08/17] xl: add stubdomain related options to xl config parser

2018-08-06 Thread Marek Marczykowski-Górecki
Signed-off-by: Marek Marczykowski-Górecki Reviewed-by: Jason Andryuk --- docs/man/xl.cfg.pod.5.in | 23 +++ tools/xl/xl_parse.c | 7 +++ 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/docs/man/xl.cfg.pod.5.in b/docs/man/xl.cfg.pod.5.in index

[Xen-devel] [RFC PATCH v2 13/17] xenconsoled: add support for up to 3 secondary consoles

2018-08-06 Thread Marek Marczykowski-Górecki
Based on previous few commits, this adds basic support for multiple consoles in xenconsoled. A static number of them - up to 3 (+ one primary). Signed-off-by: Marek Marczykowski-Górecki --- I know this is awful, but everything else I can think of (real support for multiple consoles, dynamically

[Xen-devel] [RFC PATCH v2 09/17] libxl: use \x1b to separate qemu arguments for linux stubdomain

2018-08-06 Thread Marek Marczykowski-Górecki
This allows using arguments with spaces, like -append. Stubdomain side of this require "xenstore-client: Add option for raw in-/output" commit. Signed-off-by: Marek Marczykowski-Górecki Reviewed-by: Jason Andryuk --- tools/libxl/libxl_dm.c | 4 +++- 1 file changed, 3 insertions(+), 1

[Xen-devel] [RFC PATCH v2 01/17] libxl: fix qemu-trad cmdline for no sdl/vnc case

2018-08-06 Thread Marek Marczykowski-Górecki
When qemu is running in stubdomain, any attempt to initialize vnc/sdl there will crash it (on failed attempt to load a keymap from a file). If vfb is present, all those cases are skipped. But since b053f0c4c9e533f3d97837cf897eb920b8355ed3 "libxl: do not start dom0 qemu for stubdomain when not

[Xen-devel] [RFC PATCH v2 06/17] libxl: create vkb device only for guests with graphics output

2018-08-06 Thread Marek Marczykowski-Górecki
The forced vkb device is meant for better performance of qemu access (at least according to ebbd2561b4cefb299f0f68a88b2788504223de18 "libxl: Add a vkbd frontend/backend pair for HVM guests"), which isn't used if there is no configured channel to actually access that keyboard. One can still add

Re: [Xen-devel] [PATCH v5 03/15] iommu: make use of type-safe BFN and MFN in exported functions

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Saturday, August 4, 2018 1:22 AM > > This patch modifies the declaration of the entry points to the IOMMU > sub-system to use bfn_t and mfn_t in place of unsigned long. A subsequent > patch will similarly modify the methods in the

Re: [Xen-devel] [PATCH v5 06/15] public / x86: introduce __HYPERCALL_iommu_op

2018-08-06 Thread Tian, Kevin
> From: Paul Durrant > Sent: Saturday, August 4, 2018 1:22 AM > > This patch introduces the boilerplate for a new hypercall to allow a > domain to control IOMMU mappings for its own pages. > Whilst there is duplication of code between the native and compat entry > points which appears ripe for

Re: [Xen-devel] [PATCH v4 22/32] libxl_qmp: Handle messages from QEMU

2018-08-06 Thread Roger Pau Monné
On Mon, Aug 06, 2018 at 02:14:51PM +0100, Anthony PERARD wrote: > On Mon, Aug 06, 2018 at 01:25:22PM +0200, Roger Pau Monné wrote: > > On Fri, Aug 03, 2018 at 06:25:00PM +0100, Anthony PERARD wrote: > > > On Thu, Aug 02, 2018 at 01:17:37PM +0200, Roger Pau Monné wrote: > > > > On Fri, Jul 27, 2018

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

2018-08-06 Thread osstest service owner
flight 125743 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/125743/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64-pvops

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

2018-08-06 Thread osstest service owner
flight 125749 xen-4.7-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/125749/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvopsbroken build-arm64-xsm

Re: [Xen-devel] [PATCH] xen-blkfront: use true and false for boolean values

2018-08-06 Thread Jens Axboe
On 8/4/18 6:08 PM, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This code was detected with the help of Coccinelle. Applied, thanks. -- Jens Axboe ___

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

2018-08-06 Thread osstest service owner
flight 125742 xen-4.9-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/125742/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64 broken build-arm64-pvops

[Xen-devel] [qemu-mainline test] 125745: trouble: blocked/broken/fail/pass

2018-08-06 Thread osstest service owner
flight 125745 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/125745/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64 broken build-arm64-xsm

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

2018-08-06 Thread osstest service owner
flight 125747 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/125747/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64

[Xen-devel] [linux-4.14 test] 125536: regressions - FAIL

2018-08-06 Thread osstest service owner
flight 125536 linux-4.14 real [real] http://logs.test-lab.xenproject.org/osstest/logs/125536/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 broken in 125509

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

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

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

2018-08-06 Thread osstest service owner
flight 125544 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/125544/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail REGR. vs. 125183 Tests which are

Re: [Xen-devel] [PATCH v4 14/32] libxl_qmp: Implement fd callback and read data

2018-08-06 Thread Anthony PERARD
On Fri, Aug 03, 2018 at 05:24:52PM +0200, Roger Pau Monné wrote: > On Fri, Aug 03, 2018 at 03:32:09PM +0100, Anthony PERARD wrote: > > On Thu, Aug 02, 2018 at 11:56:11AM +0200, Roger Pau Monné wrote: > > > On Fri, Jul 27, 2018 at 03:05:56PM +0100, Anthony PERARD wrote: > > > > +/* The -1

[Xen-devel] [xen-unstable-smoke test] 125744: trouble: blocked/broken/pass

2018-08-06 Thread osstest service owner
flight 125744 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/125744/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken Regressions

[Xen-devel] [PATCH 3/4] xen/blkfront: reorder tests in xlblk_init()

2018-08-06 Thread Juergen Gross
In case we don't want pv block devices we should not test parameters for sanity and eventually print out error messages. So test precluding conditions before checking parameters. Signed-off-by: Juergen Gross --- drivers/block/xen-blkfront.c | 18 +- 1 file changed, 9

[Xen-devel] [PATCH] tools/kdd: work around gcc 8.1 bug

2018-08-06 Thread Wei Liu
Gcc 8.1 has a bug that causes kdd fail to build. Rewrite the code to work around that bug. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86827 Signed-off-by: Tim Deegan Signed-off-by: Wei Liu Tested-by: Wei Liu --- tools/debugger/kdd/kdd.c | 9 - 1 file changed, 4 insertions(+), 5

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

2018-08-06 Thread osstest service owner
flight 125761 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/125761/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 6 kernel-build fail REGR. vs. 125758 Tests which did not

[Xen-devel] [PATCH 1/4] xen/blkback: don't keep persistent grants too long

2018-08-06 Thread Juergen Gross
Persistent grants are allocated until a threshold per ring is being reached. Those grants won't be freed until the ring is being destroyed meaning there will be resources kept busy which might no longer be used. Instead of freeing only persistent grants until the threshold is reached add a

[Xen-devel] [PATCH 2/4] xen/blkfront: cleanup stale persistent grants

2018-08-06 Thread Juergen Gross
Add a periodic cleanup function to remove old persistent grants which are no longer in use on the backend side. This avoids starvation in case there are lots of persistent grants for a device which no longer is involved in I/O business. Signed-off-by: Juergen Gross ---

[Xen-devel] [freebsd-master test] 125762: regressions - trouble: blocked/fail

2018-08-06 Thread osstest service owner
flight 125762 freebsd-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/125762/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-freebsd 7 freebsd-buildfail REGR. vs. 125317 Tests which did

[Xen-devel] [PATCH 0/4] xen/blk: persistent grant rework

2018-08-06 Thread Juergen Gross
Persistent grants are used in the Xen's blkfront/blkback drivers to avoid mapping/unmapping of I/O buffers in the backend for each I/O. While this speeds up processing quite a bit there are problems related to persistent grants in some configurations: domains with multiple block devices making

[Xen-devel] [PATCH 4/4] xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring

2018-08-06 Thread Juergen Gross
pers_gnts_lock isn't being used anywhere. Remove it. Signed-off-by: Juergen Gross --- drivers/block/xen-blkback/common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h index 26710602d463..4b7747159c38 100644 ---

[Xen-devel] [ovmf baseline-only test] 75049: tolerable FAIL

2018-08-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75049 ovmf real [real] http://osstest.xensource.com/osstest/logs/75049/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail like 75047

Re: [Xen-devel] libxl__build_hvm type confusion

2018-08-06 Thread Roger Pau Monné
On Sat, Aug 04, 2018 at 08:25:18PM +0200, Marek Marczykowski-Górecki wrote: > Hi, > > libxl__domain_build calls libxl__build_hvm for both > LIBXL_DOMAIN_TYPE_HVM and LIBXL_DOMAIN_TYPE_PVH, but libxl__build_hvm > uses fields from b_info->u.hvm, which looks like invalid thing to do. > Should those

[Xen-devel] [distros-debian-sid test] 75048: tolerable FAIL

2018-08-06 Thread Platform Team regression test user
flight 75048 distros-debian-sid real [real] http://osstest.xensource.com/osstest/logs/75048/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-armhf-sid-netboot-pygrub 10 debian-di-install fail like 75026

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

2018-08-06 Thread osstest service owner
flight 125759 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/125759/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 6 kernel-build fail REGR. vs. 125758 Tests which did not

Re: [Xen-devel] [PATCH] xen/biomerge: Use true and false for boolean values

2018-08-06 Thread Juergen Gross
On 05/08/18 02:50, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This code was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Reviewed-by: Juergen Gross Juergen

Re: [Xen-devel] [PATCH v4 17/32] libxl_qmp: Parse JSON input from QMP

2018-08-06 Thread Roger Pau Monné
On Fri, Aug 03, 2018 at 04:33:31PM +0100, Anthony PERARD wrote: > On Thu, Aug 02, 2018 at 12:25:53PM +0200, Roger Pau Monné wrote: > > On Fri, Jul 27, 2018 at 03:05:59PM +0100, Anthony PERARD wrote: > > > +/* workaround strstr limitation */ > > > +ev->rx_buf[ev->buf_used] = '\0'; > > > >

Re: [Xen-devel] [PATCH] xen/blkfront: remove unused macros

2018-08-06 Thread Juergen Gross
On 06/08/18 13:34, Juergen Gross wrote: > Remove some macros not used anywhere. Meh, ignore that one, please. Doesn't belong to this series. Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

[Xen-devel] [xen-unstable-smoke test] 125772: trouble: blocked/broken/pass

2018-08-06 Thread osstest service owner
flight 125772 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/125772/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken Regressions

Re: [Xen-devel] xen-tools-4.4.4 (SLES11): Unexpected error:

2018-08-06 Thread George Dunlap
On Thu, Aug 2, 2018 at 1:13 PM, Ulrich Windl wrote: > Hi! > > WHen using "xm list test12 -l" that seems to be in pvgrub state, I get this > error: Unfortunately Xen 4.4 is long out of security support, and xm/xend was deprecated even in Xen 4.4. Have you tried using its replacement, xl?

Re: [Xen-devel] [PATCH 2/4] xen/blkfront: cleanup stale persistent grants

2018-08-06 Thread Roger Pau Monné
On Mon, Aug 06, 2018 at 01:34:01PM +0200, Juergen Gross wrote: > Add a periodic cleanup function to remove old persistent grants which > are no longer in use on the backend side. This avoids starvation in > case there are lots of persistent grants for a device which no longer > is involved in I/O

Re: [Xen-devel] [PATCH v4 31/32] libxl_disk: Cut libxl_cdrom_insert into step

2018-08-06 Thread Anthony PERARD
On Thu, Aug 02, 2018 at 05:50:52PM +0200, Roger Pau Monné wrote: > On Fri, Jul 27, 2018 at 03:06:13PM +0100, Anthony PERARD wrote: > Can you provide a comment explaining how is this supposed to work? The > current code is already quite convoluted IMO (maybe because I'm not > familiar with it), so

[Xen-devel] [ovmf baseline-only test] 75050: tolerable FAIL

2018-08-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 75050 ovmf real [real] http://osstest.xensource.com/osstest/logs/75050/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail like 75049

Re: [Xen-devel] [PATCH v4 23/32] libxl_qmp: Respond to QMP greeting

2018-08-06 Thread Anthony PERARD
On Thu, Aug 02, 2018 at 01:26:35PM +0200, Roger Pau Monné wrote: > On Fri, Jul 27, 2018 at 03:06:05PM +0100, Anthony PERARD wrote: > > Signed-off-by: Anthony PERARD > > --- > > tools/libxl/libxl_qmp.c | 36 ++-- > > 1 file changed, 30 insertions(+), 6 deletions(-)

Re: [Xen-devel] [PATCH 1/4] xen/blkback: don't keep persistent grants too long

2018-08-06 Thread Roger Pau Monné
On Mon, Aug 06, 2018 at 01:33:59PM +0200, Juergen Gross wrote: > Persistent grants are allocated until a threshold per ring is being > reached. Those grants won't be freed until the ring is being destroyed > meaning there will be resources kept busy which might no longer be > used. > > Instead of

Re: [Xen-devel] [PATCH v4 25/32] libxl_exec: Add libxl__spawn_initiate_failure

2018-08-06 Thread Anthony PERARD
On Thu, Aug 02, 2018 at 01:34:52PM +0200, Roger Pau Monné wrote: > On Fri, Jul 27, 2018 at 03:06:07PM +0100, Anthony PERARD wrote: > > This function can be use by user libxl__spawn_* when they setup a >^ used and remove user I meant user of libxl__spawn, so I'll

Re: [Xen-devel] [PATCH 3/4] xen/blkfront: reorder tests in xlblk_init()

2018-08-06 Thread Roger Pau Monné
On Mon, Aug 06, 2018 at 01:34:02PM +0200, Juergen Gross wrote: > In case we don't want pv block devices we should not test parameters > for sanity and eventually print out error messages. So test precluding > conditions before checking parameters. > > Signed-off-by: Juergen Gross Reviewed-by:

Re: [Xen-devel] [PATCH v4 30/32] libxl: Re-implement domain_suspend_device_model using libxl__ev_qmp

2018-08-06 Thread Anthony PERARD
On Thu, Aug 02, 2018 at 05:38:41PM +0200, Roger Pau Monné wrote: > On Fri, Jul 27, 2018 at 03:06:12PM +0100, Anthony PERARD wrote: > > + > > +if (qmp_ev_qemu_check_version(ev, 2, 11, 0)) > > +qmp_parameters_add_bool(gc, , "live", dsps->live); > > +QMP_PARAMETERS_SPRINTF(,

Re: [Xen-devel] [PATCH 4/4] xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring

2018-08-06 Thread Roger Pau Monné
On Mon, Aug 06, 2018 at 01:34:03PM +0200, Juergen Gross wrote: > pers_gnts_lock isn't being used anywhere. Remove it. That was likely a leftover from when the list of persistent grants was shared between rings. > Signed-off-by: Juergen Gross Reviewed-by: Roger Pau Monné Thanks, Roger.

Re: [Xen-devel] [PATCH v4 28/32] libxl_qmp: Store advertised QEMU version in libxl__ev_qmp

2018-08-06 Thread Anthony PERARD
On Thu, Aug 02, 2018 at 05:08:15PM +0200, Roger Pau Monné wrote: > On Fri, Jul 27, 2018 at 03:06:10PM +0100, Anthony PERARD wrote: > > This will be used in a later patch. > > > > Signed-off-by: Anthony PERARD > > --- > > tools/libxl/libxl_internal.h | 7 +++ > > tools/libxl/libxl_qmp.c

Re: [Xen-devel] [PATCH v2 2/5] iommu: introduce dom0-iommu option

2018-08-06 Thread Roger Pau Monné
On Mon, Aug 06, 2018 at 08:51:55AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Tian, Kevin [mailto:kevin.t...@intel.com] > > Sent: 06 August 2018 04:19 > > To: Roger Pau Monne ; Paul Durrant > > > > Cc: Jan Beulich ; Stefano Stabellini > > ; Wei Liu ; George Dunlap > > ;

Re: [Xen-devel] [PATCH] xen-blkfront: use true and false for boolean values

2018-08-06 Thread Roger Pau Monné
On Sat, Aug 04, 2018 at 07:08:59PM -0500, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This code was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Acked-by: Roger Pau Monné

Re: [Xen-devel] [PATCH v4 22/32] libxl_qmp: Handle messages from QEMU

2018-08-06 Thread Roger Pau Monné
On Fri, Aug 03, 2018 at 06:25:00PM +0100, Anthony PERARD wrote: > On Thu, Aug 02, 2018 at 01:17:37PM +0200, Roger Pau Monné wrote: > > On Fri, Jul 27, 2018 at 03:06:04PM +0100, Anthony PERARD wrote: > > > diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl > > > index

[Xen-devel] [PATCH] xen/blkfront: remove unused macros

2018-08-06 Thread Juergen Gross
Remove some macros not used anywhere. Signed-off-by: Juergen Gross --- drivers/block/xen-blkfront.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index b5cedccb5d7d..94300dbe358b 100644 --- a/drivers/block/xen-blkfront.c +++

Re: [Xen-devel] libxl__build_hvm type confusion

2018-08-06 Thread Marek Marczykowski-Górecki
On Mon, Aug 06, 2018 at 11:16:49AM +0200, Roger Pau Monné wrote: > On Sat, Aug 04, 2018 at 08:25:18PM +0200, Marek Marczykowski-Górecki wrote: > > Hi, > > > > libxl__domain_build calls libxl__build_hvm for both > > LIBXL_DOMAIN_TYPE_HVM and LIBXL_DOMAIN_TYPE_PVH, but libxl__build_hvm > > uses

[Xen-devel] [PATCH v1 1/4] xen/arm: drivers: scif: Remove unused #define-s

2018-08-06 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Signed-off-by: Oleksandr Tyshchenko CC: Stefano Stabellini CC: Julien Grall --- xen/drivers/char/scif-uart.c| 4 xen/include/asm-arm/scif-uart.h | 11 --- 2 files changed, 15 deletions(-) diff --git a/xen/drivers/char/scif-uart.c

[Xen-devel] [PATCH v1 0/4] Renesas Stout board support (R-Car Gen2)

2018-08-06 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Hi, all. The purpose of this patch series is to add required support to be able to run Xen on Renesas Stout board [1] which uses SCIFA compatible UART as a console interface. Actually Xen already has support for SCIF compatible UARTs which are used on Renesas Lager

[Xen-devel] [PATCH v1 2/4] xen/arm: drivers: scif: Add support for SCIFA compatible UARTs

2018-08-06 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Extend existing driver to be able to handle SCIFA interface as well. SCIF and SCIFA have lot in common, though SCIFA has different offsets and bits for some registers. Use compatible string to recognize what interface is present on a target board. Signed-off-by:

[Xen-devel] [PATCH v1 3/4] xen/arm: Add SCIFA UART support for early printk

2018-08-06 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Add support for Renesas "Stout" development board based on R-Car H2 SoC which has SCIFA compatible UART. Actually existing SCIF UART support (debug-scif.inc) and newly added SCIFA UART support (debug-scifa.inc) differ only in registers offsets. Signed-off-by:

[Xen-devel] [PATCH v1 4/4] xen/arm: Reuse R-Car Gen2 platform code for Stout board

2018-08-06 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Renesas "Stout" development board (with different expansion boards) is also based on R-Car Gen2 SoC. So extend compat array with board's compatible strings. Signed-off-by: Oleksandr Tyshchenko CC: Stefano Stabellini CC: Julien Grall ---

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

2018-08-06 Thread osstest service owner
flight 125753 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/125753/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvopsbroken build-arm64-xsm

Re: [Xen-devel] [PATCH 3/3] x86/spec-ctrl: Add support for modifying SSBD AMD VIA LS_CFG MSR

2018-08-06 Thread Brian Woods
On Thu, Aug 02, 2018 at 01:09:06AM -0600, Jan Beulich wrote: > >>> On 02.08.18 at 00:20, wrote: > > On Tue, Jul 31, 2018 at 05:25:27AM -0600, Jan Beulich wrote: > >> Code structure wise this looks to undo a fair part of what patch > >> 1 has done. It would be nice to limit code churn. > > > >

[Xen-devel] backport of XSA-274 patch to 4.9.x kernel (could use a review)

2018-08-06 Thread Chris Brannon
I just got the following patch from a colleague. It's a backport of the XSA 274 kernel patch to 4.9.x kernels. The kernel patch given in the XSA would not apply cleanly. Would someone mind reviewing it? It would be much appreciated. commit b3681dd548d06deb2e1573890829dff4b15abf46 upstream.