Re: [Xen-devel] [PATCH v3 25/62] acpi/table: Introduce acpi_get_entry to get specified entry

2015-11-23 Thread Shannon Zhao
On 2015/11/24 15:22, Jan Beulich wrote: On 24.11.15 at 04:08, wrote: >> On 2015/11/24 0:59, Jan Beulich wrote: >> On 17.11.15 at 10:40, wrote: + if ( !table_header ) + { + printk("Table header not present\n"); + return NULL; + } +

Re: [Xen-devel] [PATCH v9 11/17] vt-d: Add API to update IRTE when VT-d PI is used

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 24, 2015 3:54 PM > > > > -Original Message- > > From: Tian, Kevin > > Sent: Tuesday, November 24, 2015 3:45 PM > > To: Wu, Feng ; xen-devel@lists.xen.org > > Cc: Zhang, Yang Z ; Keir Fraser ; Jan > > Beulich ; Andrew Cooper > > Subject: RE: [PAT

Re: [Xen-devel] [PATCH v9 08/17] vmx: Suppress posting interrupts when 'SN' is set

2015-11-23 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Tuesday, November 24, 2015 3:53 PM > To: Wu, Feng ; xen-devel@lists.xen.org > Cc: Keir Fraser ; Jan Beulich ; Andrew > Cooper > Subject: RE: [PATCH v9 08/17] vmx: Suppress posting interrupts when 'SN' is > set > > > From: Wu, Feng > > Sen

Re: [Xen-devel] [PATCH v9 11/17] vt-d: Add API to update IRTE when VT-d PI is used

2015-11-23 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Tuesday, November 24, 2015 3:45 PM > To: Wu, Feng ; xen-devel@lists.xen.org > Cc: Zhang, Yang Z ; Keir Fraser ; Jan > Beulich ; Andrew Cooper > Subject: RE: [PATCH v9 11/17] vt-d: Add API to update IRTE when VT-d PI is > used > > > + > >

Re: [Xen-devel] [PATCH v9 08/17] vmx: Suppress posting interrupts when 'SN' is set

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 24, 2015 3:47 PM > > > > -Original Message- > > From: Tian, Kevin > > Sent: Tuesday, November 24, 2015 3:30 PM > > To: Wu, Feng ; xen-devel@lists.xen.org > > Cc: Keir Fraser ; Jan Beulich ; Andrew > > Cooper > > Subject: RE: [PATCH v9 08/17] vmx

Re: [Xen-devel] [PATCH v9 16/17] VT-d: Dump the posted format IRTE

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM > > Add the utility to dump the posted format IRTE. > > CC: Yang Zhang > CC: Kevin Tian > Signed-off-by: Feng Wu Acked-by: Kevin Tian ___ Xen-devel mailing list Xen-devel@lists.xen.org ht

Re: [Xen-devel] [PATCH 2/3] VMX: allocate VMCS pages from domain heap

2015-11-23 Thread Jan Beulich
>>> On 24.11.15 at 06:04, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Monday, November 23, 2015 10:28 PM >> >> >>> On 21.10.15 at 05:16, wrote: >> >> From: Jan Beulich [mailto:jbeul...@suse.com] >> >> Sent: Tuesday, October 20, 2015 6:36 PM >> >> >>> On 20.10.15 at 12:12,

Re: [Xen-devel] [PATCH v9 08/17] vmx: Suppress posting interrupts when 'SN' is set

2015-11-23 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Tuesday, November 24, 2015 3:30 PM > To: Wu, Feng ; xen-devel@lists.xen.org > Cc: Keir Fraser ; Jan Beulich ; Andrew > Cooper > Subject: RE: [PATCH v9 08/17] vmx: Suppress posting interrupts when 'SN' is > set > > > From: Wu, Feng > > Sen

Re: [Xen-devel] [PATCH v9 11/17] vt-d: Add API to update IRTE when VT-d PI is used

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM > > This patch adds an API which is used to update the IRTE > for posted-interrupt when guest changes MSI/MSI-X information. > > CC: Yang Zhang > CC: Kevin Tian > CC: Keir Fraser > CC: Jan Beulich > CC: Andrew Cooper > Signed-off-by

Re: [Xen-devel] [PATCH v3 57/62] hvm/params: Add a new dilivery type for event-channel in HVM_PARAM_CALLBACK_IRQ

2015-11-23 Thread Jan Beulich
>>> On 17.11.15 at 10:40, wrote: > From: Shannon Zhao > > Add a new dilivery type: > val[63:56] == 3: val[15:8] is flag: val[7:0] is a PPI. > To the flag, bit 0 stands the interrupt mode is edge(1) or level(0) and > bit 1 stands the interrupt polarity is active low(1) or high(0). > > Signed-off

Re: [Xen-devel] [PATCH] public/hvm: Export the HVM_PARAM_CALLBACK_VIA ABI in the API

2015-11-23 Thread Jan Beulich
>>> On 20.11.15 at 19:20, wrote: > --- a/xen/include/public/hvm/params.h > +++ b/xen/include/public/hvm/params.h > @@ -29,18 +29,21 @@ > * Parameter space for HVMOP_{set,get}_param. > */ > > +#define HVM_PARAM_CALLBACK_IRQ 0 > + > /* > * How should CPU0 event-channel notifications be deli

Re: [Xen-devel] [PATCH v9 09/17] VT-d: Remove pointless casts

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM > > Remove pointless casts. > > CC: Yang Zhang > CC: Kevin Tian > Suggested-by: Jan Beulich > Signed-off-by: Feng Wu > Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Kevin Tian ___ Xen-de

Re: [Xen-devel] [PATCH v9 08/17] vmx: Suppress posting interrupts when 'SN' is set

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM N' is set > > Currently, we don't support urgent interrupt, all interrupts > are recognized as non-urgent interrupt, so we cannot send > posted-interrupt when 'SN' is set. > > CC: Kevin Tian > CC: Keir Fraser > CC: Jan Beulich > CC: A

Re: [Xen-devel] [PATCH v3 25/62] acpi/table: Introduce acpi_get_entry to get specified entry

2015-11-23 Thread Jan Beulich
>>> On 24.11.15 at 04:08, wrote: > On 2015/11/24 0:59, Jan Beulich wrote: > On 17.11.15 at 10:40, wrote: >>> + if ( !table_header ) >>> + { >>> + printk("Table header not present\n"); >>> + return NULL; >>> + } >>> + >>> + table_end = (unsigned long)table_header +

Re: [Xen-devel] [PATCH v3 05/62] acpi: Don't do traditional BIOS table scan for ARM64

2015-11-23 Thread Jan Beulich
>>> On 24.11.15 at 04:39, wrote: > On 2015/11/23 19:35, Jan Beulich wrote: > On 23.11.15 at 12:24, wrote: >>> On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: --- a/xen/drivers/acpi/osl.c +++ b/xen/drivers/acpi/osl.c @@ -78,7 +78,9 @@ acpi_physical_address __init acpi_

Re: [Xen-devel] [PATCH v9 06/17] vmx: Add some helper functions for Posted-Interrupts

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM > > This patch adds some helper functions to manipulate the > Posted-Interrupts Descriptor. > > CC: Kevin Tian > CC: Keir Fraser > CC: Jan Beulich > CC: Andrew Cooper > Signed-off-by: Feng Wu > Reviewed-by: Konrad Rzeszutek Wilk A

Re: [Xen-devel] [PATCH v9 04/17] vt-d: VT-d Posted-Interrupts feature detection

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM > > VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. > With VT-d Posted-Interrupts enabled, external interrupts from > direct-assigned devices can be delivered to guests without VMM > intervention when guest is runni

Re: [Xen-devel] crash tool - problem with new Xen linear virtual mapped sparse p2m list

2015-11-23 Thread Juergen Gross
On 23/11/15 21:18, Daniel Kiper wrote: > Hi all, > > Some time ago Linux kernel commit 054954eb051f35e74b75a566a96fe756015352c8 > (xen: switch to linear virtual mapped sparse p2m list) introduced linear > virtual mapped sparse p2m list. It fixed some issues, however, it broke > crash tool too. I t

Re: [Xen-devel] [PATCH v9 01/17] VT-d Posted-intterrupt (PI) design

2015-11-23 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Tuesday, November 24, 2015 2:35 PM > To: Wu, Feng ; xen-devel@lists.xen.org > Cc: Zhang, Yang Z ; Jan Beulich > ; Keir Fraser ; Andrew Cooper > ; George Dunlap > > Subject: RE: [PATCH v9 01/17] VT-d Posted-intterrupt (PI) design > > > Fro

Re: [Xen-devel] [PATCH v9 01/17] VT-d Posted-intterrupt (PI) design

2015-11-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM > > > diff --git a/docs/misc/vtd-pi.txt b/docs/misc/vtd-pi.txt > new file mode 100644 > index 000..f9b4637 > --- /dev/null > +++ b/docs/misc/vtd-pi.txt > @@ -0,0 +1,329 @@ > +Authors: Feng Wu > + > +VT-d Posted-interrupt (PI) design

Re: [Xen-devel] [PATCH v9 01/17] VT-d Posted-intterrupt (PI) design

2015-11-23 Thread Tian, Kevin
> From: Dario Faggioli [mailto:dario.faggi...@citrix.com] > Sent: Tuesday, November 10, 2015 10:52 PM > > > > +Here are what we do for the blocked vCPU: > > +1. Define a per-cpu list 'pi_blocked_vcpu', which stored the blocked > > +vCPU on the pCPU. > > +2. When the vCPU is going to block, insert t

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Meng Xu
2015-11-23 23:57 GMT-05:00 Yu-An(Victor) Chen : > Hi Meng, > Hi, > Thank you again for your kindly reply! No problem :-) > I am currently using "litmus-rt-2014.2.patch" and with my labmates' patch > for IPI interrupt (https://github.com/LITMUS-RT/liblitmus/pull/1/files) > I asked my labmate about

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

