[Xen-devel] [For Linux v1 3/4] xen/sndif: add sound-device ABI

2017-04-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Add ABI for the two halves of a para-virtualized sound driver to communicate with each other. The ABI allows implementing audio playback and capture as well as volume control and possibility to mute/unmute audio sources. Note: depending on the use-case backend can

[Xen-devel] [For Linux v1 0/4] PV protocol headers for Linux Kernel

2017-04-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! This patch series adds/updates para-virtual device protocols for Linux Kernel (headers): o kbdif (updated/multitouch support added) o sndif - sound (new) o displif - display (new) Changes since v0: * removed editor blocks * XENDISPL_EVENT_PAGE_SIZE ->

[Xen-devel] [For Linux v1 1/4] xen/kbdif: update protocol description

2017-04-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko The patch clarifies the protocol that is used by the PV keyboard drivers. Acked-by: Juergen Gross Signed-off-by: Oleksandr Andrushchenko --- include/xen/interface/io/kbdif.h | 248 ++- 1 file changed, 221 insertions(+), 27 dele

[Xen-devel] [For Linux v1 2/4] xen/kbdif: add multi-touch support

2017-04-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Multi-touch fields re-use the page that is used by the other features which means that you can interleave multi-touch, motion, and key events. Acked-by: Juergen Gross Signed-off-by: Oleksandr Andrushchenko --- include/xen/interface/io/kbdif.h | 210 ++

[Xen-devel] [For Linux v1 4/4] xen/displif: add ABI for para-virtual display

2017-04-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized display driver. This protocol aims to provide a unified protocol which fits more sophisticated use-cases than a framebuffer device can handle. At the moment basic functionality is supported with the intention

[Xen-devel] [PATCH v3 2/2] xen/mce: make 'found_error' and 'mce_fatal_cpus' private to mcheck_cmn_handler()

2017-04-09 Thread Haozhong Zhang
mcheck_cmn_handler() is the only user of 'found_error' and 'mce_fatal_cpus'. Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich --- xen/arch/x86/cpu/mcheck/mce.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/cpu/mcheck/mce.c b/xen/arch/x86/cpu/mcheck/

[Xen-devel] [PATCH v3 0/2] xen/mce: fix file-scoped static variables in mce.c

2017-04-09 Thread Haozhong Zhang
These two patches are the remaining code cleanup patches in v2. Changes in v3: * Rebase on staging branch. * Rename the argument name of DEFINE_MCE_BARRIER() in patch 1. Haozhong Zhang (2): xen/mce: make mce barriers private to their users xen/mce: make 'found_error' and 'mce_fatal_cpus' pr

[Xen-devel] [PATCH v3 1/2] xen/mce: make mce barriers private to their users

2017-04-09 Thread Haozhong Zhang
Each of current mce barriers is actually used by only one function, so move their definitions into their users. A static mce barrier initializer is introduced so we can move the initialization of above mce barriers to their definitions. Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich ---

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

2017-04-09 Thread osstest service owner
flight 107317 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/107317/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 2 hosts-allocate broken REGR. vs. 1072

Re: [Xen-devel] [For Linux 4/4] xen/displif: add ABI for para-virtual display

2017-04-09 Thread Juergen Gross
On 10/04/17 08:06, Oleksandr Andrushchenko wrote: > On 04/10/2017 09:03 AM, Juergen Gross wrote: >> On 07/04/17 16:02, Oleksandr Andrushchenko wrote: >>> Hi, Julien! >>> >>> On 04/07/2017 04:50 PM, Julien Grall wrote: Hi Oleksandr, On 07/04/17 09:30, Oleksandr Andrushchenko wrote: >>

Re: [Xen-devel] [For Linux 4/4] xen/displif: add ABI for para-virtual display

