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

2017-04-28 Thread osstest service owner
flight 107882 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/107882/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-winxpsp3 6 xen-boot fail REGR. vs. 107819

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

2017-04-28 Thread osstest service owner
flight 107911 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/107911/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 107636 build-arm64-xsm

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

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

[Xen-devel] [seabios test] 107912: regressions - FAIL

2017-04-28 Thread osstest service owner
flight 107912 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/107912/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 15 guest-localmigrate/x10 fail REGR. vs. 106986

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

2017-04-28 Thread osstest service owner
flight 107913 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/107913/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 65ed9d7ff55ad5c149e713d73b8d52ee8cbce601 baseline version: ovmf

[Xen-devel] [libvirt bisection] complete build-armhf-libvirt

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

Re: [Xen-devel] [Qemu-devel] [RFC/BUG] xen-mapcache: buggy invalidate map cache?

2017-04-28 Thread Stefano Stabellini
On Thu, 13 Apr 2017, Herongguang (Stephen) wrote: > On 2017/4/13 7:51, Stefano Stabellini wrote: > > On Wed, 12 Apr 2017, Herongguang (Stephen) wrote: > > > On 2017/4/12 6:32, Stefano Stabellini wrote: > > > > On Tue, 11 Apr 2017, hrg wrote: > > > > > On Tue, Apr 11, 2017 at 3:50 AM, Stefano

[Xen-devel] [xen-unstable baseline-only test] 71240: regressions - trouble: blocked/broken/fail/pass

2017-04-28 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 71240 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71240/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 15

Re: [Xen-devel] [PATCH 07/10 v2] xen/arm: vpl011: Add support for vuart in xenconsole

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > Xenconsole supports only PV console currently. This patch adds support > for vuart, which allows emulated pl011 uart to be accessed as a console. > > This patch modifies different data structures and APIs used > in xenconsole to support two console

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

2017-04-28 Thread osstest service owner
flight 107879 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/107879/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 6 xen-boot fail REGR. vs. 107358 Tests which are