2015-11-23 Thread osstest service owner
flight 65036 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/65036/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 6 xen-boot fail REGR. vs. 64985 test-armhf-armhf-xl-xs

Re: [Xen-devel] [PATCH 2/3] VMX: allocate VMCS pages from domain heap

2015-11-23 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, November 23, 2015 10:28 PM > > >>> On 21.10.15 at 05:16, wrote: > >> From: Jan Beulich [mailto:jbeul...@suse.com] > >> Sent: Tuesday, October 20, 2015 6:36 PM > >> >>> On 20.10.15 at 12:12, wrote: > >> > On 19/10/15 16:22, Jan Beuli

Re: [Xen-devel] [PATCH] VMX: fix/adjust trap injection

2015-11-23 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, November 23, 2015 8:49 PM > > In the course of investigating the 4.1.6 backport issue of the XSA-156 > patch I realized that #DB injection has always been broken, but with it > now getting always intercepted the problem has got worse:

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Yu-An(Victor) Chen
Hi Meng, Thank you again for your kindly reply! I am currently using "litmus-rt-2014.2.patch" and with my labmates' patch for IPI interrupt (https://github.com/LITMUS-RT/liblitmus/pull/1/files) I asked my labmate about it, he said he was not sure if there is more IPI interrupt bug other than then

