Re: [Xen-devel] [PATCH] xen: Use ULL for GB macro

2015-05-21 Thread Jan Beulich
>>> On 22.05.15 at 01:16, wrote: > --- a/xen/arch/x86/apic.c > +++ b/xen/arch/x86/apic.c > @@ -992,7 +992,7 @@ void __init init_apic_mappings(void) > apic_phys = mp_lapic_addr; > > set_fixmap_nocache(FIX_APIC_BASE, apic_phys); > -apic_printk(APIC_VERBOSE, "mapped APIC to %08lx

[Xen-devel] [seabios test] 56932: tolerable FAIL - PUSHED

2015-05-21 Thread osstest service user
flight 56932 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/56932/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemuu-win7-amd64 9 windows-install fail like 55291 Tests which did not succeed, but a

Re: [Xen-devel] [PATCHv9 3/4] gnttab: make the grant table lock a read-write lock

2015-05-21 Thread Jan Beulich
>>> On 21.05.15 at 17:16, wrote: > On 21/05/15 15:53, Jan Beulich wrote: > On 21.05.15 at 15:36, wrote: >>> On 21/05/15 11:32, Jan Beulich wrote: >>> On 20.05.15 at 17:54, wrote: > @@ -827,9 +828,11 @@ __gnttab_map_grant_ref( > if ( (wrc + rdc) == 0 ) >

[Xen-devel] [PATCH] x86/shadow: fix uninitialized rc shadow_track_dirty_vram()

2015-05-21 Thread Jan Beulich
Commit bd1b4a71b3 ("x86/shadow: fix shadow_track_dirty_vram to work on hvm guests"), trying to mirror its HAP counterpart, deleted a couple of assignments to rc without making sure rc is initialized on all paths. Coverity ID: 1299410 Signed-off-by: Jan Beulich --- a/xen/arch/x86/mm/shadow/common

Re: [Xen-devel] [PATCH] x86/VT-x: Align segment table columns when dumping a VMCS

2015-05-21 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Wednesday, May 20, 2015 10:05 PM > > This makes it more succinct and easier to read. > > Before: > (XEN) Sysenter RSP= CS:RIP=: > (XEN) CS: sel=0x0008, attr=0x0c09b, limit=0x, > base=0

Re: [Xen-devel] Plans for the SEDF scheduler

2015-05-21 Thread Meng Xu
[Add Chong and Dagaen who is working on improving RTDS scheduler now.] > I'm less sure of libxl, because of the API stability claims. It looks > like this is all about (as there are not scheduler specific API > functions, which is good) this: > > # Consistent with values defined in domctl.h > # E

Re: [Xen-devel] [PATCH] x86/pvh: disable posted interrupts

2015-05-21 Thread Tian, Kevin
> From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: Thursday, May 21, 2015 8:15 PM > > Enabling posted interrupts requires the virtual interrupt delivery feature, > which is disabled for PVH guests, so make sure posted interrupts are also > disabled or else vmlaunch will fail. > > Signe

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Olaf Hering
On Thu, May 21, Ian Campbell wrote: > OOI what version of pod2text are you both using which exposes this? perl 5.10 as included in SLE11 and 5.12 as included in 11.4 accept this. But perl 5.18 as included in SLE12 and 13.1 reject it. Olaf ___ Xen-deve

Re: [Xen-devel] [PATCH RFC v1] libxl: Introduce a template for devices with a controller

2015-05-21 Thread Juergen Gross
On 05/21/2015 07:07 PM, George Dunlap wrote: We have several outstanding patch series which add devices that have two levels: a controller and individual devices attached to that controller. In the interest of consistency, this patch introduces a section that sketches out a template for interfac

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

2015-05-21 Thread osstest service user
flight 56929 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/56929/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 17 leak-check/check fail REGR. vs. 56375 test-amd64-amd64-xl-

Re: [Xen-devel] [PATCH v10 3/6] Support for BIOS interrupt handler

2015-05-21 Thread Xu, Quan
> -Original Message- > From: Kevin O'Connor [mailto:ke...@koconnor.net] > Sent: Friday, May 22, 2015 1:20 AM > To: Stefan Berger > Cc: Xu, Quan; seab...@seabios.org; stefano.stabell...@eu.citrix.com; > xen-devel@lists.xen.org; Daniel De Graaf; wei.l...@citrix.com > Subject: Re: [PATCH v10

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-21 Thread Luis R. Rodriguez
On Thu, May 21, 2015 at 05:33:21PM -0500, Bjorn Helgaas wrote: > > I tentatively put this (and the rest of the series) on a pci/resource > branch. I'm hoping you'll propose some clarification about > EXPORT_SYMBOL_GPL(). EXPORT_SYMBOL_GPL() also serves to ensure only GPL modules can only run tha

[Xen-devel] [PATCH v5 2/2] xen/block: add multi-page ring support

2015-05-21 Thread Bob Liu
Extend xen/block to support multi-page ring, so that more requests can be issued by using more than one pages as the request ring between blkfront and backend. As a result, the performance can get improved significantly. We got some impressive improvements on our highend iscsi storage cluster back

[Xen-devel] [PATCH v2 1/2] driver: xen-blkfront: move talk_to_blkback to a more suitable place

2015-05-21 Thread Bob Liu
The major responsibility of talk_to_blkback() is allocate and initialize the request ring and write the ring info to xenstore. But this work should be done after backend entered 'XenbusStateInitWait' as defined in the protocol file. See xen/include/public/io/blkif.h in XEN git tree: Front

[Xen-devel] [RFC] xen/arm: Find automatically the gnttab region for DOM0

2015-05-21 Thread Julien Grall
Currently, the grant table region is hardcoded per-platform. When a new board is coming up, we have to check the spec in order to find a space in the memory layout free. Depending on the platform it may be tedious. A good candidate for the gnttab region is the one used by Xen binary as some part w

[Xen-devel] [PATCH] xen: Use ULL for GB macro

2015-05-21 Thread Julien Grall
On 32bit, GB(4) doesn't fit on an unsigned long. Alos, fix a couple of printf format in x86 which breaks after using unsigned long long. Signed-off-by: Julien Grall --- xen/arch/x86/apic.c | 2 +- xen/arch/x86/io_apic.c | 2 +- xen/include/xen/config.h | 2 +- 3 files changed, 3 insertio

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-21 Thread Bjorn Helgaas
On Wed, May 20, 2015 at 04:08:10PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This allows drivers to take advantage of write-combining > when possible. The PCI specification does not allow for us > to automatically identify a memory region which needs > write-combining so dri

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-21 Thread Bjorn Helgaas
On Wed, May 20, 2015 at 04:08:10PM -0700, Luis R. Rodriguez wrote: > ... > --- a/lib/pci_iomap.c > +++ b/lib/pci_iomap.c > @@ -52,6 +52,46 @@ void __iomem *pci_iomap_range(struct pci_dev *dev, > EXPORT_SYMBOL(pci_iomap_range); > > /** > + * pci_iomap_wc_range - create a virtual WC mapping cooki

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

2015-05-21 Thread osstest service user
flight 56911 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/56911/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 10 guest-startfail REGR. vs. 56831 Regressions which a

[Xen-devel] [xen-4.5-testing test] 56898: regressions - FAIL

2015-05-21 Thread osstest service user
flight 56898 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/56898/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop fail REGR. vs. 56728 test-amd64-amd64-

Re: [Xen-devel] [PATCH v6 2/2] kconfig: add xenconfig defconfig helper

2015-05-21 Thread Luis R. Rodriguez
On Thu, May 21, 2015 at 11:49:17PM +0900, Masahiro Yamada wrote: > Hi, > > I am not familiar with xen at all, just some comments > from the build system side. > > > > 2015-05-21 3:53 GMT+09:00 Luis R. Rodriguez : > > From: "Luis R. Rodriguez" > > > > This lets you build a kernel which can supp

Re: [Xen-devel] "swiotlb buffer is full" problem with tg3 and kernel 3.16.0-4-686-pae on Xen 4.4.1

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 17:17 +0200, Marco Steinacher wrote: > Shall I try to build a 3.16.0-4-686-pae kernel with > "CONFIG_NEED_DMA_MAP_STATE=y"? Yes, this is what I would recommend. Although it's not as simple as turning it on, you actually need to patch the Kconfig as in this mail: http://www.sp

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 19:44 +0200, Olaf Hering wrote: > On Thu, May 21, Ian Campbell wrote: > > > My pod2text doesn't seem to complain, but does this help? > > Yes, this fixes it. Pushed, thanks. OOI what version of pod2text are you both using which exposes this? Ian. ___

Re: [Xen-devel] [PATCH v6 0/2] kconfig: add xenconfig

2015-05-21 Thread Luis R. Rodriguez
On Thu, May 21, 2015 at 04:20:27PM +0800, Michal Marek wrote: > Dne 21.5.2015 v 02:53 Luis R. Rodriguez napsal(a): > > From: "Luis R. Rodriguez" > > > > Michal Marek, Xen folks (David Vrabel, Konrad, Ian), which tree should > > these go through? > > Not kbuild, if I may ask :). Otherwise people

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Andrew Cooper
On 21/05/15 17:34, Ian Campbell wrote: > On Thu, 2015-05-21 at 18:23 +0200, Olaf Hering wrote: >> On Thu, May 21, Ian Campbell wrote: >> >>> On Thu, 2015-05-14 at 15:05 +0100, Ian Campbell wrote: On Thu, 2015-05-14 at 13:41 +0100, Ian Jackson wrote: > xm migrate would do non-live migration

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Andrew Cooper
On 21/05/15 19:02, Ian Campbell wrote: > On Thu, 2015-05-21 at 19:44 +0200, Olaf Hering wrote: >> On Thu, May 21, Ian Campbell wrote: >> >>> My pod2text doesn't seem to complain, but does this help? >> Yes, this fixes it. > Pushed, thanks. > > OOI what version of pod2text are you both using which e

Re: [Xen-devel] [PATCH RFC v1] libxl: Introduce a template for devices with a controller

2015-05-21 Thread George Dunlap
On 05/21/2015 06:07 PM, George Dunlap wrote: > We have several outstanding patch series which add devices that have > two levels: a controller and individual devices attached to that > controller. > > In the interest of consistency, this patch introduces a section that > sketches out a template fo

[Xen-devel] [PATCH RFC v1] libxl: Introduce a template for devices with a controller

2015-05-21 Thread George Dunlap
We have several outstanding patch series which add devices that have two levels: a controller and individual devices attached to that controller. In the interest of consistency, this patch introduces a section that sketches out a template for interfaces for such devices. Signed-off-by: George Dun

[Xen-devel] [PATCH v22 02/14] x86/VPMU: Add public xenpmu.h

2015-05-21 Thread Boris Ostrovsky
Add pmu.h header files, move various macros and structures that will be shared between hypervisor and PV guests to it. Move MSR banks out of architectural PMU structures to allow for larger sizes in the future. The banks are allocated immediately after the context and PMU structures store offsets

[Xen-devel] [PATCH v22 01/14] common/symbols: Export hypervisor symbols to privileged guest

2015-05-21 Thread Boris Ostrovsky
Export Xen's symbols as {} triplet via new XENPF_get_symbol hypercall Signed-off-by: Boris Ostrovsky Acked-by: Daniel De Graaf Reviewed-by: Konrad Rzeszutek Wilk Reviewed-by: Dietmar Hahn Tested-by: Dietmar Hahn --- xen/arch/x86/platform_hypercall.c | 28 +++ xen/common/sym

[Xen-devel] [PATCH v22 12/14] x86/VPMU: Merge vpmu_rdmsr and vpmu_wrmsr

2015-05-21 Thread Boris Ostrovsky
The two routines share most of their logic. Signed-off-by: Boris Ostrovsky Reviewed-by: Dietmar Hahn --- xen/arch/x86/hvm/vpmu.c| 75 -- xen/include/asm-x86/hvm/vpmu.h | 14 ++-- 2 files changed, 41 insertions(+), 48 deletions(-) diff --git a

[Xen-devel] [PATCH v22 06/14] x86/VPMU: Initialize PMU for PV(H) guests

2015-05-21 Thread Boris Ostrovsky
Code for initializing/tearing down PMU for PV guests Signed-off-by: Boris Ostrovsky Acked-by: Daniel De Graaf Acked-by: Jan Beulich --- tools/flask/policy/policy/modules/xen/xen.te | 4 + xen/arch/x86/domain.c| 2 + xen/arch/x86/hvm/hvm.c | 1

[Xen-devel] [PATCH v22 10/14] x86/VPMU: Use pre-computed masks when checking validity of MSRs

2015-05-21 Thread Boris Ostrovsky
No need to compute those masks on every MSR access. Signed-off-by: Boris Ostrovsky --- Changes in v22: * Added ARCH_CNTR_ENABLED macro xen/arch/x86/hvm/vmx/vpmu_core2.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vpmu_c

[Xen-devel] [PATCH v22 04/14] x86/VPMU: Interface for setting PMU mode and flags

2015-05-21 Thread Boris Ostrovsky
Add runtime interface for setting PMU mode and flags. Three main modes are provided: * XENPMU_MODE_OFF: PMU is not virtualized * XENPMU_MODE_SELF: Guests can access PMU MSRs and receive PMU interrupts. * XENPMU_MODE_HV: Same as XENPMU_MODE_SELF for non-proviledged guests, dom0 can profile itself

[Xen-devel] [PATCH v22 08/14] x86/VPMU: When handling MSR accesses, leave fault injection to callers

2015-05-21 Thread Boris Ostrovsky
With this patch return value of 1 of vpmu_do_msr() will now indicate whether an error was encountered during MSR processing (instead of stating that the access was to a VPMU register). As part of this patch we also check for validity of certain MSR accesses right when we determine which register i

[Xen-devel] [PATCH v22 11/14] x86/VPMU: Handle PMU interrupts for PV(H) guests

2015-05-21 Thread Boris Ostrovsky
Add support for handling PMU interrupts for PV(H) guests. VPMU for the interrupted VCPU is unloaded until the guest issues XENPMU_flush hypercall. This allows the guest to access PMU MSR values that are stored in VPMU context which is shared between hypervisor and domain, thus avoiding traps to hy

[Xen-devel] [PATCH v22 14/14] x86/VPMU: Move VPMU files up from hvm/ directory

2015-05-21 Thread Boris Ostrovsky
Since PMU is now not HVM specific we can move VPMU-related files up from arch/x86/hvm/ directory. Specifically: arch/x86/hvm/vpmu.c -> arch/x86/cpu/vpmu.c arch/x86/hvm/svm/vpmu.c -> arch/x86/cpu/vpmu_amd.c arch/x86/hvm/vmx/vpmu_core2.c -> arch/x86/cpu/vpmu_intel.c include/asm-x86/h

[Xen-devel] [PATCH v22 00/14] x86/PMU: Xen PMU PV(H) support

2015-05-21 Thread Boris Ostrovsky
Changes in v22: * Clarified access permissions on shared fileds (patch 2) * Added ARCH_CNTR_ENABLED macro (patch 10) * Use hypervisor-private VPMU_CACHED instead of shared PMU_CACHED (patch 11) * A few cleanups (patch 11) Changes in v21: * Keep running VPMU's context private to hypervisor and

[Xen-devel] [PATCH v22 09/14] x86/VPMU: Add support for PMU register handling on PV guests

2015-05-21 Thread Boris Ostrovsky
Intercept accesses to PMU MSRs and process them in VPMU module. If vpmu ops for VCPU are not initialized (which is the case, for example, for PV guests that are not "VPMU-enlightened") access to MSRs will return failure. Dump VPMU state for all domains (HVM and PV) when requested. Signed-off-by:

[Xen-devel] [PATCH v22 13/14] x86/VPMU: Add privileged PMU mode

2015-05-21 Thread Boris Ostrovsky
Add support for privileged PMU mode (XENPMU_MODE_ALL) which allows privileged domain (dom0) profile both itself (and the hypervisor) and the guests. While this mode is on profiling in guests is disabled. Signed-off-by: Boris Ostrovsky Acked-by: Jan Beulich --- xen/arch/x86/hvm/vpmu.c | 40

[Xen-devel] [PATCH v22 05/14] x86/VPMU: Initialize VPMUs with __initcall

2015-05-21 Thread Boris Ostrovsky
Move some VPMU initilization operations into __initcalls to avoid performing same tests and calculations for each vcpu. Signed-off-by: Boris Ostrovsky Acked-by: Jan Beulich --- xen/arch/x86/hvm/svm/vpmu.c | 106 -- xen/arch/x86/hvm/vmx/vpmu_core2.c | 151 ++

[Xen-devel] [PATCH v22 03/14] x86/VPMU: Make vpmu not HVM-specific

2015-05-21 Thread Boris Ostrovsky
vpmu structure will be used for both HVM and PV guests. Move it from hvm_vcpu to arch_vcpu. Signed-off-by: Boris Ostrovsky Acked-by: Jan Beulich Reviewed-by: Kevin Tian Reviewed-by: Dietmar Hahn Tested-by: Dietmar Hahn --- xen/include/asm-x86/domain.h | 2 ++ xen/include/asm-x86/hvm/vcpu.h

[Xen-devel] [PATCH v22 07/14] x86/VPMU: Save VPMU state for PV guests during context switch

2015-05-21 Thread Boris Ostrovsky
Save VPMU state during context switch for both HVM and PV(H) guests. A subsequent patch ("x86/VPMU: NMI-based VPMU support") will make it possible for vpmu_switch_to() to call vmx_vmcs_try_enter()->vcpu_pause() which needs is_running to be correctly set/cleared. To prepare for that, call context_

Re: [Xen-devel] [PATCH RFC v1] libxl: Introduce a template for devices with a controller

2015-05-21 Thread George Dunlap
On 05/21/2015 06:07 PM, George Dunlap wrote: > We have several outstanding patch series which add devices that have > two levels: a controller and individual devices attached to that > controller. > > In the interest of consistency, this patch introduces a section that > sketches out a template fo

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Olaf Hering
On Thu, May 21, Ian Campbell wrote: > My pod2text doesn't seem to complain, but does this help? Yes, this fixes it. Thanks! > Subject: [PATCH] docs: correct pod syntax ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [linux-3.4 test] 56886: regressions - FAIL

2015-05-21 Thread osstest service user
flight 56886 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/56886/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 9 debian-install fail REGR. vs. 52209-bisect test-amd64-amd64-pair

Re: [Xen-devel] [linux-next test] 56810: regressions - FAIL

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 16:24 +0100, Ian Campbell wrote: > Figuring this out will probably involve a few adhoc test runs to > establish some baselines and then taking it from there. I've kicked off an adhoc test (hopefully correctly) of v3.14 using the template failure from flight 31795. It's easies

Re: [Xen-devel] RFC: Proposal to improve error reporting in libxl

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 10:01 +0100, Euan Harris wrote: > We would like to make libxl's error reporting more regular and informative > for callers. Yes, I agree this is a good idea. > We think we need to: > > * Make a list of the error conditions which can be encountered by > all the cur

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

2015-05-21 Thread osstest service user
flight 56891 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/56891/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stopfail REGR. vs. 56492 test-amd64-i386-xl-qemuu-win

Re: [Xen-devel] [PATCH OSSTEST 3/5] Cope with Jessie's d-i vg name

2015-05-21 Thread Wei Liu
On Thu, May 21, 2015 at 05:15:55PM +0100, Ian Campbell wrote: > On Thu, 2015-05-21 at 17:04 +0100, Wei Liu wrote: > > On Thu, May 21, 2015 at 04:10:02PM +0100, Ian Campbell wrote: > > > On Wed, 2015-05-20 at 18:56 +0100, Wei Liu wrote: > > > > In ts-xen-build-prep, replace matching lenny with jessi

Re: [Xen-devel] [PATCH OSSTEST 3/5] Cope with Jessie's d-i vg name

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 17:04 +0100, Wei Liu wrote: > On Thu, May 21, 2015 at 04:10:02PM +0100, Ian Campbell wrote: > > On Wed, 2015-05-20 at 18:56 +0100, Wei Liu wrote: > > > In ts-xen-build-prep, replace matching lenny with jessie since lenny is > > > not used in production anymore. > > > > AIUI t

[Xen-devel] "swiotlb buffer is full" problem with tg3 and kernel 3.16.0-4-686-pae on Xen 4.4.1

2015-05-21 Thread Marco Steinacher
Hi, After upgrading to Debian jessie, and consequently to the default Linux kernel 3.16.0-4-686-pae and Xen hypervisor 4.4.1-amd64 in that distribution, I'm having problems with the tg3 network driver under high load. Unfortunately this affects a production system that I am administrating. It us

Re: [Xen-devel] [PATCH v10 3/6] Support for BIOS interrupt handler

2015-05-21 Thread Kevin O'Connor
On Thu, Apr 30, 2015 at 11:34:20AM -0400, Stefan Berger wrote: > On 04/30/2015 09:21 AM, Xu, Quan wrote: > > > >Stefan, > > Sorry to reply so late to you. I try to make it compatible with Xen > > vTPM by below patch > >Against your serious of > >patch(https://github.com/KevinOConnor/seabios/t

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 18:23 +0200, Olaf Hering wrote: > On Thu, May 21, Ian Campbell wrote: > > > On Thu, 2015-05-14 at 15:05 +0100, Ian Campbell wrote: > > > On Thu, 2015-05-14 at 13:41 +0100, Ian Jackson wrote: > > > > xm migrate would do non-live migration (effectively, save, transfer > > > > a

Re: [Xen-devel] [PATCH OSSTEST 3/5] Cope with Jessie's d-i vg name

2015-05-21 Thread Wei Liu
On Thu, May 21, 2015 at 04:10:02PM +0100, Ian Campbell wrote: > On Wed, 2015-05-20 at 18:56 +0100, Wei Liu wrote: > > In ts-xen-build-prep, replace matching lenny with jessie since lenny is > > not used in production anymore. > > AIUI the default VG name scheme changed? Can you say how here please

Re: [Xen-devel] [PING] [PING] [PATCH] tools/libxc: Fix build of 32bit toolstacks on CentOS 5.x following XSA-125

2015-05-21 Thread Andrew Cooper
This patch is still needed in all branches which currently contain XSA-125, including staging. ~Andrew On 13/05/15 12:42, Andrew Cooper wrote: > Ping again. > > These should be included in 4.5.1 > > ~Andrew > > On 22/04/15 16:43, Andrew Cooper wrote: >> Ping on the patches themselves? >> >> On 13

Re: [Xen-devel] [PATCH v2] tools: add configure --with-dumpdir=DIR option

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 16:27 +0200, Olaf Hering wrote: > On Thu, May 21, Ian Campbell wrote: > > > On Mon, 2015-05-11 at 15:33 +, Olaf Hering wrote: > > [...] > > > +AC_ARG_WITH([xen-dumpdir], > > > +AS_HELP_STRING([--with-xen-dumpdir=DIR], > > > +[Path to directory for domU crash dumps

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Olaf Hering
On Thu, May 21, Ian Campbell wrote: > On Thu, 2015-05-14 at 15:05 +0100, Ian Campbell wrote: > > On Thu, 2015-05-14 at 13:41 +0100, Ian Jackson wrote: > > > xm migrate would do non-live migration (effectively, save, transfer > > > and restore) by default, unless you specified --live. > > > > > >

Re: [Xen-devel] [PATCH] xen: Move preinit_xen_time in ARM headers

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 15:31 +0100, Julien Grall wrote: > This function is ARM specific. It's has been added by mistake in the > common code. > > Signed-off-by: Julien Grall Acked + applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [linux-next test] 56810: regressions - FAIL

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 15:58 +0200, Roger Pau Monné wrote: > El 21/05/15 a les 4.40, osstest service user ha escrit: > > flight 56810 linux-next real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/56810/ > > > > Regressions :-( > > > > Tests which did not succeed and are blocking, > >

Re: [Xen-devel] [PATCHv9 3/4] gnttab: make the grant table lock a read-write lock

2015-05-21 Thread David Vrabel
On 21/05/15 15:53, Jan Beulich wrote: On 21.05.15 at 15:36, wrote: >> On 21/05/15 11:32, Jan Beulich wrote: >> On 20.05.15 at 17:54, wrote: @@ -827,9 +828,11 @@ __gnttab_map_grant_ref( if ( (wrc + rdc) == 0 ) err = iommu_map_page(ld, frame, fr

Re: [Xen-devel] [PATCH] x86/pvh: disable posted interrupts

2015-05-21 Thread Jan Beulich
>>> On 21.05.15 at 14:14, wrote: > --- a/xen/arch/x86/hvm/vmx/vmcs.c > +++ b/xen/arch/x86/hvm/vmx/vmcs.c > @@ -980,6 +980,10 @@ static int construct_vmcs(struct vcpu *v) > v->arch.hvm_vmx.secondary_exec_control &= > ~SECONDARY_EXEC_UNRESTRICTED_GUEST; > > +/* Disabl

Re: [Xen-devel] [PATCH OSSTEST 3/5] Cope with Jessie's d-i vg name

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 18:56 +0100, Wei Liu wrote: > In ts-xen-build-prep, replace matching lenny with jessie since lenny is > not used in production anymore. AIUI the default VG name scheme changed? Can you say how here please. Also I think in general we should aim for the "non-exceptional" case

Re: [Xen-devel] [PATCH] docs: remove qemu-upstream_howto_use_it.markdown

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 16:03 +0100, Wei Liu wrote: > On Thu, May 21, 2015 at 03:54:01PM +0100, Ian Campbell wrote: > > On Mon, 2015-05-18 at 17:37 +0100, Wei Liu wrote: > > > QEMU upstream has been the default for several releases. The only > > > setting described in that document is no longer requi

Re: [Xen-devel] [PATCH] docs: remove qemu-upstream_howto_use_it.markdown

2015-05-21 Thread Wei Liu
On Thu, May 21, 2015 at 03:54:01PM +0100, Ian Campbell wrote: > On Mon, 2015-05-18 at 17:37 +0100, Wei Liu wrote: > > QEMU upstream has been the default for several releases. The only > > setting described in that document is no longer required. > > > > Signed-off-by: Wei Liu > > Cc: Ian Campbell

Re: [Xen-devel] [PATCH OSSTEST 1/5] mg-debian-installer-update: use new url for armhf packages

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 18:56 +0100, Wei Liu wrote: > When we use Wheezy the arm kernel is only available in wheezy-backports. > In Jessie it is not in backports. > > Signed-off-by: Wei Liu > --- > Not sure if this patch does the right thing. I have some patches addressing this in a more flexible

Re: [Xen-devel] Plans for the SEDF scheduler

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 13:45 +0100, George Dunlap wrote: [...] > > 2. keep the field 'physically', but return warnings and errors when it > > is used. This is a change in behavior, so also not really stable > > (but, hey, the scheduler is going away, the behavior will change, > > one w

Re: [Xen-devel] [PATCH] docs: remove qemu-upstream_howto_use_it.markdown

2015-05-21 Thread Ian Campbell
On Mon, 2015-05-18 at 17:37 +0100, Wei Liu wrote: > QEMU upstream has been the default for several releases. The only > setting described in that document is no longer required. > > Signed-off-by: Wei Liu > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Keir Fraser > Cc: Tim Deega

Re: [Xen-devel] [PATCH] xen/arm: Drop support of platform where GICH_LR_HW is not working correctly

2015-05-21 Thread Ian Campbell
On Mon, 2015-05-18 at 21:55 +0530, Pranavkumar Sawargaonkar wrote: > [...] > Thanks for this patch. > Acked-by: Pranavkumar Sawargaonkar Acked + Applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] libxl: fix "xl mem-set" regression from 0c029c4da2

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-13 at 14:46 +0100, Ian Campbell wrote: > > So what's the situation with this patch? Can it go in? Is someone > > working on a better fix for the described problem? > > Stefano, Are you? > > Regardless it seems to me that this patch is correct in its own right, > having maxmem_kb b

Re: [Xen-devel] [PATCH v3 6/6] libxl: assign a default ssidref (XSM label) to guests

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 10:51 -0400, Daniel De Graaf wrote: > On 05/20/2015 10:39 AM, Ian Campbell wrote: > > We have now arranged for SECINITSID_DOMU and SECINITSID_DOMDM to be > > defined (correspondng to system_u:system_r:domU_t and > > system_u:system_r:dm_dom_t respectively in the default policy

Re: [Xen-devel] [PATCH] tools/configure: Missing [ in the aio check

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 14:02 +0100, Julien Grall wrote: > There was a missing [ in the aio check which lead to never check if aio > is present on the platform. > > Signed-off-by: Julien Grall Acked + Applied, thanks. ___ Xen-devel mailing list Xen-de

Re: [Xen-devel] [PATCH] tools: Fix wild memory allocations from c/s 250f0b4 and 85d78b4

2015-05-21 Thread Ian Campbell
On Mon, 2015-05-18 at 14:03 +0100, Wei Liu wrote: > On Mon, May 18, 2015 at 01:57:24PM +0100, Andrew Cooper wrote: > > These changesets cause the respective libxc functions to unconditonally > > dereference their max_cpus/nodes parameters as part of initial memory > > allocations. It will fail at

Re: [Xen-devel] [PATCH] MAINTAINERS: Remove Frediano Ziglio from "HISILICON HIP04 Support"

2015-05-21 Thread Ian Campbell
On Mon, 2015-05-18 at 10:37 +0100, Ian Campbell wrote: > Unless someone objects I'm going to pick this up next time I do a pass > over my queue committing things, which will likely be either later today > or tomorrow. Done. > Ian. > > > ___ > Xen-deve

Re: [Xen-devel] [PATCH] libxl: 'valid_devs' may be used uninitialized

2015-05-21 Thread Ian Campbell
On Fri, 2015-05-15 at 19:39 +0200, Dario Faggioli wrote: > On Fri, 2015-05-15 at 11:06 -0600, Charles Arnold wrote: > > Using gcc 4.8 to compile with -Werror. > > > > xl_cmdimpl.c:5493:8: error: 'valid_devs' may be used uninitialized in this > > function [-Werror=maybe-uninitialized] > > if

Re: [Xen-devel] [PATCH] xen/arm: gic: Typo in comment in gic_remove_irq_from_guest

2015-05-21 Thread Ian Campbell
On Fri, 2015-05-15 at 16:17 +0100, Julien Grall wrote: > Signed-off-by: Julien Grall Acked + applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] libxl: Initialize valid_devs in output_topologyinfo()

2015-05-21 Thread Ian Campbell
On Mon, 2015-05-18 at 10:48 +0100, Wei Liu wrote: > On Fri, May 15, 2015 at 11:06:57AM -0400, Boris Ostrovsky wrote: > > Commit e78e8b9bb649 ("libxl: Add interface for querying hypervisor > > about PCI topology") neglected to initialize valid_devs. This > > may result in not printing a message to c

Re: [Xen-devel] [PATCH] docs: fix typo in xl.cfg:vfb=

2015-05-21 Thread Ian Campbell
On Fri, 2015-05-15 at 06:23 +, Olaf Hering wrote: > Use singular for option, it refers to vfb= itself. > > Signed-off-by: Olaf Hering > Cc: Ian Campbell > Cc: Ian Jackson Acked + applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.

Re: [Xen-devel] [PATCH] xl: Support (by ignoring) xl migrate --live

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-14 at 15:05 +0100, Ian Campbell wrote: > On Thu, 2015-05-14 at 13:41 +0100, Ian Jackson wrote: > > xm migrate would do non-live migration (effectively, save, transfer > > and restore) by default, unless you specified --live. > > > > xl migrate always does live migration. Honour (b

Re: [Xen-devel] [PATCH v2 0/7] tools: remove private Makefile variables

2015-05-21 Thread Ian Campbell
On Mon, 2015-05-11 at 15:24 +, Olaf Hering wrote: > Replace all private variables in Makefiles with automake variables. > This series is based on f48218fd2d35e274ef58caee889aecd6610c8cb6. Applied, thanks. ___ Xen-devel mailing list Xen-devel@lists

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

2015-05-21 Thread osstest service user
flight 56876 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/56876/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 11 guest-start fail REGR. vs. 53854 test-amd64-i386-libvirt

Re: [Xen-devel] [PATCH] xen/arm: gic-v3: Implement correctly the callback send_SGI

2015-05-21 Thread Ian Campbell
On Sat, 2015-05-09 at 21:13 +0800, Chen Baozi wrote: > On Fri, May 08, 2015 at 06:01:12PM +0100, Julien Grall wrote: > > Currently, the GICv3 driver is only able to send an SGI when the cpumask > > is provided. Although with the modes SGI_TARGET_OTHERS and SGI_TARGET_SELF, > > no cpumask is provide

Re: [Xen-devel] [PATCH 0/2] tools: enable sdl display and xauth

2015-05-21 Thread Ian Campbell
On Mon, 2015-04-20 at 13:40 +, Olaf Hering wrote: > For some reason DISPLAY and XAUTHORITY are not set by libxl. > Thats not an issue for xl(1) because it can reuse the DISPLAY from the > calling process. But libvirtd will benefit from being able to pass the > configured display and xauth sett

Re: [Xen-devel] [PATCH v9 0/6] xen/arm: Add support for non-PCI passthrough

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-13 at 19:33 +0100, Julien Grall wrote: > Hi all, > > This is a resend of the last part of the non-PCI passthrough after another > error found by Ian C. during build compilation on Debian Wheezy. Applied, with the replacement patch #1. Thanks. Ian. __

Re: [Xen-devel] [PATCH] tools/libx: Don't export libxl__arch_* to the library

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 14:01 +0100, Julien Grall wrote: > From: Julien Grall > > libxl__arch_* should only be used internally by libxl. > > Signed-off-by: Julien Grall Acked + applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http

Re: [Xen-devel] [PATCH v9 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-21 Thread Ian Campbell
On Thu, 2015-05-21 at 15:25 +0100, Julien Grall wrote: > On 21/05/15 15:13, Ian Campbell wrote: > > On Wed, 2015-05-20 at 13:59 +0100, Julien Grall wrote: > >> [...] > >> From d4f0ea84f26649b61bc6afb550348069b71d41c5 Mon Sep 17 00:00:00 2001 > >> From: Julien Grall > >> Date: Tue, 17 Mar 2015 17:5

Re: [Xen-devel] [PATCH v6 2/2] kconfig: add xenconfig defconfig helper

2015-05-21 Thread Masahiro Yamada
Hi, I am not familiar with xen at all, just some comments from the build system side. 2015-05-21 3:53 GMT+09:00 Luis R. Rodriguez : > From: "Luis R. Rodriguez" > > This lets you build a kernel which can support xen dom0 > or xen guests on i386, x86-64 and arm64 by just using: > >make xenco

Re: [Xen-devel] [PATCHv9 3/4] gnttab: make the grant table lock a read-write lock

2015-05-21 Thread Jan Beulich
>>> On 21.05.15 at 15:36, wrote: > On 21/05/15 11:32, Jan Beulich wrote: > On 20.05.15 at 17:54, wrote: >>> @@ -827,9 +828,11 @@ __gnttab_map_grant_ref( >>> if ( (wrc + rdc) == 0 ) >>> err = iommu_map_page(ld, frame, frame, IOMMUF_readable); >>> } >>> +

Re: [Xen-devel] [PATCH v9 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-21 Thread Julien Grall
On 21/05/15 15:13, Ian Campbell wrote: > On Wed, 2015-05-20 at 13:59 +0100, Julien Grall wrote: >> [...] >> From d4f0ea84f26649b61bc6afb550348069b71d41c5 Mon Sep 17 00:00:00 2001 >> From: Julien Grall >> Date: Tue, 17 Mar 2015 17:58:14 + >> Subject: [PATCH] tools/libxl: Check if fdt_{first,nex

[Xen-devel] [PATCH] xen: Move preinit_xen_time in ARM headers

2015-05-21 Thread Julien Grall
This function is ARM specific. It's has been added by mistake in the common code. Signed-off-by: Julien Grall --- xen/include/asm-arm/time.h | 2 ++ xen/include/xen/time.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/include/asm-arm/time.h b/xen/include/asm-arm/ti

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

2015-05-21 Thread osstest service user
flight 56870 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/56870/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 14 guest-saverestore.2fail REGR. vs. 56375 test-armhf-armhf-xl-

[Xen-devel] Xen block driver: Indirect request

2015-05-21 Thread HANNAS YAYA Issa
Hello I am working on xen front|backend driver. When I run io operations sometime the request type is indirect request sometimes it is read|write request. I don't know what differnces exists beetween these types of operations. Can some body explain me? Thanks HANNAS _

Re: [Xen-devel] [PATCH v2] tools: add configure --with-dumpdir=DIR option

2015-05-21 Thread Olaf Hering
On Thu, May 21, Ian Campbell wrote: > On Mon, 2015-05-11 at 15:33 +, Olaf Hering wrote: > [...] > > +AC_ARG_WITH([xen-dumpdir], > > +AS_HELP_STRING([--with-xen-dumpdir=DIR], > > +[Path to directory for domU crash dumps. [/var/lib/xen/dump]]), > > Should this say $localstatedir/lib/xen

Re: [Xen-devel] [PATCH v6 05/10] xsm: add XENMEM_soft_reset support

2015-05-21 Thread Daniel De Graaf
On 05/21/2015 05:49 AM, Vitaly Kuznetsov wrote: Daniel De Graaf writes: On 05/13/2015 05:49 AM, Vitaly Kuznetsov wrote: Dummy policy just checks that the current domain is privileged, in flask policy soft_reset is added to create_domain. Signed-off-by: Vitaly Kuznetsov I think the FLASK p

Re: [Xen-devel] [PATCHv9 3/4] gnttab: make the grant table lock a read-write lock

2015-05-21 Thread David Vrabel
On 21/05/15 14:36, David Vrabel wrote: > On 21/05/15 11:32, Jan Beulich wrote: > On 20.05.15 at 17:54, wrote: >>> @@ -842,8 +845,6 @@ __gnttab_map_grant_ref( >>> mt->ref = op->ref; >>> mt->flags = op->flags; >>> >>> -double_gt_unlock(lgt, rgt); >> >> Don't the mt-> updates ab

Re: [Xen-devel] Kernel panic, reboot in 5 seconds

2015-05-21 Thread Dario Faggioli
On Thu, 2015-05-21 at 15:06 +0200, Mr Idris wrote: > On 5/18/15, George Dunlap wrote: > >> (XEN) Xen call trace: > >> (XEN)[] schedule+0x408/0x5df > >> (XEN)[] __do_softirq+0x81/0x8c > >> (XEN)[] do_softirq+0x13/0x15 > >> (XEN)[] idle_loop+0x64/0x74 > >> (XEN) > >> (XEN) Pagetable

Re: [Xen-devel] [PATCH V3 6/6] refactor codes to unify pvusb and qemu emulated usb

2015-05-21 Thread George Dunlap
On Sun, Apr 19, 2015 at 4:50 AM, Chunyan Liu wrote: > Now we have pvusb implementation. To merge with future qemu emulated > usb work, refactor codes: > - define 'protocol' (type) to indicate pvusb or qemu, add 'protocol' to > usb controller and usb device structures, add 'type' to xl interface >

Re: [Xen-devel] [PATCH V3 4/6] xl: add pvusb commands

2015-05-21 Thread Juergen Gross
On 05/21/2015 04:00 PM, George Dunlap wrote: On 05/21/2015 02:55 PM, Juergen Gross wrote: On 05/21/2015 03:43 PM, George Dunlap wrote: On 05/21/2015 02:08 PM, Juergen Gross wrote: On 05/21/2015 03:01 PM, George Dunlap wrote: On 05/21/2015 12:58 PM, Juergen Gross wrote: There might be existin

Re: [Xen-devel] [PATCH v9 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 13:59 +0100, Julien Grall wrote: > [...] > From d4f0ea84f26649b61bc6afb550348069b71d41c5 Mon Sep 17 00:00:00 2001 > From: Julien Grall > Date: Tue, 17 Mar 2015 17:58:14 + > Subject: [PATCH] tools/libxl: Check if fdt_{first,next}_subnode are present in > libfdt > > The f

Re: [Xen-devel] [PATCHv9 1/4] gnttab: per-active entry locking

2015-05-21 Thread David Vrabel
On 21/05/15 08:46, Jan Beulich wrote: On 20.05.15 at 17:54, wrote: >> @@ -702,6 +729,7 @@ __gnttab_map_grant_ref( >> >> cache_flags = (shah->flags & (GTF_PAT | GTF_PWT | GTF_PCD) ); >> >> +active_entry_release(act); >> spin_unlock(&rgt->lock); > > Just for my understanding:

  1   2   >