Re: [Xen-devel] [Qemu-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Eric Blake
On 04/28/2017 09:42 AM, Markus Armbruster wrote: > Eric Blake writes: > >> We want to track why a guest was shutdown; in particular, being able >> to tell the difference between a guest request (such as ACPI request) >> and host request (such as SIGINT) will prove useful to

Re: [Xen-devel] [PATCH 10/10 v2] xen/arm: vpl011: Update documentation for vuart console support

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > 1. Update documentation for vuart = "pl011" option added. > 2. Update documentation about SPI irq reserved for vpl011. > > Signed-off-by: Bhupinder Thakur > --- > docs/man/xl.cfg.pod.5.in | 8 >

Re: [Xen-devel] [PATCH 08/10 v2] xen/arm: vpl011: Add a new vuart console type to xenconsole client

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > Add a new console type VUART to connect to guest vuart. > > Signed-off-by: Bhupinder Thakur > --- > tools/console/client/main.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git

Re: [Xen-devel] [PATCH 06/10 v2] xen/arm: vpl011: Add vuart ring-buf and evtchn to xenstore

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > Add two new parameters to the xen store to be used by xenconsoled: > - newly allocated PFN to be used as IN/OUT ring buffer > - get a new event channel allocated by Xen using a domctl call > > These paramters are added to xenstore only if

Re: [Xen-devel] [PATCH 05/10 v2] xen/arm: vpl011: Allocate a new PFN in the toolstack for vuart

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > Allocate a new pfn and pass on to Xen using a domctl call. > > Signed-off-by: Bhupinder Thakur Reviewed-by: Stefano Stabellini > > Changes since v1: > - Replaced the hvm call with the domctl

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

2017-04-28 Thread osstest service owner
flight 107869 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/107869/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl 3 host-install(3) broken REGR. vs. 59254

Re: [Xen-devel] [PATCH 04/10 v2] xen/arm: vpl011: Add support for vuart in libxl

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > An option is provided in libxl to enable/disable pl011 vuart while > creating a guest domain. > > Libxl now suppots a generic vuart console and pl011 is a specific type. > In future support can be added for multiple vuart of different types. > >

[Xen-devel] [qemu-mainline bisection] complete build-arm64-xsm

2017-04-28 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-arm64-xsm testid xen-build 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.qemu.org/qemu.git Bug introduced:

Re: [Xen-devel] [PATCH v3 0/2][XTF] xtf/vpmu VPMU tests

2017-04-28 Thread Mohit Gambhir
On 04/25/2017 02:50 PM, Andrew Cooper wrote: On 24/04/17 18:54, Mohit Gambhir wrote: Mohit Gambhir (2): xtf/vpmu: Add Intel PMU MSR addresses xtf/vpmu: MSR read/write tests for VPMU arch/x86/include/arch/msr-index.h | 11 + tests/vpmu/Makefile | 9 +

Re: [Xen-devel] [PATCH 02/10 v2] xen/arm: vpl011: Add new vuart domctl interface to setup pfn and evtchn

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > 1. Add two new domctl API to: > - Allocate a new event channel for sending/receiving events to/from Xen. > - Map the PFN allocted by the toolstack to be used as IN/OUT ring buffers. > > Xen will communicate with xenconsole over the ring

Re: [Xen-devel] [PATCH 03/10 v2] xen/arm: vpl011: Enable pl011 emulation for a guest domain in Xen

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > Vpl011 emulation is enabled for a guest domain in Xen only when it is > enabled through an option in libxl provided by the user through > guest configuration. > > The pl011 enable/disable knob in libxl is introduced in the following > patch: > >

Re: [Xen-devel] [PATCH 01/10 v2] xen/arm: vpl011: Add pl011 uart emulation in Xen

2017-04-28 Thread Stefano Stabellini
On Fri, 28 Apr 2017, Bhupinder Thakur wrote: > Add emulation code to emulate read/write access to pl011 registers > and pl011 interrupts: > > - Emulate DR read/write by reading and writing from/to the IN > and OUT ring buffers and raising an event to the backend when > there is

[Xen-devel] [PATCH v2 1/2] xtf/vpmu: Add Intel PMU MSR addresses

2017-04-28 Thread Mohit Gambhir
This patch adds Intel PMU MSR addresses as macros for VPMU testing Signed-off-by: Mohit Gambhir --- arch/x86/include/arch/msr-index.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/x86/include/arch/msr-index.h

[Xen-devel] [PATCH v2 2/2] xtf/vpmu: MSR read/write tests for VPMU

2017-04-28 Thread Mohit Gambhir
This patch tests VPMU functionality in the hypervisor on Intel machines. The tests write to all valid bits in the MSRs that get exposed to the guests when VPMU is enabled. The tests also write invalid values to the bits that should be masked and expect the wrmsr call to fault. The tests are

[Xen-devel] [PATCH v2 0/2] xtf/vpmu VPMU tests

2017-04-28 Thread Mohit Gambhir
v2: Incorporated review comments received on patch v1. + Changed test type from utility to functional + Test is now defined only for hvm64 and hvm32 instead of ALL_ENVIRONMENTS + Several code styling and formatting changes + Expanded test description for doxygen + Added max_leaf check before

Re: [Xen-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > On 04/28/2017 11:09 AM, Dr. David Alan Gilbert wrote: > > >>> At a higher level, using your tags, I'm not sure where a reset triggered > >>> by a fault detected by the hypervisor lives - e.g. an x86 triple fault > >>> where the guest screws up so badly

Re: [Xen-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Eric Blake
On 04/28/2017 11:09 AM, Dr. David Alan Gilbert wrote: >>> At a higher level, using your tags, I'm not sure where a reset triggered >>> by a fault detected by the hypervisor lives - e.g. an x86 triple fault >>> where the guest screws up so badly that it just gets reset. Is >>> that a guest-reset

Re: [Xen-devel] [PATCH] xen: Revert commits da72ff5bfcb0 and 72a9b186292d

2017-04-28 Thread Juergen Gross
On 24/04/17 21:04, Boris Ostrovsky wrote: > Recent discussion (http://marc.info/?l=xen-devel=149192184523741) > established that commit 72a9b186292d ("xen: Remove event channel > notification through Xen PCI platform device") (and thus commit > da72ff5bfcb0 ("partially revert "xen: Remove event

Re: [Xen-devel] [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP

2017-04-28 Thread Juergen Gross
On 26/04/17 15:42, Boris Ostrovsky wrote: > Recent code rework that split handling ov PV, HVM and PVH guests into > separate files missed calling xen_smp_intr_init_pv() on CPU0. > > Add this call. > > Signed-off-by: Boris Ostrovsky > Reported-by: Sander Eikelenboom

Re: [Xen-devel] [PATCH 1/3 v2] xen: Export xen_reboot

2017-04-28 Thread Juergen Gross
On 25/04/17 06:02, Juergen Gross wrote: > On 24/04/17 20:21, Boris Ostrovsky wrote: >> On 04/24/2017 01:58 PM, Julien Grall wrote: >>> The helper xen_reboot will be called by the EFI code in a later patch. >>> >>> Note that the ARM version does not yet exist and will be added in a >>> later patch

[Xen-devel] [xen-unstable-smoke test] 107904: tolerable trouble: broken/pass - PUSHED

2017-04-28 Thread osstest service owner
flight 107904 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/107904/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-xl-xsm 1 build-check(1) blocked n/a test-amd64-amd64-libvirt 12

Re: [Xen-devel] Xen 4.9.0 RC3

2017-04-28 Thread Pry Mar
Hello, the tarball has not been uploaded to the URL in the mail. Its 4pm BST when I send this, so maybe there is still time before everyone leaves for the weekend. Is it possible to post an xz tarball with a Debian delta naming scheme? Something like: xen_4.9~rc3.orig.tar.xz thanks, PryMar56

Re: [Xen-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > On 04/28/2017 10:27 AM, Dr. David Alan Gilbert wrote: > > +# Enumeration of various causes for shutdown. > +# > +# @host-qmp: Reaction to a QMP command, such as 'quit' > +# @host-signal: Reaction to a signal, such as SIGINT > +#

[Xen-devel] [PATCH 08/10 v2] xen/arm: vpl011: Add a new vuart console type to xenconsole client

2017-04-28 Thread Bhupinder Thakur
Add a new console type VUART to connect to guest vuart. Signed-off-by: Bhupinder Thakur --- tools/console/client/main.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/console/client/main.c b/tools/console/client/main.c index

[Xen-devel] [PATCH 00/10 v2] pl011 emulation support in Xen

2017-04-28 Thread Bhupinder Thakur
PL011 emulation for guests in Xen === Linaro has published VM System specification for ARM Processors, which provides a set of guidelines for both guest OS and hypervisor implementations, such that building OS images according to these guidelines guarantees that

[Xen-devel] [PATCH 10/10 v2] xen/arm: vpl011: Update documentation for vuart console support

2017-04-28 Thread Bhupinder Thakur
1. Update documentation for vuart = "pl011" option added. 2. Update documentation about SPI irq reserved for vpl011. Signed-off-by: Bhupinder Thakur --- docs/man/xl.cfg.pod.5.in | 8 docs/misc/console.txt| 14 +- 2 files changed, 21

[Xen-devel] [PATCH 09/10 v2] xen/arm: vpl011: Add a pl011 uart DT node in the guest device tree

2017-04-28 Thread Bhupinder Thakur
The SBSA uart node format is as specified in Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt and given below: ARM SBSA defined generic UART -- This UART uses a subset of the PL011 registers and consequently lives in the PL011 driver. It's baudrate and other

[Xen-devel] [PATCH 07/10 v2] xen/arm: vpl011: Add support for vuart in xenconsole

2017-04-28 Thread Bhupinder Thakur
Xenconsole supports only PV console currently. This patch adds support for vuart, which allows emulated pl011 uart to be accessed as a console. This patch modifies different data structures and APIs used in xenconsole to support two console types: PV and VUART. Change summary: 1. Split the

[Xen-devel] [PATCH 06/10 v2] xen/arm: vpl011: Add vuart ring-buf and evtchn to xenstore

2017-04-28 Thread Bhupinder Thakur
Add two new parameters to the xen store to be used by xenconsoled: - newly allocated PFN to be used as IN/OUT ring buffer - get a new event channel allocated by Xen using a domctl call These paramters are added to xenstore only if vuart console is enabled by the user. Signed-off-by:

[Xen-devel] [PATCH 04/10 v2] xen/arm: vpl011: Add support for vuart in libxl

2017-04-28 Thread Bhupinder Thakur
An option is provided in libxl to enable/disable pl011 vuart while creating a guest domain. Libxl now suppots a generic vuart console and pl011 is a specific type. In future support can be added for multiple vuart of different types. User can enable pl011 vuart by adding the following line in

[Xen-devel] [PATCH 03/10 v2] xen/arm: vpl011: Enable pl011 emulation for a guest domain in Xen

2017-04-28 Thread Bhupinder Thakur
Vpl011 emulation is enabled for a guest domain in Xen only when it is enabled through an option in libxl provided by the user through guest configuration. The pl011 enable/disable knob in libxl is introduced in the following patch: xen/arm: vpl011: Add support for vuart in libxl Signed-off-by:

[Xen-devel] [PATCH 01/10 v2] xen/arm: vpl011: Add pl011 uart emulation in Xen

2017-04-28 Thread Bhupinder Thakur
Add emulation code to emulate read/write access to pl011 registers and pl011 interrupts: - Emulate DR read/write by reading and writing from/to the IN and OUT ring buffers and raising an event to the backend when there is data in the OUT ring buffer and injecting an interrupt

[Xen-devel] [PATCH 05/10 v2] xen/arm: vpl011: Allocate a new PFN in the toolstack for vuart

2017-04-28 Thread Bhupinder Thakur
Allocate a new pfn and pass on to Xen using a domctl call. Signed-off-by: Bhupinder Thakur --- Changes since v1: - Replaced the hvm call with the domctl call to set the pfn. tools/libxc/include/xc_dom.h | 2 ++ tools/libxc/xc_dom_arm.c | 7 ++-

[Xen-devel] [PATCH 02/10 v2] xen/arm: vpl011: Add new vuart domctl interface to setup pfn and evtchn

2017-04-28 Thread Bhupinder Thakur
1. Add two new domctl API to: - Allocate a new event channel for sending/receiving events to/from Xen. - Map the PFN allocted by the toolstack to be used as IN/OUT ring buffers. Xen will communicate with xenconsole over the ring buffer and the event channel to transmit and receive pl011

Re: [Xen-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Eric Blake
On 04/28/2017 10:27 AM, Dr. David Alan Gilbert wrote: +# Enumeration of various causes for shutdown. +# +# @host-qmp: Reaction to a QMP command, such as 'quit' +# @host-signal: Reaction to a signal, such as SIGINT +# @host-ui: Reaction to a UI event, such as closing the

[Xen-devel] [seabios test] 107891: regressions - FAIL

2017-04-28 Thread osstest service owner
flight 107891 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/107891/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5 xen-buildfail REGR. vs. 106986 build-amd64

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

2017-04-28 Thread osstest service owner
flight 107884 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/107884/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 107636 build-arm64-xsm

Re: [Xen-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > On 04/28/2017 03:08 AM, Dr. David Alan Gilbert wrote: > > * Eric Blake (ebl...@redhat.com) wrote: > >> We want to track why a guest was shutdown; in particular, being able > >> to tell the difference between a guest request (such as ACPI request) > >> and

Re: [Xen-devel] [Qemu-devel] [PATCH v5 3/4] shutdown: Add source information to SHUTDOWN and RESET

2017-04-28 Thread Markus Armbruster
Eric Blake writes: > Libvirt would like to be able to distinguish between a SHUTDOWN > event triggered solely by guest request and one triggered by a > SIGTERM or other action on the host. While qemu_kill_report() is > already able to tell whether a shutdown was triggered by

Re: [Xen-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Eric Blake
On 04/28/2017 03:08 AM, Dr. David Alan Gilbert wrote: > * Eric Blake (ebl...@redhat.com) wrote: >> We want to track why a guest was shutdown; in particular, being able >> to tell the difference between a guest request (such as ACPI request) >> and host request (such as SIGINT) will prove useful to

Re: [Xen-devel] [Qemu-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Markus Armbruster
"Dr. David Alan Gilbert" writes: > * Eric Blake (ebl...@redhat.com) wrote: >> We want to track why a guest was shutdown; in particular, being able >> to tell the difference between a guest request (such as ACPI request) >> and host request (such as SIGINT) will prove useful

Re: [Xen-devel] [Qemu-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Markus Armbruster
Eric Blake writes: > We want to track why a guest was shutdown; in particular, being able > to tell the difference between a guest request (such as ACPI request) > and host request (such as SIGINT) will prove useful to libvirt. > Since all requests eventually end up changing

[Xen-devel] Xen 4.9.0 RC3

2017-04-28 Thread Ian Jackson
Xen 4.9.0 RC3 is now available. You can check it out from xen.git: git://xenbits.xen.org/xen.git#4.9.0-rc3 For your convenience there is also a tarball and singautre at: https://downloads.xenproject.org/release/xen/4.9.0-rc3/xen-4.9.0-rc3.tar.gz

[Xen-devel] [xen-unstable test] 107840: tolerable FAIL - PUSHED

2017-04-28 Thread osstest service owner
flight 107840 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/107840/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-credit2 15 guest-start/debian.repeat fail in 107791 pass in 107840 test-armhf-armhf-xl

Re: [Xen-devel] [PATCH] x86emul: correct stub invocation constraints again

2017-04-28 Thread Ian Jackson
Jan Beulich writes ("[PATCH] x86emul: correct stub invocation constraints again"): > While the hypervisor side of commit cd91ab08ea ("x86emul: correct stub > invocation constraints") was fine, the tools side triggered a bogus > error with old gcc (4.3 and 4.4 at least). Use a slightly less >

[Xen-devel] [OSSTEST PATCH] ts-libvirt-build: Cope with keycodemapdb submodule

2017-04-28 Thread Ian Jackson
libvirt.git#02fb15f introduces this new submodule. Submodules are awkward, and we need them to be explicitly listed. So add keycodemapdb to the submodulemap in ts-libvirt-build. Reported-by: Wei Liu Signed-off-by: Ian Jackson ---

[Xen-devel] [libvirt bisection] complete build-amd64-libvirt

2017-04-28 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-amd64-libvirt testid libvirt-build Tree: libvirt git://libvirt.org/libvirt.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and

Re: [Xen-devel] [PATCH for-next v3 09/12] x86/domain: move PV specific code to pv/domain.c

2017-04-28 Thread Wei Liu
On Fri, Apr 28, 2017 at 06:24:04AM -0600, Jan Beulich wrote: > >>> On 28.04.17 at 12:54, wrote: > > Since this is the last unacked patch I'm only sending the updated > > version here. > > Sure, > Reviewed-by: Jan Beulich > with one minor remaining thing I

Re: [Xen-devel] [PATCH] kexec: Provide user friendly option for memory limit

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 13:01, wrote: > From 0f61898acaeb2b34ee8156ebd40bb82fef28ff5f Mon Sep 17 00:00:00 2001 > From: Simon Crowe > Date: Fri, 28 Apr 2017 10:46:43 + > Subject: [PATCH] kexec: Provide user friendly option for memory limit > > grub2

Re: [Xen-devel] [PATCH for-next v3 09/12] x86/domain: move PV specific code to pv/domain.c

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 12:54, wrote: > Since this is the last unacked patch I'm only sending the updated > version here. Sure, Reviewed-by: Jan Beulich with one minor remaining thing I did overlook in v3: > --- /dev/null > +++ b/xen/arch/x86/pv/domain.c > @@

[Xen-devel] [seabios test] 107880: regressions - FAIL

2017-04-28 Thread osstest service owner
flight 107880 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/107880/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5 xen-buildfail REGR. vs. 106986 build-amd64

[Xen-devel] [PATCH] kexec: Provide user friendly option for memory limit

2017-04-28 Thread Simon Crowe
>From 0f61898acaeb2b34ee8156ebd40bb82fef28ff5f Mon Sep 17 00:00:00 2001 From: Simon Crowe Date: Fri, 28 Apr 2017 10:46:43 + Subject: [PATCH] kexec: Provide user friendly option for memory limit grub2 requires that the '<' character be escaped which is inconvienet for

Re: [Xen-devel] [PATCH for-next v3 09/12] x86/domain: move PV specific code to pv/domain.c

2017-04-28 Thread Wei Liu
On Fri, Apr 28, 2017 at 02:47:30AM -0600, Jan Beulich wrote: > >>> On 26.04.17 at 17:54, wrote: > > --- a/xen/include/asm-x86/domain.h > > +++ b/xen/include/asm-x86/domain.h > > @@ -655,6 +655,9 @@ static inline void pv_inject_page_fault(int errcode, > > unsigned long cr2) >

Re: [Xen-devel] [PATCH v2] x86/mm: also flush TLB when putting writable foreign page reference

2017-04-28 Thread Jan Beulich
>>> On 27.04.17 at 11:51, wrote: > At 03:23 -0600 on 27 Apr (1493263380), Jan Beulich wrote: >> ... it wouldn't better be the other way around: We use the patch >> in its current (or even v1) form, and try to do something about >> performance only if we really find a case where it

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

2017-04-28 Thread Ian Jackson
Jan Beulich writes ("Re: [Xen-devel] [xen-unstable test] 107791: regressions - FAIL"): > I don't suppose there is any memory sharing being set up for any > tests in osstest, Indeed, there isn't. Ian. ___ Xen-devel mailing list

Re: [Xen-devel] [RFC PATCH 2/9] iommu: Add ability to map/unmap the number of pages

2017-04-28 Thread Oleksandr Tyshchenko
On Fri, Apr 28, 2017 at 1:29 PM, Jan Beulich wrote: On 28.04.17 at 12:16, wrote: >> On Fri, Apr 28, 2017 at 9:23 AM, Jan Beulich wrote: >>> >>> On 27.04.17 at 18:56, wrote: >>> > 2.

Re: [Xen-devel] [PATCH] kexec: Provide user friendly option for memory limit

2017-04-28 Thread Simon Crowe
Jan Ok i will make the change and resubmit Thanks again Regards On Fri, Apr 28, 2017 at 11:37 AM +0100, "Jan Beulich" > wrote: >>> On 27.04.17 at 14:22, wrote: > @@ -162,6 +166,10 @@ static void __init parse_crashkernel(const char *str) >

Re: [Xen-devel] [PATCH] kexec: Provide user friendly option for memory limit

2017-04-28 Thread Jan Beulich
>>> On 27.04.17 at 14:22, wrote: > @@ -162,6 +166,10 @@ static void __init parse_crashkernel(const char *str) > kexec_crash_area.start = parse_size_and_unit(cur = str + 1, > ); > else if ( *str == '<' ) > kexec_crash_area_limit =

Re: [Xen-devel] [RFC PATCH 2/9] iommu: Add ability to map/unmap the number of pages

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 12:16, wrote: > On Fri, Apr 28, 2017 at 9:23 AM, Jan Beulich wrote: >> >>> On 27.04.17 at 18:56, wrote: >> > 2. xen/drivers/passthrough/vtd/x86/vtd.c:143: >> > ... >> > tmp = 1 << (PAGE_SHIFT - PAGE_SHIFT_4K); >> >

Re: [Xen-devel] [RFC PATCH 2/9] iommu: Add ability to map/unmap the number of pages

2017-04-28 Thread Oleksandr Tyshchenko
Hi, Jan. Thank you for your reply. On Fri, Apr 28, 2017 at 9:23 AM, Jan Beulich wrote: > > >>> On 27.04.17 at 18:56, wrote: > > Now I am trying to replace single-page stuff with the multi-page one. > > Currently, with the single-page API, if map fails we

Re: [Xen-devel] superpages lost after migration of HVM domU

2017-04-28 Thread Olaf Hering
On Wed, Apr 26, Andrew Cooper wrote: > On 26/04/17 16:43, Olaf Hering wrote: > > On Thu, Apr 20, Jan Beulich wrote: > > > > On 20.04.17 at 18:04, wrote: > >>> On Thu, Apr 20, Andrew Cooper wrote: > >>> > As it currently stands, the sending side iterates from 0 to

Re: [Xen-devel] [PATCH for-4.9 v2] hvm/vpt: fix inconsistent views of vIOAPIC in vmx_intr_assist()

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 11:09, wrote: > On Fri, Apr 28, 2017 at 02:36:11AM -0600, Jan Beulich wrote: > On 27.04.17 at 04:47, wrote: >>> --- a/xen/include/asm-x86/hvm/vpt.h >>> +++ b/xen/include/asm-x86/hvm/vpt.h >>> @@ -46,6 +46,12 @@ struct periodic_time {

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

2017-04-28 Thread osstest service owner
flight 107841 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/107841/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-buildfail REGR. vs. 107636 build-arm64-xsm

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

2017-04-28 Thread osstest service owner
flight 107851 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/107851/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-libvirt 5 libvirt-buildfail REGR. vs. 107640 build-i386-libvirt

[Xen-devel] [PATCH] kexec: Provide user friendly option for memory limit

2017-04-28 Thread Simon Crowe
grub2 requires that the '<' character be escaped which is inconvienet for users, provide a more natural specifier. Signed-off-by: Simon Crowe --- docs/misc/kexec_and_kdump.txt | 8 +++- docs/misc/xen-command-line.markdown | 5 + xen/common/kexec.c

Re: [Xen-devel] [PATCH for-4.9 v2] hvm/vpt: fix inconsistent views of vIOAPIC in vmx_intr_assist()

2017-04-28 Thread Chao Gao
On Fri, Apr 28, 2017 at 02:36:11AM -0600, Jan Beulich wrote: On 27.04.17 at 04:47, wrote: >> When injecting periodic timer interrupt in vmx_intr_assist(), >> multi-read operations are done during one event delivery. For >> example, if a periodic timer interrupt is from

Re: [Xen-devel] [PATCH for-next v3 12/12] x86/pv/domain: clean up switch_compat

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > Remove the redundant is_pv_domain check. Rearrange setup_compat calls. Well, as said earlier, I don't really see the value of the latter, but anyway ... > Signed-off-by: Wei Liu Acked-by: Jan Beulich

Re: [Xen-devel] [PATCH for-next v3 11/12] x86/pv/domain: clean up setup_compat_l4

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > Move updating type_info after clearing the page. Add spaces. Suggested-by: Andrew ... ? > Signed-off-by: Wei Liu Reviewed-by: Jan Beulich ___

Re: [Xen-devel] [PATCH for-next v3 09/12] x86/domain: move PV specific code to pv/domain.c

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > --- a/xen/include/asm-x86/domain.h > +++ b/xen/include/asm-x86/domain.h > @@ -655,6 +655,9 @@ static inline void pv_inject_page_fault(int errcode, > unsigned long cr2) > pv_inject_event(); > } > > +void

[Xen-devel] [seabios test] 107867: regressions - FAIL

2017-04-28 Thread osstest service owner
flight 107867 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/107867/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5 xen-buildfail REGR. vs. 106986 build-amd64

[Xen-devel] [distros-debian-jessie test] 71239: regressions - trouble: blocked/broken/fail/pass

2017-04-28 Thread Platform Team regression test user
flight 71239 distros-debian-jessie real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71239/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-armhf-jessie-netboot-pygrub 14 guest-start/debian.repeat fail REGR.

Re: [Xen-devel] [PATCH for-next v3 07/12] x86/domain: factor out pv_domain_destroy

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > Now this function also frees the perdomain mapping. It is safe to do so > because destroy_perdomain_mapping is idempotent. > > Move free_perdomain_mappings after pv_domain_destroy. It is safe to do > so because both

Re: [Xen-devel] [PATCH for-next v3 05/12] x86/domain: factor out pv_vcpu_initialise

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > Move PV specific vcpu initialisation code to said function, but leave > the only line needed by idle domain in vcpu_initialise. > > Use pv_vcpu_destroy in error path to simplify code. It is safe to do so > because the destruction function

Re: [Xen-devel] [PATCH for-next v3 02/12] x86/domain: provide pv_{create, destroy}_gdt_ldt_l1tab and use them

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > This patch encapsulates the perdomain creation and destruction into > helper functions and use them where appropriate. > > Since destroy_perdomain_mapping is idempotent, it is safe to call the > destruction function multiple times. > >

Re: [Xen-devel] [PATCH for-4.9 v2] hvm/vpt: fix inconsistent views of vIOAPIC in vmx_intr_assist()

2017-04-28 Thread Jan Beulich
>>> On 27.04.17 at 04:47, wrote: > When injecting periodic timer interrupt in vmx_intr_assist(), > multi-read operations are done during one event delivery. For > example, if a periodic timer interrupt is from PIT, when set the > corresponding bit in vIRR, the corresponding

Re: [Xen-devel] [Qemu-devel] [PATCH v5 06/10] qobject: Use simpler QDict/QList scalar insertion macros

2017-04-28 Thread Markus Armbruster
Eric Blake writes: > We now have macros in place to make it less verbose to add a scalar > to QDict and QList, so use them. To make this patch smaller to > review, a couple of subdirectories were done in earlier patches. Scratch the last sentence. Can do on commit. > Patch

[Xen-devel] [linux-4.9 test] 107829: regressions - trouble: broken/fail/pass

2017-04-28 Thread osstest service owner
flight 107829 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/107829/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 6 xen-boot fail REGR. vs. 107358 Tests which are

Re: [Xen-devel] [PATCH v5 2/4] shutdown: Prepare for use of an enum in reset/shutdown_request

2017-04-28 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > We want to track why a guest was shutdown; in particular, being able > to tell the difference between a guest request (such as ACPI request) > and host request (such as SIGINT) will prove useful to libvirt. > Since all requests eventually end up changing

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

2017-04-28 Thread osstest service owner
flight 107819 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/107819/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-pvh-intel 6 xen-boot fail REGR. vs. 59254

Re: [Xen-devel] [PATCH v12 6/6] x86/ioreq server: Synchronously reset outstanding p2m_ioreq_server entries when an ioreq server unmaps.

2017-04-28 Thread Zhang, Xiong Y
I found this patch couldn't work, the reason is inline. And need propose to fix this. > diff --git a/xen/arch/x86/hvm/dm.c b/xen/arch/x86/hvm/dm.c > index 7e0da81..d72b7bd 100644 > --- a/xen/arch/x86/hvm/dm.c > +++ b/xen/arch/x86/hvm/dm.c > @@ -384,15 +384,50 @@ static int dm_op(domid_t domid, >

Re: [Xen-devel] [PATCH v2] x86/vpmu_intel: Fix hypervisor crash by masking PC bit in MSR_P6_EVNTSEL

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 08:52, wrote: > btw regardless of clarification which I'm trying to get, I think we do > need disallow such guest operation going to physical MSR. It's not > good to have guest impact physical PMU interrupt behavior. Even > when we want to support guest PC

Re: [Xen-devel] [PATCH] x86/vm_event: fix race between vmx_vmexit_handler() and vm_event_resume()

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 08:45, wrote: > On 04/28/2017 09:25 AM, Jan Beulich wrote: > On 27.04.17 at 19:31, wrote: >>> On 27/04/17 09:52, Jan Beulich wrote: >>> On 27.04.17 at 10:34, wrote: > On 27/04/2017

Re: [Xen-devel] compile error in x86_emulate/x86_emulate.c

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 08:33, wrote: > A compile error was introduced between 4.9.20170413T172409.e412c03be2 > and 4.9.20170426T155707.0a5370ee1f when gcc-4.3/4.5 is used: See https://lists.xenproject.org/archives/html/xen-devel/2017-04/msg03240.html Jan

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

2017-04-28 Thread Jan Beulich
>>> On 28.04.17 at 03:19, wrote: > flight 107791 xen-unstable real [real] > http://logs.test-lab.xenproject.org/osstest/logs/107791/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: >

[Xen-devel] [seabios test] 107858: regressions - FAIL

2017-04-28 Thread osstest service owner
flight 107858 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/107858/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5 xen-buildfail REGR. vs. 106986 build-amd64

Re: [Xen-devel] [PATCH v2] x86/vpmu_intel: Fix hypervisor crash by masking PC bit in MSR_P6_EVNTSEL

2017-04-28 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Friday, April 28, 2017 2:43 PM > > > From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com] > > Sent: Thursday, April 27, 2017 11:18 PM > > > > On 04/27/2017 11:05 AM, Jan Beulich wrote: > > On 27.04.17 at 16:57, wrote: > > >> On

Re: [Xen-devel] [PATCH] x86/vm_event: fix race between vmx_vmexit_handler() and vm_event_resume()

2017-04-28 Thread Razvan Cojocaru
On 04/28/2017 09:25 AM, Jan Beulich wrote: On 27.04.17 at 19:31, wrote: >> On 27/04/17 09:52, Jan Beulich wrote: >> On 27.04.17 at 10:34, wrote: On 27/04/2017 09:01, Jan Beulich wrote: On 27.04.17 at 09:22,

Re: [Xen-devel] [PATCH v2] x86/vpmu_intel: Fix hypervisor crash by masking PC bit in MSR_P6_EVNTSEL

2017-04-28 Thread Tian, Kevin
> From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com] > Sent: Thursday, April 27, 2017 11:18 PM > > On 04/27/2017 11:05 AM, Jan Beulich wrote: > On 27.04.17 at 16:57, wrote: > >> On 04/27/2017 03:32 AM, Jan Beulich wrote: > >> On 26.04.17 at 20:50,

Re: [Xen-devel] [PATCH for-4.9 v2] hvm/vpt: fix inconsistent views of vIOAPIC in vmx_intr_assist()

2017-04-28 Thread Chao Gao
On Fri, Apr 28, 2017 at 01:59:47PM +0800, Tian, Kevin wrote: >> From: Gao, Chao >> Sent: Thursday, April 27, 2017 10:47 AM >> >> When injecting periodic timer interrupt in vmx_intr_assist(), >> multi-read operations are done during one event delivery. For >> example, if a periodic timer interrupt

[Xen-devel] compile error in x86_emulate/x86_emulate.c

2017-04-28 Thread Olaf Hering
A compile error was introduced between 4.9.20170413T172409.e412c03be2 and 4.9.20170426T155707.0a5370ee1f when gcc-4.3/4.5 is used: [ 114s] gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -g3 -O0 -fno-omit-frame-pointer

  1   2   >