Re: [Xen-devel] [PATCH] x86/HVM: type adjustments

2015-11-23 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, November 23, 2015 9:51 PM > > - constify struct hvm_trap * function parameters > - width reduce and shuffle some struct hvm_trap members > - use bool_t for boolean fields struct hvm_function_table > - use unsigned for struct hvm_functi

Re: [Xen-devel] [PATCH 13/13] ARM: XEN: Move xen_early_init() before efi_init()

2015-11-23 Thread Shannon Zhao
On 2015/11/21 1:30, Stefano Stabellini wrote: >> +struct xen_node_info { >> > + const char *compat; >> > + const char *prefix; >> > + const char *version; >> > + bool found; >> > +}; >> > + >> > +static int __init fdt_find_xen_node(unsigned long node, const char *uname, >> > +

Re: [Xen-devel] [PATCH 12/13] arm/xen: Get event-channel irq through HVM_PARAM when booting with ACPI

2015-11-23 Thread Shannon Zhao
On 2015/11/21 1:11, Stefano Stabellini wrote: > On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: >> From: Shannon Zhao >> >> When booting with ACPI, it could get the event-channel irq through >> HVM_PARAM_CALLBACK_IRQ. >> >> Signed-off-by: Shannon Zhao >> --- >> arch/arm/xen/enlighten.c | 2

Re: [Xen-devel] [PATCH v3 05/62] acpi: Don't do traditional BIOS table scan for ARM64

2015-11-23 Thread Shannon Zhao
On 2015/11/23 19:35, Jan Beulich wrote: On 23.11.15 at 12:24, wrote: >> On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: >>> From: Shannon Zhao >>> >>> With the addition of ARM64 that does not have a traditional BIOS to >>> scan, add a #ifdef option for x86 to do the traditional BIOS sc

Re: [Xen-devel] [PATCH v4 0/6] xen: sched: fix locking of {insert, remove}_vcpu()

2015-11-23 Thread Meng Xu
If I can jump in the conversion... 2015-11-23 10:00 GMT-05:00 Jan Beulich : On 23.11.15 at 15:50, wrote: >> On 23/11/15 14:40, Jan Beulich wrote: >> On 23.11.15 at 15:03, wrote: > --- > Dario Faggioli (6): > xen: sched: fix locking of remove_vcpu() in credit1 >

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

2015-11-23 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38327 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38327/ Perfect :-) All tests in this flight passed version targeted for testing: ovmf 8084b26e926ba3bf12b8110e7d49d3c928bb17d6 baseline version: ovm

Re: [Xen-devel] [PATCH v3 25/62] acpi/table: Introduce acpi_get_entry to get specified entry

2015-11-23 Thread Shannon Zhao
On 2015/11/24 0:59, Jan Beulich wrote: On 17.11.15 at 10:40, wrote: >> --- a/xen/drivers/acpi/tables.c >> +++ b/xen/drivers/acpi/tables.c >> @@ -221,6 +221,51 @@ void __init acpi_table_print_madt_entry(struct >> acpi_subtable_header *header) >> } >> } >> >> +struct acpi_subtable_he

Re: [Xen-devel] [PATCH] MAINTAINERS: change the vt-d maintainer

2015-11-23 Thread Tian, Kevin
> From: Zhang, Yang Z > Sent: Monday, November 23, 2015 1:35 PM > > add Feng as the new maintainer of VT-d stuff > > Signed-off-by: Yang Zhang Acked-by: Kevin Tian ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

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

2015-11-23 Thread osstest service owner
flight 65029 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/65029/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rumpuserxen-i386 10 guest-start fail REGR. vs. 64035 test-amd64-amd64-i38

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Meng Xu
Hi, 2015-11-23 11:35 GMT-05:00 Yu-An(Victor) Chen : > Hi Meng, > > Thank you very much for replying! > > The RT tasks I am running for each trial at a certain utilization rate is a > collection of real-time tasks, and each real-time task is a sequence of jobs > that are released periodically. All

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

