[Xen-devel] [xen-4.4-testing test] 59289: tolerable FAIL - PUSHED

2015-07-10 Thread osstest service owner
flight 59289 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/59289/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-multivcpu 11 guest-start fail like 58953 test-amd64-amd64-xl-qemuu-

Re: [Xen-devel] [v3 12/15] vmx: posted-interrupt handling when vCPU is blocked

2015-07-10 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, July 10, 2015 2:32 PM > To: Wu, Feng > Cc: Andrew Cooper; george.dun...@eu.citrix.com; Tian, Kevin; Zhang, Yang Z; > xen-devel@lists.xen.org; k...@xen.org > Subject: RE: [Xen-devel] [v3 12/15] vmx: posted-

[Xen-devel] [PATCH v4 04/17] xen/arm: ITS: Add helper functions to manage its_devices

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Helper functions to manage its devices using RB-tree are introduced in physical ITS driver. This is global list of all the devices. Signed-off-by: Vijaya Kumar K --- v4: - Remove passing of root node as parameter - Declare prototype in header file - Rename find_its

[Xen-devel] [PATCH v4 03/17] xen/arm: ITS: Port ITS driver to Xen

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K The linux driver is based on 4.1 with below commit id 3ad2a5f57656a14d964b673a5a0e4ab0e583c870 Only following code from Linux ITS driver is ported and compiled - LPI initialization - ITS configuration code - Physical command queue management - ITS command building Also

[Xen-devel] [PATCH v4 06/17] xen/arm: ITS: Add virtual ITS driver

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K This patch introduces virtual ITS driver with following functionality - Introduces helper functions to manage device table and ITT table in guest memory - Helper function to handle virtual ITS devices assigned to domain Signed-off-by: Vijaya Kumar K --- v4: - Rename

[Xen-devel] [PATCH v4 02/17] xen: Add log2 functionality

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K log2 helper apis are ported from linux from commit 13c07b0286d340275f2d97adf085cecda37ede37 (linux/log2.h: Fix rounddown_pow_of_two(1)) Changes made for xen are: - Only required functionality is retained - Replace fls_long with flsl Signed-off-by: Vijaya Kumar K CC: Ian

[Xen-devel] [PATCH v4 05/17] xen/arm: ITS: implement hw_irq_controller for LPIs

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Implements hw_irq_controller api's required to handle LPI's Signed-off-by: Vijaya Kumar K --- v4: - Implement separate hw_irq_controller for LPIs - Drop setting LPI affinity - virq and vid are moved under union - Introduced inv command handling - its_device

[Xen-devel] [PATCH v4 00/17] Add ITS support

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K This is based on DraftF version http://xenbits.xen.org/people/ianc/vits/draftG.pdf Following major features are supported - GICv3 ITS support for arm64 platform - Only Dom0 is supported. For DomU pci passthrough feature is required. Basic boot is tested with single ITS

[Xen-devel] [PATCH v4 01/17] xen/arm: Add bitmap_find_next_zero_area helper function

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K bitmap_find_next_zero_area helper function will be used by physical ITS driver. This is imported from linux Signed-off-by: Vijaya Kumar K CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan --- v4: Removed spaces and added tabs Moved ALI

[Xen-devel] [PATCH v4 09/17] xen/arm: ITS: Add GITS registers emulation

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Emulate GITS* registers Signed-off-by: Vijaya Kumar K --- v4: - Removed GICR register emulation --- xen/arch/arm/gic-v3-its.c | 11 ++ xen/arch/arm/vgic-v3-its.c| 319 - xen/include/asm-arm/gic-its.h | 10 ++ xen

[Xen-devel] [PATCH v4 08/17] xen/arm: ITS: Add APIs to add and assign device

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Add APIs to add devices to RB-tree, assign and remove devices to domain. Signed-off-by: Vijaya Kumar K --- v4: - Introduced helper to populate its_device struct - Fixed freeing of its_device memory - its_device struct holds domain id --- xen/arch/arm/gic-v3-its.c

[Xen-devel] [PATCH v4 13/17] xen/arm: ITS: Initialize physical ITS

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Initialize physical ITS driver from GIC v3 driver if LPIs are supported by hardware Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/xen/arch/arm/gic-v3.c b/xen/arch/arm/gic-v3.c index 53554e6..f4881d7 10

[Xen-devel] [PATCH v4 12/17] xen/arm: ITS: Initialize LPI irq descriptors and route

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Allocate and initialize irq descriptor for LPIs and route LPIs to guest Signed-off-by: Vijaya Kumar K --- v4: - Merge patch #16 - Changed commit message --- xen/arch/arm/gic-v3.c |2 +- xen/arch/arm/gic.c| 24 +++-- xen/arch/arm/irq.c

[Xen-devel] [PATCH v4 14/17] xen/arm: ITS: Add domain specific ITS initialization

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Add Domain and vcpu specific ITS initialization Signed-off-by: Vijaya Kumar K --- xen/arch/arm/gic-v3-its.c | 17 xen/arch/arm/setup.c |4 +++- xen/arch/arm/vgic-v3-its.c| 39 + xen/a