2017-04-09 Thread Oleksandr Andrushchenko
On 04/10/2017 09:03 AM, Juergen Gross wrote: On 07/04/17 16:02, Oleksandr Andrushchenko wrote: Hi, Julien! On 04/07/2017 04:50 PM, Julien Grall wrote: Hi Oleksandr, On 07/04/17 09:30, Oleksandr Andrushchenko wrote: +/* + ***

Re: [Xen-devel] [For Linux 4/4] xen/displif: add ABI for para-virtual display

2017-04-09 Thread Juergen Gross
On 07/04/17 16:02, Oleksandr Andrushchenko wrote: > Hi, Julien! > > On 04/07/2017 04:50 PM, Julien Grall wrote: >> Hi Oleksandr, >> >> On 07/04/17 09:30, Oleksandr Andrushchenko wrote: >>> +/* >>> + >>> ** >>> >>> + *

Re: [Xen-devel] raisin and minios stubdom

2017-04-09 Thread Juergen Gross
On 07/04/17 20:54, Géza Gémes wrote: > > On 01/04/17 08:19, Géza Gémes wrote: > > > > > > 2017. márc. 31. 16:15 ezt írta ("Juergen Gross" > > >>): > > > > On 31/03/17 16:05, Konrad Rzeszut

Re: [Xen-devel] Outreachy project - Xen Code Review Dashboard

2017-04-09 Thread Heather Booker
Hi Jesus, While using the Elasticsearch python library (https://elasticsearch-py.readthedocs.io/en/master/) to add mbox messages to an index, I would get a UnicodeEncodeError: "'utf-8' codec can't encode character '\udca0' in position 767: surrogates not allowed". Investigating in Grimoire elk ht

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

2017-04-09 Thread osstest service owner
flight 107315 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/107315/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 2 hosts-allocate broken REGR. vs. 107247 build-armhf-xsm

Re: [Xen-devel] [PATCH v10 05/25] x86: refactor psr: L3 CAT: implement CPU init and free flow.

2017-04-09 Thread Yi Sun
On 17-04-07 03:46:42, Jan Beulich wrote: > >>> On 07.04.17 at 11:08, wrote: > > On 17-04-07 02:48:40, Jan Beulich wrote: > >> >>> On 07.04.17 at 07:17, wrote: > >> > On 17-04-06 08:02:15, Jan Beulich wrote: > >> >> Okay, so not the context switch path then, But you must be > >> >> changing the MS

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

2017-04-09 Thread osstest service owner
flight 107313 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/107313/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 2 hosts-allocate broken REGR. vs. 107238 test-amd64-amd64-libv

[Xen-devel] ITS emulation race conditions

2017-04-09 Thread André Przywara
Hi, I wanted to run some ideas on how to prevent the race conditions we are facing with the ITS emulation and removing devices and/or LPIs. I think Stefano's idea of tagging a discarded LPI is the key, but still some details are left to be solved. I think we are dealing with two issues: 1) A guest

[Xen-devel] ITS emulation race conditions

2017-04-09 Thread Andre Przywara
Hi, I wanted to run some ideas on how to prevent the race conditions we are facing with the ITS emulation and removing devices and/or LPIs. I think Stefano's idea of tagging a discarded LPI is the key, but still some details are left to be solved. I think we are dealing with two issues: 1) A guest

[Xen-devel] [xen-4.6-testing test] 107311: trouble: broken/fail/pass

2017-04-09 Thread osstest service owner
flight 107311 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/107311/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 2 hosts-allocate broken REGR. vs. 10

Re: [Xen-devel] [PATCH v6 24/36] ARM: vITS: add command handling stub and MMIO emulation

2017-04-09 Thread Julien Grall
Hi Andre, On 04/07/2017 06:32 PM, Andre Przywara wrote: Emulate the memory mapped ITS registers and provide a stub to introduce the ITS command handling framework (but without actually emulating any commands at this time). Signed-off-by: Andre Przywara --- xen/arch/arm/vgic-v3-its.c | 5

Re: [Xen-devel] [PATCH v6 18/36] ARM: GIC: export vgic_init_pending_irq()

2017-04-09 Thread Julien Grall
Hi Andre, On 04/07/2017 06:32 PM, Andre Przywara wrote: For LPIs we later want to dynamically allocate struct pending_irqs. Let's export the vgic_init_pending_irq() to be able to reuse it. Signed-off-by: Andre Przywara Acked-by: Julien Grall Cheers, --- xen/arch/arm/vgic.c| 2 +-

Re: [Xen-devel] [PATCH v6 16/36] ARM: vGICv3: re-use vgic_reg64_check_access

2017-04-09 Thread Julien Grall
Hi Andre, On 04/07/2017 06:32 PM, Andre Przywara wrote: vgic_reg64_check_access() checks for a valid access width of a 64-bit MMIO register, which is useful beyond the current GICv3 emulation only. Move this function to the vgic-emul.h to be easily reusable. Signed-off-by: Andre Przywara Ack

Re: [Xen-devel] [PATCH v6 22/36] ARM: vGIC: advertise LPI support

2017-04-09 Thread Julien Grall
Hi Andre, On 04/07/2017 06:32 PM, Andre Przywara wrote: To let a guest know about the availability of virtual LPIs, set the respective bits in the virtual GIC registers and let a guest control the LPI enable bit. Only report the LPI capability if the host has initialized at least one ITS. This r

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

2017-04-09 Thread Julien Grall
Hi, On 04/08/2017 11:11 PM, osstest service owner wrote: flight 107275 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/107275/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 2 hosts-

Re: [Xen-devel] [PATCH for-4.9] xsm: fix clang 3.5 build after c47d1d

2017-04-09 Thread Julien Grall
Hi Roger, On 04/07/2017 03:34 PM, Roger Pau Monne wrote: The changes introduced on c47d1d broke the clang build due to undefined references to __xsm_action_mismatch_detected, because clang hasn't optimized the code properly. The following patch allows the clang build to work again, while keeping

Re: [Xen-devel] [PATCH for-4.9] xsm: fix clang 3.5 build after c47d1d

2017-04-09 Thread Julien Grall
Hi, On 04/07/2017 03:54 PM, Jan Beulich wrote: On 07.04.17 at 16:34, wrote: >> The changes introduced on c47d1d broke the clang build due to undefined >> references to __xsm_action_mismatch_detected, because clang hasn't optimized >> the code properly. > > This starts to become annoying. T

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

2017-04-09 Thread osstest service owner
flight 107307 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/107307/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xend-qemut-winxpsp3 9 windows-install fail REGR. vs. 106822 test-armhf-armh

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

2017-04-09 Thread Alexey G
On Mon, 10 Apr 2017 00:36:02 +0800 hrg wrote: Hi, > On Sun, Apr 9, 2017 at 11:55 PM, hrg wrote: > > On Sun, Apr 9, 2017 at 11:52 PM, hrg wrote: > >> Hi, > >> > >> In xen_map_cache_unlocked(), map to guest memory maybe in entry->next > >> instead of first level entry (if map to rom other than

[Xen-devel] [libvirt test] 107298: tolerable FAIL - PUSHED

2017-04-09 Thread osstest service owner
flight 107298 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/107298/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-libvirt 13 saverestore-support-checkfail like 106829 test-armhf-armhf-libvirt-xsm 13

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

2017-04-09 Thread hrg
On Sun, Apr 9, 2017 at 11:55 PM, hrg wrote: > On Sun, Apr 9, 2017 at 11:52 PM, hrg wrote: >> Hi, >> >> In xen_map_cache_unlocked(), map to guest memory maybe in entry->next >> instead of first level entry (if map to rom other than guest memory >> comes first), while in xen_invalidate_map_cache(),

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

2017-04-09 Thread hrg
On Sun, Apr 9, 2017 at 11:52 PM, hrg wrote: > Hi, > > In xen_map_cache_unlocked(), map to guest memory maybe in entry->next > instead of first level entry (if map to rom other than guest memory > comes first), while in xen_invalidate_map_cache(), when VM ballooned > out memory, qemu did not invali

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

2017-04-09 Thread hrg
Hi, In xen_map_cache_unlocked(), map to guest memory maybe in entry->next instead of first level entry (if map to rom other than guest memory comes first), while in xen_invalidate_map_cache(), when VM ballooned out memory, qemu did not invalidate cache entries in linked list(entry->next), so when

[Xen-devel] [xen-4.8-testing test] 107294: trouble: blocked/broken/fail/pass

2017-04-09 Thread osstest service owner
flight 107294 xen-4.8-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/107294/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 2 hosts-allocate broken REGR. vs. 10

Re: [Xen-devel] [PATCH RFC] x86/emulate: implement hvmemul_cmpxchg() with an actual CMPXCHG

2017-04-09 Thread Razvan Cojocaru
On 04/09/2017 01:15 AM, Razvan Cojocaru wrote: > I'm not sure that it does not mess with the > interrupt part of hvm_do_resume(). Actually I've now printk()ed v->arch.hvm_vcpu.inject_event.vector on the EXCEPTION case of hvm_emulate_one_vm_event(), and it's always -1 in my tests, so the interrupt

[Xen-devel] [outreachy] progress

2017-04-09 Thread Vaishnavi Ramesh Jayaraman
Hi, I am now able to upload the JSON document obtained from Perceval to ElasticSearch and then query it again to get the results. Below is my output:- -- ---

Re: [Xen-devel] Xen Crash at the boot time

2017-04-09 Thread Juergen Gross
On 07/04/17 23:42, dom...@ltmd.net wrote: > Topic was in xen-us...@lists.xen.org mailing list > (https://lists.xen.org/archives/html/xen-users/2017-03/msg00049.html) > but by advice was moved here. > > > We are trying to run Xen on our two servers Supermicro X10QBi, Version > 3.0, Build Date 05/0

[Xen-devel] [xen-unstable-coverity test] 107321: regressions - ALL FAIL

2017-04-09 Thread osstest service owner
flight 107321 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/107321/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: coverity-amd646 coverity-upload fail REGR. vs. 106549 version t

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

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

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

2017-04-09 Thread osstest service owner
flight 107284 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/107284/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 2 hosts-allocate broken REGR. vs. 59254 test-armhf-armhf-xl

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

2017-04-09 Thread osstest service owner
flight 107308 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/107308/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf c137d95081690d4877fbeb5f1856972e84ac32f2 baseline version: ovmf 59a36f21ac2b4d5e40209

[Xen-devel] [Outreachy]Error

2017-04-09 Thread Vaishnavi Ramesh Jayaraman
I am getting the following error when i am trying to import Perceval:- Traceback (most recent call last): File "", line 1, in ImportError: No module named perceval.backends.core.mbox I have added the directory to $PYTHONPATH. There doesn't seem to be any _init_.py file however. How is thi