2015-11-23 Thread osstest service owner
flight 65035 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/65035/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 5 libvirt-build fail REGR. vs. 63340 Tests which did not succe

[Xen-devel] What kind of page mode can Xen use?

2015-11-23 Thread Big Strong
What kind of page mode can Xen use? What's the default page size of xen or how can I get it? Is hugetable used? I'm using a x64 CPU and the xen version is 4.4.2 ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [libvirt] [PATCH RFC] libxl: use libxl_event_wait to process libxl events

2015-11-23 Thread Jim Fehlig
On 11/23/2015 01:59 PM, Jim Fehlig wrote: > > Thanks for your comments and ACK'ing the change . I'll submit a V2 that > retains > handling of shutdown event in a thread. While testing V2, I noticed occasionally missing a shutdown event. I can see from the logs that domain_death_xswatch_callback i

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

2015-11-23 Thread osstest service owner
flight 65031 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/65031/ Perfect :-) All tests in this flight passed version targeted for testing: ovmf 8084b26e926ba3bf12b8110e7d49d3c928bb17d6 baseline version: ovmf 3b1495156a3576992b31a77e799db207cb6

[Xen-devel] [xen-4.6-testing test] 65028: regressions - FAIL

2015-11-23 Thread osstest service owner
flight 65028 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/65028/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm 13 guest-localmigrate fail REGR. vs. 63379

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

2015-11-23 Thread osstest service owner
flight 65024 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/65024/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-pvh-amd 6 xen-boot fail REGR. vs. 59254 test-amd64-i386-qemut

Re: [Xen-devel] patch for restricted vPMU modes

2015-11-23 Thread Boris Ostrovsky
On 11/23/2015 05:01 PM, Brendan Gregg wrote: On Mon, Nov 23, 2015 at 6:35 AM, Boris Ostrovsky mailto:boris.ostrov...@oracle.com>> wrote: On 11/20/2015 07:21 PM, Brendan Gregg wrote: These new features would need a corresponding change in Linux for PV guests (or for dom0 to chan

Re: [Xen-devel] patch for restricted vPMU modes

2015-11-23 Thread Brendan Gregg
On Mon, Nov 23, 2015 at 6:35 AM, Boris Ostrovsky wrote: > (+ Dietmar) > > On 11/20/2015 07:21 PM, Brendan Gregg wrote: > >> G'Day, >> >> The vpmu feature of Xen is incredibly useful for performance analysis, >> however, it's currently all counters or nothing. In secure environments, >> there can

Re: [Xen-devel] [PATCH RFC] libxl: use libxl_event_wait to process libxl events

2015-11-23 Thread Jim Fehlig
On 11/23/2015 04:24 AM, Ian Jackson wrote: > Jim Fehlig writes ("[PATCH RFC] libxl: use libxl_event_wait to process libxl > events"): >> Prior to this patch, libxl events were delivered to libvirt via >> the libxlDomainEventHandler callback registered with libxl. >> Documenation in $xensrc/tools/l

[Xen-devel] crash tool - problem with new Xen linear virtual mapped sparse p2m list

2015-11-23 Thread Daniel Kiper
Hi all, Some time ago Linux kernel commit 054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual mapped sparse p2m list) introduced linear virtual mapped sparse p2m list. It fixed some issues, however, it broke crash tool too. I tried to fix this issue but the problem looks more d

[Xen-devel] Early x86 boot code build system questions

2015-11-23 Thread Daniel Kiper
Hi all, During work on multiboot2 protocol support for Xen others and I spotted some issues and/or deficiencies in early x86 boot code build system. Some people reported that after applying v2 of my patches they cannot build xen.gz due to following error: objdump -h reloc.o | sed -n '/[0-9]/{s,0

[Xen-devel] [PATCH v2 2/2] libxl: implement virDomainInterfaceStats

2015-11-23 Thread Joao Martins
Introduce support for domainInterfaceStats API call for querying network interface statistics. Consequently it also enables the use of `virsh domifstat ` command plus seeing the interfaces names instead of "-" when doing `virsh domiflist `. After successful guest creation we fill the network inte

[Xen-devel] [PATCH v2 1/2] libxl: rename libxlConsoleCallback

2015-11-23 Thread Joao Martins
. to a more generic name i.e. libxlDomainStartCallback, since it will now cover another case other than the console. Signed-off-by: Joao Martins --- src/libxl/libxl_domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.

[Xen-devel] [PATCH v2 0/2] libxl: implement virDomainInterfaceStats

2015-11-23 Thread Joao Martins
Hey, This patch series implements virDomainInterfaceStats but based on "ConsoleCallback" as opposed of doing it in libxlDomainStart. The series is divided as following: Patch 1 renames console callback to something more generic and Patch 2 implements virDomainInterfaceStats also taking the previo

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

2015-11-23 Thread osstest service owner
flight 65005 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/65005/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-winxpsp3 9 windows-install fail REGR. vs. 64579 test-amd64-i386-xl-

Re: [Xen-devel] Update upstream qemu to 2.4.1 for xen-unstable