[Xen-devel] [PATCH v4 11/17] xen/arm: ITS: Add GICR register emulation

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Emulate LPI related changes to GICR registers Signed-off-by: Vijaya Kumar K --- v4: - Added LPI configuration table emulation - Rename function inline with vits - Copied guest lpi configuration table to xen --- xen/arch/arm/gic-v3.c | 15 xen/arc

[Xen-devel] [PATCH v4 07/17] xen/arm: ITS: Add virtual ITS commands support

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Add Virtual ITS command processing support to Virtual ITS driver Signed-off-by: Vijaya Kumar K --- v4: - Use helper function to read from command queue - Add MOVALL - Removed check for entry in device in domain RB-tree --- xen/arch/arm/gic-v3-its.c |7 + xe

[Xen-devel] [PATCH v4 10/17] xen/arm: ITS: Enable physical and virtual ITS driver compilation

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Compilation is delayed till this patch. >From now on functions in physical ITS and virtual ITS driver are required. So enable compilation Signed-off-by: Vijaya Kumar K --- xen/arch/arm/Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/arm/Makefile

[Xen-devel] [PATCH v4 17/17] xen/arm: ITS: Add pci devices in ThunderX

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K ITS initialization required for all PCI devices in ThunderX platform are done by calling from specific mapping function. This patch can be reverted once XEN PCI passthrough framework for arm64 is in available. For now all the PCI devices are assigned to Dom0 Signed-off-by:

[Xen-devel] [PATCH v4 16/17] xen/arm: ITS: Generate ITS node for Dom0

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K Parse host dt and generate ITS node for Dom0. ITS node resides inside GIC node so when GIC node is encountered look for ITS node. Signed-off-by: Vijaya Kumar K --- v4: - Generate only one ITS node for Dom0 - Replace msi-parent references to single its phandle --- xen/a

[Xen-devel] [PATCH v4 15/17] xen/arm: ITS: Map ITS translation space

2015-07-10 Thread vijay . kilari
From: Vijaya Kumar K ITS translation space contains GITS_TRANSLATOR register which is written by device to raise LPI. This space needs to mapped to every domain address space for all physical ITS available, so that device can access GITS_TRANSLATOR register using SMMU. Signed-off-by: Vijaya Kuma

Re: [Xen-devel] Question about seperating request and response ring in PV network

2015-07-10 Thread Wei Liu
On Fri, Jul 10, 2015 at 09:41:10AM +0800, openlui wrote: > Hi, all: > > I am trying to improve the performance of netfront/netback, and I > found that there were some discussion about PV network performance > improvement in devel mailing list ([1]). The proposals mentioned > in [1]

Re: [Xen-devel] [PATCH v6] run QEMU as non-root

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 17:14 -0600, Jim Fehlig wrote: > On 07/09/2015 04:34 AM, Ian Campbell wrote: > > On Wed, 2015-07-01 at 15:03 -0600, Jim Fehlig wrote: > >> Perhaps. But thanks for providing a way (b_info->device_model_user) for > >> apps to > >> override the libxl policy. > > You mentioned i

Re: [Xen-devel] [PATCH v12 0/8] Xen VMware tools support

2015-07-10 Thread Jan Beulich
>>> On 28.06.15 at 01:27, wrote: > Changes v11 to v12: > Rebased on staging. > > Jan Beulich (xen: Add ring 3 vmware_port support) > As there don't seem to be enough convincing arguments for this > to be worthwhile, I'm going to drop this... > Dropped the 2 ring3 patches. > >

[Xen-devel] [rumpuserxen test] 59349: regressions - FAIL

2015-07-10 Thread osstest service owner
flight 59349 rumpuserxen real [real] http://logs.test-lab.xenproject.org/osstest/logs/59349/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-rumpuserxen 5 rumpuserxen-build fail REGR. vs. 33866 build-i386-rumpuserxe

Re: [Xen-devel] [PATCH v4 14/15] tools/libxc: add support to altp2m hvmops

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 17:52 -0700, Ed White wrote: > From: Tamas K Lengyel > > Wrappers to issue altp2m hvmops. > > Signed-off-by: Tamas K Lengyel > Signed-off-by: Ravi Sahita These all appear to be valid wrappings of the hypercall interfaces, so if the h/v folks are fine with the interface i

Re: [Xen-devel] [v3 12/15] vmx: posted-interrupt handling when vCPU is blocked

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 09:29, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Friday, July 10, 2015 2:32 PM >> >>> On 10.07.15 at 08:21, wrote: >> >> From: Jan Beulich [mailto:jbeul...@suse.com] >> >> Sent: Thursday, July 09, 2015 3:26 PM >> >> >>> On 09.07.15 at 00:49, wrote: >> >>