2015-11-23 Thread Stefano Stabellini
On Fri, 20 Nov 2015, Fabio Fantoni wrote: > I saw that upstream qemu for xen-unstable is still not updated at least to > latest stable version. > I tested qemu 2.4.0.1 for some weeks on 2 systems backporting this 2 patches: > spice: surface switch fast path requires same format too (I think is good

Re: [Xen-devel] [adhoc test] 64951: regressions - trouble: blocked/broken/fail/pass

2015-11-23 Thread Ian Jackson
i...@xenbits.xen.org writes ("[adhoc test] 64951: regressions - trouble: blocked/broken/fail/pass"): > [adhoc commission-nocera] <2testing.git master /dev/pts/9> > harness 2f02c43: Nested hosts: Use hostnamepath() in create_webfile > 64951: regressions - trouble: blocked/broken/fail/pass > > flig

Re: [Xen-devel] [PATCH V8 3/7] libxl: add pvusb API

2015-11-23 Thread George Dunlap
On 19/11/15 06:24, Chun Yan Liu wrote: > > On 11/19/2015 at 09:33 AM, in message > <564d9761026600085...@relay2.provo.novell.com>, "Chun Yan Liu" > wrote: > >> > On 11/18/2015 at 05:44 PM, in message <20151118094410.gb21...@aepfle.de>, > Olaf >> Hering wrote: >>> On Tue

[Xen-devel] [xen-4.5-testing baseline-only test] 38324: regressions - FAIL

2015-11-23 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38324 xen-4.5-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38324/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-prev 5 xen-build

Re: [Xen-devel] [PATCH XEN v5 07/23] tools: Refactor /dev/xen/gnt{dev, shr} wrappers into libxengnttab.

2015-11-23 Thread Ian Campbell
On Wed, 2015-11-11 at 15:03 +, Ian Jackson wrote: > > XXX consider combining into a single namespace (i.e. with > > xengnttab_handle having two open fd's in it on Linux) > [...] > I conclude it would be better to unify them. Starting to look into this I have some queries on the direction I ou

Re: [Xen-devel] [PATCH 1/3] libxl: add libxl_domain_config to libxlDomainObjPrivate

2015-11-23 Thread Joao Martins
On 11/23/2015 03:35 PM, Jim Fehlig wrote: > On 11/20/2015 05:40 PM, Joao Martins wrote: >> >> On 11/20/2015 07:05 PM, Jim Fehlig wrote: >>> On 11/19/2015 04:45 PM, Joao Martins wrote: >>> >>> You're not going to be happy with me... >>> This new field in libxlDomainObjPrivate is named "config

Re: [Xen-devel] [PATCH v3 25/62] acpi/table: Introduce acpi_get_entry to get specified entry

2015-11-23 Thread Jan Beulich
>>> On 17.11.15 at 10:40, wrote: > --- a/xen/drivers/acpi/tables.c > +++ b/xen/drivers/acpi/tables.c > @@ -221,6 +221,51 @@ void __init acpi_table_print_madt_entry(struct > acpi_subtable_header *header) > } > } > > +struct acpi_subtable_header * __init > +acpi_get_entry(char *id, unsigne

Re: [Xen-devel] [PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare, select}guest()

2015-11-23 Thread Ian Campbell
On Mon, 2015-11-23 at 16:48 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH OSSTEST v2] Add $gho->{Suite} field to > guest objects from {prepare,select}guest()"): > > On Mon, 2015-11-23 at 16:12 +, Ian Jackson wrote: > > > Perhaps ts-debian*install could call some new function > >

Re: [Xen-devel] [PATCH v3 23/62] acpi/table: Introduce acpi_parse_entries

2015-11-23 Thread Jan Beulich
>>> On 17.11.15 at 10:40, wrote: > From: Parth Dixit > > Add new function acpi_parse_entries which takes acpi table as argument. > This will avoid fetching table everytime in acpi_table_parse_entries. > This function will be used in acpi_gicv2_init within another patch. > > Signed-off-by: Nares

Re: [Xen-devel] [PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare, select}guest()

2015-11-23 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare,select}guest()"): > On Mon, 2015-11-23 at 16:12 +, Ian Jackson wrote: > > Perhaps ts-debian*install could call some new function > > debian_guest_suite in Debian.pm ? > > Sure. Should it return

Re: [Xen-devel] Crash in set_cpu_sibling_map() booting Xen 4.6.0 on Fusion

2015-11-23 Thread Ed Swierk
I instrumented detect_extended_topology() and ran again with 4 CPUs. Loading xen-4.6-amd64.gz... ok Loading vmlinuz-3.14.51-grsec-dock... ok Loading initrd.img-3.14.51-grsec-dock... ok (XEN) Xen version 4.6.1-pre (Debian 4.6.1~pre-1skyport1) ( eswi...@skyportsystems.com) (gcc (Debian 4.9.3-4) 4.9.

[Xen-devel] [PATCH MINI-OS] Add a .gitignore

2015-11-23 Thread Ian Campbell
Signed-off-by: Ian Campbell --- .gitignore | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..1c655a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*~ +*.o +*.a +include/list.h +mini-os +mini-os.gz

Re: [Xen-devel] [PATCH MINI-OS] Add a .gitignore

2015-11-23 Thread Samuel Thibault
Ian Campbell, on Mon 23 Nov 2015 16:34:31 +, wrote: > Signed-off-by: Ian Campbell Acked-by: Samuel Thibault > --- > .gitignore | 6 ++ > 1 file changed, 6 insertions(+) > create mode 100644 .gitignore > > diff --git a/.gitignore b/.gitignore > new file mode 100644 > index 000..1c

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Yu-An(Victor) Chen
Hi Meng, Thank you very much for replying! The RT tasks I am running for each trial at a certain utilization rate is a collection of real-time tasks, and each real-time task is a sequence of jobs that are released periodically. All jobs are periodic, where each job is defined by a period (and dea

Re: [Xen-devel] [PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare, select}guest()

2015-11-23 Thread Ian Campbell
On Mon, 2015-11-23 at 16:12 +, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST v2] Add $gho->{Suite} field to guest > objects from {prepare,select}guest()"): > > Currently those places which want this open code a lookup of the > > {ident}_suite runvar with a fallback to the configurat

Re: [Xen-devel] [OSSTEST PATCH] sg-run-job: Make nested-layer-descend insist on $ok

2015-11-23 Thread Ian Campbell
On Mon, 2015-11-23 at 15:56 +, Ian Jackson wrote: > per-host-ts does nothing if !$ok, so per-host-prep's individual steps > become no-ops if the host prep fails, which prevents blundering on. > But per-host-prep does not throw. > > The other call site explicitly avoids calling the recipe scrip

Re: [Xen-devel] [PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare, select}guest()

2015-11-23 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare,select}guest()"): > Currently those places which want this open code a lookup of the > {ident}_suite runvar with a fallback to the configuration file. > > However selecthost was missing such a lookup i

Re: [Xen-devel] 9p file system for xen

2015-11-23 Thread Wei Liu
On Mon, Nov 23, 2015 at 10:51:04AM -0500, Neil Sikka wrote: > Wei, based on our discussions, you will review as much as possible before > leaving for vacation, and have started last Wednesday. Could you please > share what you are reviewing so I (and anyone else interested) can also > assist in rev

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Meng Xu
Hi Yu-An, 2015-11-23 10:42 GMT-05:00 Yu-An(Victor) Chen : > > Hi all, > > So I was doing some experiments to evaluate RTDS scheduler schedubility of > real time tasks using 1vm with period of 1 and budget of 1. The > experiment results turn out as expected(perform better than xen-credit)

[Xen-devel] [OSSTEST PATCH] sg-run-job: Make nested-layer-descend insist on $ok

2015-11-23 Thread Ian Jackson
per-host-ts does nothing if !$ok, so per-host-prep's individual steps become no-ops if the host prep fails, which prevents blundering on. But per-host-prep does not throw. The other call site explicitly avoids calling the recipe script if !$ok. nested-layer-descend is for calling from within a re

Re: [Xen-devel] 9p file system for xen

2015-11-23 Thread Neil Sikka
Wei, based on our discussions, you will review as much as possible before leaving for vacation, and have started last Wednesday. Could you please share what you are reviewing so I (and anyone else interested) can also assist in reviewing it? As you said, the front/back end negotiation protocols ne

Re: [Xen-devel] [PATCH] x86/HVM: type adjustments

2015-11-23 Thread Boris Ostrovsky
On 11/23/2015 08:51 AM, Jan Beulich wrote: - constify struct hvm_trap * function parameters - width reduce and shuffle some struct hvm_trap members - use bool_t for boolean fields struct hvm_function_table - use unsigned for struct hvm_function_table's hap_capabilities field Signed-off-by: Jan B

[Xen-devel] [linux-mingo-tip-master test] 64999: regressions - FAIL

2015-11-23 Thread osstest service owner
flight 64999 linux-mingo-tip-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/64999/ 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. 60684 test-amd64

Re: [Xen-devel] [PATCH v3 03/62] acpi/pmstat: Build pmstat for x86 only

2015-11-23 Thread Jan Beulich
>>> On 17.11.15 at 10:40, wrote: > --- a/xen/common/sysctl.c > +++ b/xen/common/sysctl.c > @@ -171,7 +171,7 @@ long do_sysctl(XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) > u_sysctl) > op->u.availheap.avail_bytes <<= PAGE_SHIFT; > break; > > -#ifdef HAS_ACPI > +#ifdef HAS_CPUFREQ You

[Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Yu-An(Victor) Chen
Hi all, So I was doing some experiments to evaluate RTDS scheduler schedubility of real time tasks using 1vm with period of 1 and budget of 1. The experiment results turn out as expected(perform better than xen-credit). But when I tried to perform similar experiments with 2 vms (both with

Re: [Xen-devel] [PATCH v3 21/62] arm/gic-v2: Refactor gicv2_init into generic and dt specific parts

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Shannon Zhao > > Refactor gic-v2 related functions into dt and generic parts. This will be > helpful when adding acpi support for gic. > > Signed-off-by: Parth Dixit > Signed-off-by: Shannon Zhao > --- > xen/arch/arm/gic-v2.c | 21 ++

Re: [Xen-devel] [PATCH 00/13] Add VMX TSC scaling support

2015-11-23 Thread Boris Ostrovsky
On 11/22/2015 12:54 PM, Haozhong Zhang wrote: Hi Jan, Boris and Aravind, (Sorry for sending such a long email and thanks for your patience) First, thank you very much for doing this. Because this patchset also touches the existing SVM TSC ratio code, I tested it on an AMD machine with an AM

Re: [Xen-devel] [PATCH 1/3] libxl: add libxl_domain_config to libxlDomainObjPrivate

2015-11-23 Thread Jim Fehlig
On 11/20/2015 05:40 PM, Joao Martins wrote: > > On 11/20/2015 07:05 PM, Jim Fehlig wrote: >> On 11/19/2015 04:45 PM, Joao Martins wrote: >> >> You're not going to be happy with me... >> >>> This new field in libxlDomainObjPrivate is named "config" >>> and is kept while the domain is active. >> Whil

Re: [Xen-devel] [PATCH v3 20/62] arm/acpi: Add ACPI support for SMP initialization

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Shannon Zhao > > ACPI 5.1 only has two explicit methods to boot up SMP, PSCI and Parking > protocol, but the Parking protocol is only specified for ARMv7 now, so > make PSCI as the only way for the SMP boot protocol before some updates >

Re: [Xen-devel] [PATCH] VMX: fix/adjust trap injection

2015-11-23 Thread Jan Beulich
>>> On 23.11.15 at 16:01, wrote: > On 23/11/15 12:49, Jan Beulich wrote: >> @@ -1525,6 +1516,16 @@ static void vmx_inject_trap(struct hvm_t >> __restore_debug_registers(curr); >> write_debugreg(6, read_debugreg(6) | DR_STEP); >> } >> +if ( !nestedhvm_vcpu

Re: [Xen-devel] [PATCH v3 19/62] arm/smpboot: Move dt specific code in smp to seperate functions

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Parth Dixit > > Partition smp initialization functions into generic and dt specific > parts, this will be useful when introducing new functions for smp > initialization based on acpi. > > Signed-off-by: Parth Dixit > Signed-off-by: Sha

Re: [Xen-devel] [PATCH v3 18/62] arm/acpi: Parse MADT to map logical cpu to MPIDR and get cpu_possible_map

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Parth Dixit > > MADT contains the information for MPIDR which is essential for SMP > initialization, parse the GIC cpu interface structures to get the MPIDR > value and map it to cpu_logical_map(), and add enabled cpu with valid > MPIDR

Re: [Xen-devel] [PATCH] x86/HVM: type adjustments

2015-11-23 Thread Andrew Cooper
On 23/11/15 13:51, Jan Beulich wrote: > - constify struct hvm_trap * function parameters > - width reduce and shuffle some struct hvm_trap members > - use bool_t for boolean fields struct hvm_function_table > - use unsigned for struct hvm_function_table's hap_capabilities field > > Signed-off-by: J

Re: [Xen-devel] [PATCH] VMX: fix/adjust trap injection

2015-11-23 Thread Andrew Cooper
On 23/11/15 12:49, Jan Beulich wrote: > In the course of investigating the 4.1.6 backport issue of the XSA-156 > patch I realized that #DB injection has always been broken, but with it > now getting always intercepted the problem has got worse: Documentation > clearly states that neither DR7.GD nor

Re: [Xen-devel] [PATCH v4 0/6] xen: sched: fix locking of {insert, remove}_vcpu()

2015-11-23 Thread Jan Beulich
>>> On 23.11.15 at 15:50, wrote: > On 23/11/15 14:40, Jan Beulich wrote: > On 23.11.15 at 15:03, wrote: --- Dario Faggioli (6): xen: sched: fix locking of remove_vcpu() in credit1 xen: sched: fix locking for insert_vcpu() in credit1 and RTDS xen: sch

Re: [Xen-devel] [PATCH v3 17/62] arm/acpi: Print GIC information when MADT is parsed

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Naresh Bhat > > When MADT is parsed, print GIC information to make the boot > log look pretty. > > Signed-off-by: Hanjun Guo > Signed-off-by: Tomasz Nowicki > Signed-off-by: Naresh Bhat > Signed-off-by: Shannon Zhao > --- > xen/dri

Re: [Xen-devel] [PATCH v3 16/62] ACPICA: ACPI 6.0: Add values for MADT GIC version field

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Hanjun Guo > > ACPICA commit 4b100dc43e8baee8c8b4891b23bc7ad03eba6a28 > > Support for the new version field in the generic distributor > subtable. Hanjun Guo > > Link: https://github.com/acpica/acpica/commit/4b100dc4 > Signed-off-by:

Re: [Xen-devel] [PATCH v3 15/62] ACPICA: ACPI 6.0: Add changes for MADT table.

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Bob Moore > > ACPICA commit 02cbb41232bccf7a91967140cab95d5f48291f21 > > New subtable type. Some additions to existing subtables. > > Link: https://github.com/acpica/acpica/commit/02cbb412 > Signed-off-by: Bob Moore > Signed-off-by: L

Re: [Xen-devel] [PATCH 2/4] x86/PoD: Identify when a domain has already been killed from PoD exhaustion

2015-11-23 Thread Jan Beulich
>>> On 02.11.15 at 15:32, wrote: > On 02/11/15 14:07, George Dunlap wrote: >> On 30/10/15 18:33, Andrew Cooper wrote: >>> --- a/xen/arch/x86/mm/p2m-pod.c >>> +++ b/xen/arch/x86/mm/p2m-pod.c >>> @@ -1048,7 +1048,7 @@ p2m_pod_demand_populate(struct p2m_domain *p2m, >>> unsigned long gfn, >>> /

Re: [Xen-devel] [PATCH v4 0/6] xen: sched: fix locking of {insert, remove}_vcpu()

2015-11-23 Thread George Dunlap
On 23/11/15 14:40, Jan Beulich wrote: On 23.11.15 at 15:03, wrote: >>> --- >>> Dario Faggioli (6): >>> xen: sched: fix locking of remove_vcpu() in credit1 >>> xen: sched: fix locking for insert_vcpu() in credit1 and RTDS >>> xen: sched: clarify use cases of schedule_cpu_swit

Re: [Xen-devel] [PATCH v3 14/62] arm/acpi: Add Generic Interrupt and Distributor struct

2015-11-23 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Shannon Zhao > > Add Generic Interrupt and Distributor (ACPI 5.0) structure. > Add new features for MADT introduced by ACPI 5.1. > Comment on the GIC ID field of the GIC structure which is replaced > by CPU Interface Number. > Add new fi

Re: [Xen-devel] [PATCH v4 0/6] xen: sched: fix locking of {insert, remove}_vcpu()

2015-11-23 Thread Jan Beulich
>>> On 23.11.15 at 15:03, wrote: >> --- >> Dario Faggioli (6): >> xen: sched: fix locking of remove_vcpu() in credit1 >> xen: sched: fix locking for insert_vcpu() in credit1 and RTDS >> xen: sched: clarify use cases of schedule_cpu_switch() >> xen: sched: better handle (not

Re: [Xen-devel] patch for restricted vPMU modes

2015-11-23 Thread Boris Ostrovsky
(+ Dietmar) On 11/20/2015 07:21 PM, Brendan Gregg wrote: G'Day, The vpmu feature of Xen is incredibly useful for performance analysis, however, it's currently all counters or nothing. In secure environments, there can be hesitation to enable access to all PMCs (there are hundreds of them). I

Re: [Xen-devel] [PATCH 2/3] VMX: allocate VMCS pages from domain heap

2015-11-23 Thread Jan Beulich
>>> On 21.10.15 at 05:16, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Tuesday, October 20, 2015 6:36 PM >> >>> On 20.10.15 at 12:12, wrote: >> > On 19/10/15 16:22, Jan Beulich wrote: >> >> @@ -580,7 +583,7 @@ int vmx_cpu_up_prepare(unsigned int cpu) >> >> void vmx_cpu_dead(u

Re: [Xen-devel] [PATCH v4 0/6] xen: sched: fix locking of {insert, remove}_vcpu()

2015-11-23 Thread George Dunlap
On Wed, Nov 4, 2015 at 5:17 PM, Dario Faggioli wrote: > Hi, > > This series, improves how inserting vCPUs in schedulers runqueues is done, > including fixing a couple of bugs, and paving the way for more improvement in > Credit2 runqueue handling (will be submitted as a separate series). > > v3 is

[Xen-devel] [PATCH] x86/HVM: type adjustments

2015-11-23 Thread Jan Beulich
- constify struct hvm_trap * function parameters - width reduce and shuffle some struct hvm_trap members - use bool_t for boolean fields struct hvm_function_table - use unsigned for struct hvm_function_table's hap_capabilities field Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/hvm.c +++ b/x

Re: [Xen-devel] [PATCH XEN v5 19/23] tools/libs/call: Update some log messages to not refer to xc.

2015-11-23 Thread Ian Campbell
On Fri, 2015-11-13 at 16:20 +, Andrew Cooper wrote: > On 09/11/15 12:00, Ian Campbell wrote: > > Signed-off-by: Ian Campbell > > Acked-by: Wei Liu > > I agree with the sentiment, but the error message refer to the > libxencall entry API, so a developer can match it back to the call in > thei

Re: [Xen-devel] [Minios-devel] [PATCH v4 0/] Begin to disentangle libxenctrl and provide some stable libraries

2015-11-23 Thread Ian Campbell
On Fri, 2015-11-20 at 13:49 +, Stefano Stabellini wrote: >  > > If we were to just say "xc_domain_add_to_physmap and > > xc_domain_pin_memory_cacheattr are now stable" then having them in a > > libxendevicemodel would be incorrect, since they are not in any way > > specific to device models. >

[Xen-devel] [PATCH] VMX: fix/adjust trap injection

2015-11-23 Thread Jan Beulich
In the course of investigating the 4.1.6 backport issue of the XSA-156 patch I realized that #DB injection has always been broken, but with it now getting always intercepted the problem has got worse: Documentation clearly states that neither DR7.GD nor DebugCtl.LBR get cleared before the intercept

  1   2   >