Re: [Xen-devel] [PATCH v4 15/15] tools/xen-access: altp2m testcases

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 17:52 -0700, Ed White wrote: > From: Tamas K Lengyel > > Working altp2m test-case. Extended the test tool to support singlestepping > to better highlight the core feature of altp2m view switching. Is this the only higher level tool integration which is required for this fea

Re: [Xen-devel] [PATCH v4 12/15] x86/altp2m: Add altp2mhvm HVM domain parameter.

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 05:52:30PM -0700, Ed White wrote: > The altp2mhvm and nestedhvm parameters are mutually > exclusive and cannot be set together. > > Signed-off-by: Ed White > > Reviewed-by: Andrew Cooper for the hypervisor > bits. Drop "for the hypervisor bits" if you happen to resend.

Re: [Xen-devel] [PATCH v4 15/15] tools/xen-access: altp2m testcases

2015-07-10 Thread Wei Liu
On Fri, Jul 10, 2015 at 09:50:25AM +0100, Ian Campbell wrote: > On Thu, 2015-07-09 at 17:52 -0700, Ed White wrote: > > From: Tamas K Lengyel > > > > Working altp2m test-case. Extended the test tool to support singlestepping > > to better highlight the core feature of altp2m view switching. > > I

Re: [Xen-devel] [PATCH v2 04/27] tools/libxl: Introduce libxl__kill()

2015-07-10 Thread Andrew Cooper
On 10/07/15 02:34, Yang Hongyang wrote: > On 07/10/2015 02:26 AM, Andrew Cooper wrote: >> as a wrapper to kill(2), and use it in preference to sendig in > > s/sendig/sendsig/ Oops yes - fixed. ~Andrew ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [v3 12/15] vmx: posted-interrupt handling when vCPU is blocked

2015-07-10 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, July 10, 2015 4:50 PM > To: Wu, Feng > Cc: Andrew Cooper; george.dun...@eu.citrix.com; Tian, Kevin; Zhang, Yang Z; > xen-devel@lists.xen.org; k...@xen.org > Subject: Re: [Xen-devel] [v3 12/15] vmx: posted-

Re: [Xen-devel] [PATCH v4 01/17] xen/arm: Add bitmap_find_next_zero_area helper function

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 09:42, wrote: > From: Vijaya Kumar K > > bitmap_find_next_zero_area helper function will be used > by physical ITS driver. This is imported from linux version? Certainly not any 4.x, i.e. nothing reasonably recent. Jan ___ Xen-de

Re: [Xen-devel] [PATCH v12 0/8] Xen VMware tools support

2015-07-10 Thread Wei Liu
On Fri, Jul 10, 2015 at 09:40:59AM +0100, Jan Beulich wrote: > >>> On 28.06.15 at 01:27, wrote: > > Changes v11 to v12: > > Rebased on staging. > > > > Jan Beulich (xen: Add ring 3 vmware_port support) > > As there don't seem to be enough convincing arguments for this > > to be worthw

Re: [Xen-devel] [PATCH v2 04/27] tools/libxl: Introduce libxl__kill()

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 07:26:30PM +0100, Andrew Cooper wrote: > + * Local variables: > + * mode: C > + * c-basic-offset: 4 > + * indent-tabs-mode: nil > + * End: > + */ > diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h > index 19fc425..9147de1 100644 > --- a/tools/libxl/li

Re: [Xen-devel] [PATCH v4 03/15] VMX: implement suppress #VE.

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 02:52, wrote: > @@ -1134,6 +1151,13 @@ int ept_p2m_init(struct p2m_domain *p2m) > p2m->flush_hardware_cached_dirty = ept_flush_pml_buffers; > } > > +table = map_domain_page(pagetable_get_pfn(p2m_get_pagetable(p2m))); > + > +for ( i = 0; i < EPT_PAGETABLE_

[Xen-devel] [xen-unstable bisection] complete test-amd64-amd64-xl-pvh-amd

2015-07-10 Thread osstest service owner
branch xen-unstable xen branch xen-unstable job test-amd64-amd64-xl-pvh-amd test xen-boot Tree: linux git://xenbits.xen.org/linux-pvops.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/staging/qemu-xen-unstable.git Tree: qemuu git://xenbits.

Re: [Xen-devel] [PATCH v4 15/15] tools/xen-access: altp2m testcases

2015-07-10 Thread Wei Liu
On Fri, Jul 10, 2015 at 09:55:52AM +0100, Wei Liu wrote: > On Fri, Jul 10, 2015 at 09:50:25AM +0100, Ian Campbell wrote: > > On Thu, 2015-07-09 at 17:52 -0700, Ed White wrote: > > > From: Tamas K Lengyel > > > > > > Working altp2m test-case. Extended the test tool to support singlestepping > > >

Re: [Xen-devel] [PATCH v4 05/15] x86/altp2m: basic data structures and support routines.

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 02:52, wrote: > Add the basic data structures needed to support alternate p2m's and > the functions to initialise them and tear them down. > > Although Intel hardware can handle 512 EPTP's per hardware thread > concurrently, only 10 per domain are supported in this patch for >

Re: [Xen-devel] [PATCH v25 00/15] x86/PMU: Xen PMU PV(H) support

2015-07-10 Thread Dietmar Hahn
Am Freitag 19 Juni 2015, 14:44:31 schrieb Boris Ostrovsky: > Changes in v25: > * Add extra check for consistency in patch 4 > * Replace few returns with 'ret = -E...' (patches 4 and 12) > * Clarified commit message in patch 8 > * A couple of cosmetic changes in patch 12 > (I left AMD multi-counter

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Fabio Fantoni
Il 09/07/2015 15:10, Paul Durrant ha scritto: This patch series re-works much of the code involved in emulation of port and memory mapped I/O for HVM guests. The code has become very convoluted and, at least by inspection, certain emulations will apparently malfunction. The series is broken dow

Re: [Xen-devel] [PATCH v4 01/17] xen/arm: Add bitmap_find_next_zero_area helper function

2015-07-10 Thread Vijay Kilari
On Fri, Jul 10, 2015 at 2:31 PM, Jan Beulich wrote: On 10.07.15 at 09:42, wrote: >> From: Vijaya Kumar K >> >> bitmap_find_next_zero_area helper function will be used >> by physical ITS driver. This is imported from linux > > version? Certainly not any 4.x, i.e. nothing reasonably recent.

Re: [Xen-devel] [xen-unstable bisection] complete test-amd64-amd64-xl-pvh-amd

2015-07-10 Thread Ian Campbell
On Fri, 2015-07-10 at 09:11 +, osstest service owner wrote: > branch xen-unstable > xen branch xen-unstable > job test-amd64-amd64-xl-pvh-amd > test xen-boot This is already fixed in staging (and the new test run is looking ok) > > Tree: linux git://xenbits.xen.org/linux-pvops.git > Tree: li

Re: [Xen-devel] [v7][PATCH 13/16] libxl: construct e820 map with RDM information for HVM guest

2015-07-10 Thread Ian Campbell
On Fri, 2015-07-10 at 13:40 +0800, Chen, Tiejun wrote: > >> tools/libxl/libxl_dom.c | 5 +++ > >> tools/libxl/libxl_internal.h | 24 + > >> tools/libxl/libxl_x86.c | 83 > >> > > ... > >> diff --git a/tools/libxl/libxl_dom.c b/

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Paul Durrant
> -Original Message- > From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] > Sent: 10 July 2015 10:28 > To: Paul Durrant; xen-devel@lists.xen.org > Cc: Jan Beulich; Andrew Cooper > Subject: Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup > and fix | Full Backtrace of domU's X

Re: [Xen-devel] [PATCH v2 01/27] bsd-sys-queue-h-seddery: Massage `offsetof'

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > From: Ian Jackson > > For some reason BSD's queue.h uses `__offsetof'. It expects it to > work just like offsetof. So use offsetof. > > Reported-by: Andrew Cooper > Signed-off-by: Ian Jackson Acked-by: Ian Campbell __

Re: [Xen-devel] [PATCH v2 04/27] tools/libxl: Introduce libxl__kill()

2015-07-10 Thread Andrew Cooper
On 10/07/15 10:08, Wei Liu wrote: > On Thu, Jul 09, 2015 at 07:26:30PM +0100, Andrew Cooper wrote: >> + * Local variables: >> + * mode: C >> + * c-basic-offset: 4 >> + * indent-tabs-mode: nil >> + * End: >> + */ >> diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h >> index 19

Re: [Xen-devel] [PATCH v4 07/15] VMX: add VMFUNC leaf 0 (EPTP switching) to emulator.

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 02:52, wrote: > @@ -3234,6 +3256,13 @@ void vmx_vmexit_handler(struct cpu_user_regs *regs) > update_guest_eip(); > break; > > +case EXIT_REASON_VMFUNC: > +if ( vmx_vmfunc_intercept(regs) == X86EMUL_EXCEPTION ) > +hvm_inject_hw_exce

Re: [Xen-devel] [PATCH v4 15/15] tools/xen-access: altp2m testcases

2015-07-10 Thread Ian Campbell
On Fri, 2015-07-10 at 09:55 +0100, Wei Liu wrote: > On Fri, Jul 10, 2015 at 09:50:25AM +0100, Ian Campbell wrote: > > On Thu, 2015-07-09 at 17:52 -0700, Ed White wrote: > > > From: Tamas K Lengyel > > > > > > Working altp2m test-case. Extended the test tool to support singlestepping > > > to bett

Re: [Xen-devel] [PATCH v4 01/17] xen/arm: Add bitmap_find_next_zero_area helper function

2015-07-10 Thread Vijay Kilari
On Fri, Jul 10, 2015 at 2:58 PM, Vijay Kilari wrote: > On Fri, Jul 10, 2015 at 2:31 PM, Jan Beulich wrote: > On 10.07.15 at 09:42, wrote: >>> From: Vijaya Kumar K >>> >>> bitmap_find_next_zero_area helper function will be used >>> by physical ITS driver. This is imported from linux >> >> ve

Re: [Xen-devel] [PATCH v2 04/27] tools/libxl: Introduce libxl__kill()

2015-07-10 Thread Ian Campbell
On Fri, 2015-07-10 at 10:08 +0100, Wei Liu wrote: > On Thu, Jul 09, 2015 at 07:26:30PM +0100, Andrew Cooper wrote: > > + * Local variables: > > + * mode: C > > + * c-basic-offset: 4 > > + * indent-tabs-mode: nil > > + * End: > > + */ > > diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl

Re: [Xen-devel] [PATCH v2 06/27] tools/libxl: Split libxl__domain_create_state.restore_fd in two

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > In a future patch, we shall support automatically converting a legacy stream > to a v2 stream, in which case libxc needs to read from a different fd. > > Simply overwriting restore_fd does not work; the two fd's have different > circumstanc

Re: [Xen-devel] [PATCH v4 08/15] x86/altp2m: add control of suppress_ve.

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 02:52, wrote: > @@ -1528,16 +1528,17 @@ bool_t p2m_mem_access_check(paddr_t gpa, unsigned > long gla, > vm_event_request_t *req; > int rc; > unsigned long eip = guest_cpu_user_regs()->eip; > +bool_t sve; > > /* First, handle rx2rw conversion automatica

Re: [Xen-devel] [PATCH v4 10/15] x86/altp2m: add remaining support routines.

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 02:52, wrote: > Add the remaining routines required to support enabling the alternate > p2m functionality. So despite George's comments on v3 these are still all disconnected from their users... Jan ___ Xen-devel mailing list Xen-d

Re: [Xen-devel] [PATCH v2 07/27] tools/libxl: Extra management APIs for the save helper

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > With migration v2, there are several moving parts needing to be juggled at > once. This requires the error handling logic to be able to query the state of > each moving part, possibly before they have been started, and be able to > cancel t

Re: [Xen-devel] [PATCH v4 01/17] xen/arm: Add bitmap_find_next_zero_area helper function

2015-07-10 Thread Vijay Kilari
On Fri, Jul 10, 2015 at 2:31 PM, Jan Beulich wrote: On 10.07.15 at 09:42, wrote: >> From: Vijaya Kumar K >> >> bitmap_find_next_zero_area helper function will be used >> by physical ITS driver. This is imported from linux > > version? Certainly not any 4.x, i.e. nothing reasonably recent.

Re: [Xen-devel] [PATCH v2 09/27] docs: Libxl migration v2 stream specification

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu I think this is unchanged from last time, and my comments then were all either rebutted or of the "it would be nice but not necessary if.." type. So: Acked-

Re: [Xen-devel] [PATCH v2 12/27] tools/python: Other migration infrastructure

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > Contains: > * Reverse-engineered notes of the legacy format from xg_save_restore.h > * Python implementation of the legacy format > * Public HVM Params used in the legacy stream > * XL header format > > Signed-off-by: Andrew Cooper Ac

Re: [Xen-devel] [PATCH v2 15/27] tools/libxl: Migration v2 stream format

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > From: Ross Lagerwall > > C structures describing the Libxl migration v2 stream format > > Signed-off-by: Ross Lagerwall > Signed-off-by: Andrew Cooper Acked-by: Ian Campbell (I had an evil thought involving tools/libxl/libxl_types_in

Re: [Xen-devel] [PATCH v3 for Xen 4.6 1/4] xen: enable per-VCPU parameter settings for RTDS scheduler

2015-07-10 Thread Dario Faggioli
On Wed, 2015-07-08 at 18:16 -0700, Meng Xu wrote: > 2015-07-08 1:33 GMT-07:00 Dario Faggioli : > > Well, wouldn't the above reasoning about overhead apply here too? > > Budgets of 5us mean the scheduler can be invoked every 5us for budget > > enforcement. If 10us was unreasonable, 5 is even more so

Re: [Xen-devel] [PATCH v2 07/27] tools/libxl: Extra management APIs for the save helper

2015-07-10 Thread Andrew Cooper
On 10/07/15 10:41, Ian Campbell wrote: > On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: >> With migration v2, there are several moving parts needing to be juggled at >> once. This requires the error handling logic to be able to query the state >> of >> each moving part, possibly before t

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Fabio Fantoni
Il 10/07/2015 11:31, Paul Durrant ha scritto: -Original Message- From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] Sent: 10 July 2015 10:28 To: Paul Durrant; xen-devel@lists.xen.org Cc: Jan Beulich; Andrew Cooper Subject: Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup an

[Xen-devel] Xen 4.6 development window closes today and other information

2015-07-10 Thread Wei Liu
Hi all The development window of Xen 4.6 release closes today. I would like to thank everyone for their hard work to make this happen. Committers, please finish committing all pending patches as soon as possible. The cut off day for committing currently pending features is Friday next week. Main

Re: [Xen-devel] [PATCH v4 11/15] x86/altp2m: define and implement alternate p2m HVMOP types.

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 02:52, wrote: > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -6443,6 +6443,144 @@ long do_hvm_op(unsigned long op, > XEN_GUEST_HANDLE_PARAM(void) arg) > break; > } > > +case HVMOP_altp2m: > +{ > +struct xen_hvm_altp2m_op a; >

Re: [Xen-devel] [PATCH v2] Modified RTDS scheduler to use an event-driven model instead of polling.

2015-07-10 Thread Dario Faggioli
On Wed, 2015-07-08 at 20:46 -0700, Meng Xu wrote: > 2015-07-08 1:01 GMT-07:00 Dario Faggioli : > But after thinking twice, maybe runq approach is a better way since it > just make the position information more meaningful. As you described > in the previous email, we can compare the position of a v

Re: [Xen-devel] [PATCH v4 01/17] xen/arm: Add bitmap_find_next_zero_area helper function

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 11:45, wrote: > On Fri, Jul 10, 2015 at 2:31 PM, Jan Beulich wrote: > On 10.07.15 at 09:42, wrote: >>> From: Vijaya Kumar K >>> >>> bitmap_find_next_zero_area helper function will be used >>> by physical ITS driver. This is imported from linux >> >> version? Certainly not

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Fabio Fantoni
Il 10/07/2015 11:54, Fabio Fantoni ha scritto: Il 10/07/2015 11:31, Paul Durrant ha scritto: -Original Message- From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] Sent: 10 July 2015 10:28 To: Paul Durrant; xen-devel@lists.xen.org Cc: Jan Beulich; Andrew Cooper Subject: Re: [Xen-devel] [P

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Paul Durrant
> -Original Message- > From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] > Sent: 10 July 2015 11:10 > To: Paul Durrant; xen-devel@lists.xen.org > Cc: Jan Beulich; Andrew Cooper > Subject: Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup > and fix | Full Backtrace of domU's X

Re: [Xen-devel] [v7][PATCH 11/16] tools/libxl: detect and avoid conflicts with RDM

2015-07-10 Thread Ian Jackson
Chen, Tiejun writes ("Re: [v7][PATCH 11/16] tools/libxl: detect and avoid conflicts with RDM"): > > There are quite a few of these long lines, which should be wrapped. > > See tools/libxl/CODING_STYLE. > > Sorry I can't found any case to what you're talking. > > So are you saying this? > > if (

Re: [Xen-devel] [v7][PATCH 13/16] libxl: construct e820 map with RDM information for HVM guest

2015-07-10 Thread Ian Jackson
Chen, Tiejun writes ("Re: [v7][PATCH 13/16] libxl: construct e820 map with RDM information for HVM guest"): > I think you're right. I should make this specific to arch since here > we're talking e820. > > So I tried to refactor this patch, That looks good to me. Ian. _

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 12:09, wrote: > Il 10/07/2015 11:54, Fabio Fantoni ha scritto: >> Il 10/07/2015 11:31, Paul Durrant ha scritto: -Original Message- From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] Sent: 10 July 2015 10:28 To: Paul Durrant; xen-devel@lists.xen.org >

Re: [Xen-devel] [PATCH v2 16/27] tools/libxl: Infrastructure for reading a libxl migration v2 stream

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > From: Ross Lagerwall > > This contains the event machinary and state machines to read an act on a "machinery" [...] > Large quantities of the logic here are completely overhauled since v1, mostly > as part of fixing the checkpoint buff

Re: [Xen-devel] [v7][PATCH 16/16] tools: parse to enable new rdm policy parameters

2015-07-10 Thread Ian Jackson
Chen, Tiejun writes ("Re: [v7][PATCH 16/16] tools: parse to enable new rdm policy parameters"): > > The first issue (which would really be relevant to the documentation > > patch) is that the documentation is in a separate commit. There are > > sometimes valid reasons for doing this. I'm not sur

Re: [Xen-devel] [PATCH v2 17/27] tools/libxl: Support converting a legacy stream to a v2 stream

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > When a legacy stream is found, it needs to be converted to a v2 stream for the > reading logic. This is done by exec()ing the python conversion utility. > > One complication is that the caller of this interface needs to assume > ownership

Re: [Xen-devel] [PATCH] x86/MSI: fix guest unmasking when handling IRQ via event channel

2015-07-10 Thread Ian Campbell
On Wed, 2015-07-08 at 09:56 +0100, Jan Beulich wrote: > Rather than assuming only PV guests need special treatment (and > dealing with that directly when an IRQ gets set up), keep all guest MSI > IRQs masked until either the (HVM) guest unmasks them via vMSI or the > (PV, PVHVM, or PVH) guest sets

Re: [Xen-devel] [PATCH v5 2/4] x86/vm_event: toggle singlestep from vm_event response

2015-07-10 Thread Jan Beulich
>>> On 09.07.15 at 15:14, wrote: > Add an option to the vm_event response to toggle singlestepping on the vCPU. > This is only supported on Intel CPUs which have Monitor Trap Flag > capability. > > Singed-off-by: Tamas K Lengyel > Acked-by: Razvan Cojocaru Acked-by: Jan Beulich > --- > MAI

Re: [Xen-devel] [PATCH v2 18/27] tools/libxl: Convert a legacy stream if needed

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > For backwards compatibility, a legacy stream needs converting before it can be > read by the v2 stream logic. > > This causes the v2 stream logic to need to juggle two parallel tasks. > check_stream_finished() is introduced for the purpose

[Xen-devel] [ovmf test] 59302: tolerable FAIL - PUSHED

2015-07-10 Thread osstest service owner
flight 59302 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/59302/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail like 59179 test-amd64-i386-xl-qemuu-win7-amd64 1

Re: [Xen-devel] [PATCH 2/9] libxl: poll: Use poller_get and poller_put for poller_app

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:50PM +0100, Ian Jackson wrote: > This makes the code more regular. We are going to want to do some > more work in poller_get and poller_put, which work also wants to be > done for poller_app. > > Two very minor functional changes: > > * We call malloc an extra time

Re: [Xen-devel] [PATCH 1/9] libxl: poll: Make libxl__poller_get have only one success return path

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:49PM +0100, Ian Jackson wrote: > In preparation for doing some more work on successful exit. > > No functional change. > > Signed-off-by: Ian Jackson > CC: Jim Fehlig Acked-by: Wei Liu ___ Xen-devel mailing list Xen-de

Re: [Xen-devel] [PATCH v2 17/27] tools/libxl: Support converting a legacy stream to a v2 stream

2015-07-10 Thread Andrew Cooper
On 10/07/15 11:28, Ian Campbell wrote: > On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: >> When a legacy stream is found, it needs to be converted to a v2 stream for >> the >> reading logic. This is done by exec()ing the python conversion utility. >> >> One complication is that the calle

Re: [Xen-devel] [PATCH 3/9] libxl: poll: Avoid fd deregistration race POLLNVAL crash

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:51PM +0100, Ian Jackson wrote: > It can happen that an fd is deregistered, and closed, and then a new > fd opened, and reregistered, all while another thread is in poll(). > > If this happens poll might report POLLNVAL, but the event loop would > think that the fd was

Re: [Xen-devel] [PATCH 4/9] libxl: event tests: Improve Makefile doc comment

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:52PM +0100, Ian Jackson wrote: > Including the explanation of how to run these tests. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu > --- > tools/libxl/Makefile |8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/tools/libxl/Mak

Re: [Xen-devel] [PATCH v5] x86/arm/mm: use gfn instead of pfn in p2m_get_mem_access/p2m_set_mem_access

2015-07-10 Thread Jan Beulich
>>> On 02.07.15 at 18:14, wrote: > On 02/07/15 14:18, Vitaly Kuznetsov wrote: >> 'pfn' and 'start_pfn' are ambiguous, both these functions expect GFNs as >> input. >> >> On x86 the interface of p2m_set_mem_access() in p2m.c doesn't match the >> declaration in p2m-common.h as 'pfn' is being used

Re: [Xen-devel] [PATCH 6/9] libxl: event tests: Provide libxl_test_fdevent

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:54PM +0100, Ian Jackson wrote: > We are going to use this shortly. But, it is nicely self-contained. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.o

Re: [Xen-devel] [PATCH 5/9] libxl: event tests: Contemplate separate tests

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:53PM +0100, Ian Jackson wrote: > Split LIBXL_TESTS into two variables, each of which gets all of > LIBXL_TESTS, so that we can have tests which do use generic test > helper inside functions, rather than test-specific ones. > > Signed-off-by: Ian Jackson Acked-by: We

Re: [Xen-devel] [PATCH 7/9] libxl: event tests: Provide miniature poll machinery

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:55PM +0100, Ian Jackson wrote: > This allows a test case to have a poll-based event loop with exact > control of the sequence of operations. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen

Re: [Xen-devel] [PATCH 8/9] libxl: event tests: Introduce `fdderegrace' test

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:56PM +0100, Ian Jackson wrote: > This exercises the potential race between fd deregistration and > poll(). (Because we have control of the individual steps, we can do > the whole test in a single thread and ensure that the pessimal order > is always reached.) > > Sig

Re: [Xen-devel] [PATCH v2 19/27] tools/libxc+libxl+xl: Restore v2 streams

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > #define LIBXL_HAVE_SOCKET_BITMAP_ALLOC 1 > > +/* > + * LIBXL_HAVE_STREAM_V2 These all need another word in them I think. _MIGRATION_, or _SRM_ or ... (I think I prefer SRM since migration is just one aspect) > @@ -439,6 +447,28 @@ stati

Re: [Xen-devel] [PATCH 9/9] libxl: event tests: test_timedereg: Fix rc handling

2015-07-10 Thread Wei Liu
On Thu, Jul 09, 2015 at 06:47:57PM +0100, Ian Jackson wrote: > In 31c836f4 "libxl: events: Permit timeouts to signal ao abort", > timeout callbacks take an extra rc argument. > > In that patch the wrong assertion is made about the rc in > test_timedereg's `occurs' callback. Fix this to make the t

[Xen-devel] Requesting for freeze exception for ARM/ITS patches

2015-07-10 Thread Vijay Kilari
Hi Wei, I would like to have freeze exception for ITS feature on ARM64. Design got freeze few weeks back and I have sent v4 version of patch series today. This patches will not impact any generic code of other platforms and have minor changes generic arm related code. Also these patches are o

Re: [Xen-devel] [PATCH v2 16/27] tools/libxl: Infrastructure for reading a libxl migration v2 stream

2015-07-10 Thread Andrew Cooper
On 10/07/15 11:23, Ian Campbell wrote: > On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: >> From: Ross Lagerwall >> >> This contains the event machinary and state machines to read an act on a > "machinery" > > [...] > > >> Large quantities of the logic here are completely overhauled since

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Fabio Fantoni
Il 10/07/2015 12:20, Jan Beulich ha scritto: On 10.07.15 at 12:09, wrote: Il 10/07/2015 11:54, Fabio Fantoni ha scritto: Il 10/07/2015 11:31, Paul Durrant ha scritto: -Original Message- From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] Sent: 10 July 2015 10:28 To: Paul Durrant; xen-d

Re: [Xen-devel] [PATCH 20/27] tools/libxl: Infrastructure for writing a v2 stream

2015-07-10 Thread Ian Campbell
On Mon, 2015-06-15 at 14:44 +0100, Andrew Cooper wrote: > +void libxl__stream_write_start(libxl__egc *egc, > + libxl__stream_write_state *stream) > +{ > +libxl__datacopier_state *dc = &stream->dc; > +STATE_AO_GC(stream->ao); > +struct libxl_sr_hdr hdr = { 0

Re: [Xen-devel] [PATCH v2 21/27] tools/libxc+libxl+xl: Save v2 streams

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > This is a complicated set of changes which must be done together for > bisectability. > > * libxl-save-helper is updated to unconditionally use libxc migration v2. > * libxl compatibility workarounds in libxc are disabled for save operati

Re: [Xen-devel] [PATCH v2 22/27] docs/libxl: Introduce CHECKPOINT_END to support migration v2 remus streams

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > In a remus senario, libxc will write a CHECKPOINT record, then hand ownership > of the fd to libxl. Libxl then writes any records required and finishes with > a CHECKPOINT_END record, then hands ownership of the fd back to libxc. > > Signe

Re: [Xen-devel] [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 12:51, wrote: > Il 10/07/2015 12:20, Jan Beulich ha scritto: >> Other than MOVD, MOVAPS is already being supported by the >> insn emulator. >> > Then why do you think MOVAPS fails in my test? No idea. That's what Paul asked you to narrow down. > Sse2 was introduced in cpus 11

Re: [Xen-devel] Requesting for freeze exception for ARM/ITS patches

2015-07-10 Thread Jan Beulich
>>> On 10.07.15 at 12:46, wrote: > I would like to have freeze exception for ITS feature on ARM64. > Design got freeze few weeks back and I have sent v4 version of patch series > today. > > This patches will not impact any generic code of other platforms and have > minor > changes generic ar

Re: [Xen-devel] [PATCH v2 23/27] tools/libxl: Write checkpoint records into the stream

2015-07-10 Thread Ian Campbell
On Thu, 2015-07-09 at 19:26 +0100, Andrew Cooper wrote: > @@ -187,13 +217,24 @@ static void stream_failed(libxl__egc *egc, > assert(rc); > stream->rc = rc; > > -if (stream->running) > +if (stream->running) { > +/* > + *If we are in a checkpoint, pass the failure

Re: [Xen-devel] [PATCH 20/27] tools/libxl: Infrastructure for writing a v2 stream

2015-07-10 Thread Andrew Cooper
On 10/07/15 11:55, Ian Campbell wrote: > On Mon, 2015-06-15 at 14:44 +0100, Andrew Cooper wrote: >> +void libxl__stream_write_start(libxl__egc *egc, >> + libxl__stream_write_state *stream) >> +{ >> +libxl__datacopier_state *dc = &stream->dc; >> +STATE_AO_GC(str

Re: [Xen-devel] Fwd: [v3 14/15] Update Posted-Interrupts Descriptor during vCPU scheduling

2015-07-10 Thread Dario Faggioli
On Fri, 2015-07-10 at 07:22 +0100, Jan Beulich wrote: > >>> On 10.07.15 at 07:59, wrote: > > If you agree with doing all this in a central place, maybe we can create > > an arch hook for 'struct scheduler' to do this and call it in all the places > > vcpu_runstate_change() gets called. What is you

  1   2   3   >