Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Razvan Cojocaru
On 01/27/2016 10:06 PM, Tamas K Lengyel wrote: > The altp2m subsystem in its current form uses its own HVMOP hypercall to set > mem_access permissions, duplicating some of the code already present for > setting regular mem_access permissions. In this patch we consolidate the two, > deprecate the HV

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Razvan Cojocaru
On 01/27/2016 10:06 PM, Tamas K Lengyel wrote: > Extend the existing get_mem_access memop to allow querying permissions in > altp2m views as well. > > Signed-off-by: Tamas K Lengyel > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu > Cc: Razvan Cojocaru > Cc: Stefan

Re: [Xen-devel] qemu-upstream compile failure in intel_iommu.c:vtd_context_device_invalidate

2016-01-28 Thread Paolo Bonzini
On 27/01/2016 19:23, Olaf Hering wrote: > > xen.git/tools/qemu-xen-dir/hw/i386/intel_iommu.c: In function > ‘vtd_context_device_invalidate’: > xen.git/tools/qemu-xen-dir/hw/i386/intel_iommu.c:911:46: error: ‘mask’ may be > used uninitialized in this function [-Werror=maybe-uninitialized] >

Re: [Xen-devel] xen-4.6: xenstored crashes during domain->interface access

2016-01-28 Thread Stefan Bader
On 26.01.2016 11:58, Stefan Bader wrote: > Hi, > > while playing around with xen-4.6 I stumbled over an odd problem and am > wondering whether anybody has seen the same. A method to relatively quickly > reproduce this for me seems to: > > - Start one domU (PV or HVM does not seem to matter) > - R

[Xen-devel] [distros-debian-wheezy test] 38710: regressions - FAIL

2016-01-28 Thread Platform Team regression test user
flight 38710 distros-debian-wheezy real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38710/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvops 5 kernel-build fail REGR. vs. 38678 Regress

Re: [Xen-devel] [PATCH 1/2] x86/vmx: Don't clobber exception_bitmap when entering/leaving emulated real mode

2016-01-28 Thread Jan Beulich
>>> On 27.01.16 at 19:11, wrote: > Most updates to the exception bitmaps set or clear an individual bits. > > However, entering or exiting emulated real mode unilaterally clobbers it, > leaving the exit code to recalculate what it should have been. This is > error > prone, and indeed currently

Re: [Xen-devel] build Xen tool fail

2016-01-28 Thread Ian Campbell
On Thu, 2016-01-28 at 06:39 +, Hao, Xudong wrote: > Ian, > > A recent changes of tools evtchn cause a build failure with gcc 4.4.7, OS > is RHEL6.5. Thanks, this should already be fixed in staging. There was a series of fixes, the last of which was 3b971de7f1cc595ae7ef03fb6f500295a8b82630.

[Xen-devel] [PATCH] Reset runstate_guest handles on soft reset

2016-01-28 Thread Vitaly Kuznetsov
runstate_guest handles need to be reset to prevent update_runstate_area() corrupting guest's memory after we resume the guest. Signed-off-by: Vitaly Kuznetsov --- xen/common/domain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/common/domain.c b/xen/common/domain.c index 2979c1b..6

Re: [Xen-devel] xen-4.6: xenstored crashes during domain->interface access

2016-01-28 Thread Ian Campbell
On Thu, 2016-01-28 at 09:50 +0100, Stefan Bader wrote: > On 26.01.2016 11:58, Stefan Bader wrote: > > Hi, > > > > while playing around with xen-4.6 I stumbled over an odd problem and am > > wondering whether anybody has seen the same. A method to relatively > > quickly > > reproduce this for me se

Re: [Xen-devel] [PATCH v2 2/2] x86/hvm: Don't intercept #UD exceptions in general

2016-01-28 Thread Jan Beulich
>>> On 27.01.16 at 20:13, wrote: > --- a/xen/arch/x86/hvm/svm/vmcb.c > +++ b/xen/arch/x86/hvm/svm/vmcb.c > @@ -192,6 +192,7 @@ static int construct_vmcb(struct vcpu *v) > > vmcb->_exception_intercepts = > HVM_TRAP_MASK > +| (opt_hvm_fep ? (1U << TRAP_invalid_op) : 0) >

Re: [Xen-devel] schedulers and topology exposing questions

2016-01-28 Thread Dario Faggioli
On Wed, 2016-01-27 at 11:03 -0500, Elena Ufimtseva wrote: > On Wed, Jan 27, 2016 at 10:27:01AM -0500, Konrad Rzeszutek Wilk > wrote: > > On Wed, Jan 27, 2016 at 03:10:01PM +, George Dunlap wrote: > > > On 27/01/16 14:33, Konrad Rzeszutek Wilk wrote: > > > > On Tue, Jan 26, 2016 at 11:21:36AM +0

Re: [Xen-devel] Xen Project Infrastructure Maintenance: xenbits (Jan 28), qemu-bitslave & mail & downloads.xenproject.org (Feb 1), lists & etherpad (Feb 4th)

2016-01-28 Thread Lars Kurth
Hi everyone, due to a problem during an upgrade from Debian Wheezy to Debian Jessie, xenbits will be unavailable for an unknown period. The server is not responding and we have to wait for the support of the service provider to rectify the issue. I will let you know, once the issue is resolved.

Re: [Xen-devel] schedulers and topology exposing questions

2016-01-28 Thread Dario Faggioli
On Wed, 2016-01-27 at 15:53 +, George Dunlap wrote: > On 27/01/16 15:27, Konrad Rzeszutek Wilk wrote: > >  > > So Elena started looking at the CPU bound and seeing how Xen > > behaves then > > and if we can improve the floating situation as she saw some > > abnormal > > behavious. > > OK -- if

Re: [Xen-devel] xen-4.6: xenstored crashes during domain->interface access

2016-01-28 Thread Stefan Bader
On 28.01.2016 10:39, Ian Campbell wrote: > On Thu, 2016-01-28 at 09:50 +0100, Stefan Bader wrote: >> On 26.01.2016 11:58, Stefan Bader wrote: >>> Hi, >>> >>> while playing around with xen-4.6 I stumbled over an odd problem and am >>> wondering whether anybody has seen the same. A method to relative

Re: [Xen-devel] [Qemu-devel] qemu-upstream compile failure in intel_iommu.c:vtd_context_device_invalidate

2016-01-28 Thread Peter Maydell
On 28 January 2016 at 08:45, Paolo Bonzini wrote: > > > On 27/01/2016 19:23, Olaf Hering wrote: >> >> xen.git/tools/qemu-xen-dir/hw/i386/intel_iommu.c: In function >> ‘vtd_context_device_invalidate’: >> xen.git/tools/qemu-xen-dir/hw/i386/intel_iommu.c:911:46: error: ‘mask’ may >> be used uniniti

Re: [Xen-devel] Developers for virgl 3d windows guest support

2016-01-28 Thread Fabio Fantoni
Il 27/01/2016 19:37, Konrad Rzeszutek Wilk ha scritto: On Tue, Jan 26, 2016 at 05:48:34PM +0100, Fabio Fantoni wrote: I take a fast look to virgl 3d project even if I not tested it for now. It seems interesting for adding 2d and 3d hw acceleration support to virtual machines with a large hw (gpu

Re: [Xen-devel] [PATCH v6 6/8] arm/gic-v3: Refactor gicv3_init into generic and dt specific parts

2016-01-28 Thread Stefano Stabellini
On Thu, 28 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Refactor gic-v3 related functions into dt and generic parts. This will be > helpful when adding acpi support for gic-v3. > > Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini > v6: keep vsize check in gicv3_init_v2

Re: [Xen-devel] [PATCH RESEND] fix MSI injection on Xen

2016-01-28 Thread Stefano Stabellini
On Wed, 27 Jan 2016, Konrad Rzeszutek Wilk wrote: > On Wed, Jan 13, 2016 at 02:59:09PM +, Stefano Stabellini wrote: > > On Xen MSIs can be remapped into pirqs, which are a type of event > > channels. It's mostly for the benefit of PCI passthrough devices, to > > avoid the overhead of interactin

Re: [Xen-devel] [PATCH v4 05/21] arm/acpi: Add basic ACPI initialization

2016-01-28 Thread Shannon Zhao
On 2016/1/27 22:54, Stefano Stabellini wrote: > On Sat, 23 Jan 2016, Shannon Zhao wrote: >> > From: Shannon Zhao >> > >> > acpi_boot_table_init() will be called in start_xen to get the RSDP and >> > all the table pointers. With this patch, we can get ACPI boot-time >> > tables from firmware on

Re: [Xen-devel] [PATCH] xenstore: add stddef.h to xenstore_lib.h

2016-01-28 Thread Wei Liu
On Wed, Jan 27, 2016 at 05:06:09PM +, Ian Campbell wrote: > xs_perm_to_string takes a size_t which isn't defined by anything > pulled in directly by this header. > > Given the other headers xenstore_lib.h pulls in this looks to be an > oversight rather than a deliberate policy. > > Signed-off

Re: [Xen-devel] [PATCH v4 08/21] arm/acpi: Parse MADT to map logical cpu to MPIDR and get cpu_possible_map

2016-01-28 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao 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 into cpu_po

Re: [Xen-devel] [PATCH v4 05/21] arm/acpi: Add basic ACPI initialization

2016-01-28 Thread Stefano Stabellini
On Thu, 28 Jan 2016, Shannon Zhao wrote: > On 2016/1/27 22:54, Stefano Stabellini wrote: > > On Sat, 23 Jan 2016, Shannon Zhao wrote: > >> > From: Shannon Zhao > >> > > >> > acpi_boot_table_init() will be called in start_xen to get the RSDP and > >> > all the table pointers. With this patch, we c

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Wei Liu
On Wed, Jan 27, 2016 at 01:06:40PM -0700, Tamas K Lengyel wrote: > The altp2m subsystem in its current form uses its own HVMOP hypercall to set > mem_access permissions, duplicating some of the code already present for > setting regular mem_access permissions. In this patch we consolidate the two,

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Wei Liu
On Wed, Jan 27, 2016 at 01:06:41PM -0700, Tamas K Lengyel wrote: > Extend the existing get_mem_access memop to allow querying permissions in > altp2m views as well. > > Signed-off-by: Tamas K Lengyel > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu > Cc: Razvan Cojo

Re: [Xen-devel] [PATCH] tools/libxl: improve logging on domain create failure.

2016-01-28 Thread Wei Liu
On Tue, Jan 26, 2016 at 02:38:46PM +, Ian Campbell wrote: > A user reported[0] that xl create failed with just: > libxl: error: libxl_create.c:892:initiate_domain_create: Unable to set > domain build info defaults > and some resulting fallout, but without indicating why it was unable > to

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Ian Campbell
--- a/tools/libxc/include/xenctrl.h > > +++ b/tools/libxc/include/xenctrl.h > > @@ -2027,9 +2027,6 @@ int xc_altp2m_destroy_view(xc_interface *handle, > > domid_t domid, > >  /* Switch all vCPUs of the domain to the specified altp2m view */ > >  int xc_altp2m_switch_to_view(xc_interface *handle, do

Re: [Xen-devel] [PATCH v2 2/2] x86/hvm: Don't intercept #UD exceptions in general

2016-01-28 Thread Andrew Cooper
On 28/01/16 09:42, Jan Beulich wrote: On 27.01.16 at 20:13, wrote: >> --- a/xen/arch/x86/hvm/svm/vmcb.c >> +++ b/xen/arch/x86/hvm/svm/vmcb.c >> @@ -192,6 +192,7 @@ static int construct_vmcb(struct vcpu *v) >> >> vmcb->_exception_intercepts = >> HVM_TRAP_MASK >> +| (opt

Re: [Xen-devel] [PATCH v4 09/21] arm/acpi: Add ACPI support for SMP initialization

2016-01-28 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao 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 > for the AC

[Xen-devel] [PATCH] xl: don't free additional memory on soft reset

2016-01-28 Thread Vitaly Kuznetsov
We don't need to free anything extra from Dom0 in order to perform soft reset. It can also fail soft reset if it happens that we don't have this memory (which we don't need) available. Signed-off-by: Vitaly Kuznetsov --- tools/libxl/xl_cmdimpl.c | 12 +++- 1 file changed, 7 insertions(+)

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Wei Liu
On Thu, Jan 28, 2016 at 10:55:36AM +, Ian Campbell wrote: > --- a/tools/libxc/include/xenctrl.h > > > +++ b/tools/libxc/include/xenctrl.h > > > @@ -2027,9 +2027,6 @@ int xc_altp2m_destroy_view(xc_interface *handle, > > > domid_t domid, > > >  /* Switch all vCPUs of the domain to the specified a

[Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread Corneliu ZUZU
This patch implements ARM support for guest-request vm-events. The code has been ported from x86 side w/ minor adjustments. Signed-off-by: Corneliu ZUZU --- xen/arch/arm/Makefile | 2 + xen/arch/arm/event.c| 86 xen/arch/arm/hvm.c

Re: [Xen-devel] [PATCH v4 05/21] arm/acpi: Add basic ACPI initialization

2016-01-28 Thread Shannon Zhao
On 2016/1/28 18:44, Stefano Stabellini wrote: > On Thu, 28 Jan 2016, Shannon Zhao wrote: >> > On 2016/1/27 22:54, Stefano Stabellini wrote: >>> > > On Sat, 23 Jan 2016, Shannon Zhao wrote: > > >> > From: Shannon Zhao > > >> > > > >> > acpi_boot_table_init() will be called in start_x

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

2016-01-28 Thread osstest service owner
flight 79208 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/79208/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3865 xen-build fail REGR. vs. 59254 build-amd64

Re: [Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread Ian Campbell
On Thu, 2016-01-28 at 13:17 +0200, Corneliu ZUZU wrote: > This patch implements ARM support for guest-request vm-events. > The code has been ported from x86 side w/ minor adjustments. I've not looked at the patch yet, but if it only involves minor adjustments from the x86 side can some amount of i

Re: [Xen-devel] [PATCH v4 05/21] arm/acpi: Add basic ACPI initialization

2016-01-28 Thread Stefano Stabellini
On Thu, 28 Jan 2016, Shannon Zhao wrote: > On 2016/1/28 18:44, Stefano Stabellini wrote: > > On Thu, 28 Jan 2016, Shannon Zhao wrote: > >> > On 2016/1/27 22:54, Stefano Stabellini wrote: > >>> > > On Sat, 23 Jan 2016, Shannon Zhao wrote: > > > >> > From: Shannon Zhao > > > >> > > > >

Re: [Xen-devel] [PATCH v2 2/2] x86/hvm: Don't intercept #UD exceptions in general

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 11:55, wrote: > On 28/01/16 09:42, Jan Beulich wrote: > On 27.01.16 at 20:13, wrote: >>> --- a/xen/arch/x86/hvm/svm/vmcb.c >>> +++ b/xen/arch/x86/hvm/svm/vmcb.c >>> @@ -192,6 +192,7 @@ static int construct_vmcb(struct vcpu *v) >>> >>> vmcb->_exception_intercepts = >>

Re: [Xen-devel] [Spice-devel] Developers for virgl 3d windows guest support

2016-01-28 Thread Gerd Hoffmann
Hi, > About virtio-gpu using virgl3d project for 3d hw acceleration support > and is what I mainly watching for its large gpu choice/support, seems > any gpu that have a drm driver in host kernel is supported by virgl, or > I'm wrong? You need a mesa driver too. But, yes, pretty much any mo

Re: [Xen-devel] Xen Project Infrastructure Maintenance: xenbits (Jan 28), qemu-bitslave & mail & downloads.xenproject.org (Feb 1), lists & etherpad (Feb 4th)

2016-01-28 Thread Lars Kurth
Hi everyone, http://xenbits.xen.org/ is live again. This means that access to git repositories, on-line documentation and information to XSA's has been restored. Apologies for any inconvenience that was caused. Best Regards Lars ___ Xen-devel mailing

[Xen-devel] Xen 4.4.4 released

2016-01-28 Thread Jan Beulich
All, I am pleased to announce the release of Xen 4.4.4. This is available immediately from its git repository http://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4.4 (tag RELEASE-4.4.4) or from the XenProject download page http://www.xenproject.org/downloads/xen-archives/xen-4

[Xen-devel] [linux-4.1 test] 79218: regressions - FAIL

2016-01-28 Thread osstest service owner
flight 79218 linux-4.1 real [real] http://logs.test-lab.xenproject.org/osstest/logs/79218/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-pvops 5 kernel-build fail REGR. vs. 66399 build-i386

Re: [Xen-devel] [PATCH v4 05/21] arm/acpi: Add basic ACPI initialization

2016-01-28 Thread Shannon Zhao
On 2016/1/28 19:27, Stefano Stabellini wrote: > On Thu, 28 Jan 2016, Shannon Zhao wrote: >> On 2016/1/28 18:44, Stefano Stabellini wrote: >>> On Thu, 28 Jan 2016, Shannon Zhao wrote: > On 2016/1/27 22:54, Stefano Stabellini wrote: >>> On Sat, 23 Jan 2016, Shannon Zhao wrote: >>> F

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

2016-01-28 Thread osstest service owner
flight 79178 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/79178/ 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. 79027 test-armhf-armhf-xl

Re: [Xen-devel] [PATCH v4 01/21] arm/acpi: Emulate io ports for arm

2016-01-28 Thread Shannon Zhao
On 2016/1/27 20:52, Stefano Stabellini wrote: > On Sat, 23 Jan 2016, Shannon Zhao wrote: >> From: Shannon Zhao >> >> Add macros to emulate x86 style ports for arm. This avoids modification in >> common code for acpi. Here just print a warning on ARM. >> >> Signed-off-by: Shannon Zhao >> --- >>

Re: [Xen-devel] [PATCH v4 19/21] arm/acpi: Initialize serial port from ACPI SPCR table

2016-01-28 Thread Shannon Zhao
On 2016/1/25 23:05, Jan Beulich wrote: On 23.01.16 at 10:20, wrote: >> --- a/xen/include/acpi/actbl2.h >> +++ b/xen/include/acpi/actbl2.h >> @@ -815,6 +815,15 @@ struct acpi_table_spcr { >> >> #define ACPI_SPCR_DO_NOT_DISABLE(1) >> >> +/* SPCR Interface type */ >> +#define ACPI_SPC

Re: [Xen-devel] [PATCH v4 01/21] arm/acpi: Emulate io ports for arm

2016-01-28 Thread Stefano Stabellini
On Thu, 28 Jan 2016, Shannon Zhao wrote: > On 2016/1/27 20:52, Stefano Stabellini wrote: > > On Sat, 23 Jan 2016, Shannon Zhao wrote: > >> From: Shannon Zhao > >> > >> Add macros to emulate x86 style ports for arm. This avoids modification in > >> common code for acpi. Here just print a warning on

Re: [Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread CORNELIU ZUZU
On 1/28/2016 1:23 PM, Ian Campbell wrote: On Thu, 2016-01-28 at 13:17 +0200, Corneliu ZUZU wrote: This patch implements ARM support for guest-request vm-events. The code has been ported from x86 side w/ minor adjustments. I've not looked at the patch yet, but if it only involves minor adjustmen

Re: [Xen-devel] [PATCH v4 05/21] arm/acpi: Add basic ACPI initialization

2016-01-28 Thread Stefano Stabellini
On Thu, 28 Jan 2016, Shannon Zhao wrote: > On 2016/1/28 19:27, Stefano Stabellini wrote: > > On Thu, 28 Jan 2016, Shannon Zhao wrote: > >> On 2016/1/28 18:44, Stefano Stabellini wrote: > >>> On Thu, 28 Jan 2016, Shannon Zhao wrote: > > On 2016/1/27 22:54, Stefano Stabellini wrote: > >>> On

Re: [Xen-devel] [PATCH] Reset runstate_guest handles on soft reset

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 10:34, wrote: > --- a/xen/common/domain.c > +++ b/xen/common/domain.c > @@ -1074,7 +1074,10 @@ int domain_soft_reset(struct domain *d) > grant_table_warn_active_grants(d); > > for_each_vcpu ( d, v ) > +{ > +memset(&runstate_guest(v), 0, sizeof(runstate_gu

Re: [Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread Ian Campbell
On Thu, 2016-01-28 at 14:36 +0200, CORNELIU ZUZU wrote: > On 1/28/2016 1:23 PM, Ian Campbell wrote: > > On Thu, 2016-01-28 at 13:17 +0200, Corneliu ZUZU wrote: > > > This patch implements ARM support for guest-request vm-events. > > > The code has been ported from x86 side w/ minor adjustments. > >

Re: [Xen-devel] [PATCH v4 11/21] arm: Introduce a generic way to use a device from acpi

2016-01-28 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao wrote: > From: Parth Dixit > > Add generic way to use device from acpi similar to the way it is > supported in device tree. > > Signed-off-by: Parth Dixit > Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini > V4: drop __attribute__ > --- > xen/arc

Re: [Xen-devel] [PATCH v4 12/21] arm/irq: Drop the DT prefix of the irq line type

2016-01-28 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Make these types generic to DT and ACPI. So they are can be used in ACPI > codes. > > Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini > xen/arch/arm/domain_build.c | 10 - > xen/arch/arm/gic-hip04.c

Re: [Xen-devel] [PATCH v2] build: specify minimum versions of make and binutils

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 00:12, wrote: > To help people avoid having to figure out what versions of make and > binutils need to be supported document them explicitly. The version of > binutils that had to be supported was mentioned in > http://lists.xenproject.org/archives/html/xen-devel/2016-01/msg0060

Re: [Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 02:45 PM, Ian Campbell wrote: > On Thu, 2016-01-28 at 14:36 +0200, CORNELIU ZUZU wrote: >> On 1/28/2016 1:23 PM, Ian Campbell wrote: >>> On Thu, 2016-01-28 at 13:17 +0200, Corneliu ZUZU wrote: This patch implements ARM support for guest-request vm-events. The code has been p

Re: [Xen-devel] [PATCH v4 13/21] arm/gic-v2: Add ACPI boot support for GICv2

2016-01-28 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao wrote: > From: Parth Dixit > > ACPI on Xen hypervisor uses MADT table for proper GIC initialization. > First get the GIC version from GIC Distributor. Then parse GIC related > subtables, collect CPU interface and distributor addresses and call > driver initializa

Re: [Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread Corneliu ZUZU
On 1/28/2016 2:45 PM, Ian Campbell wrote: On Thu, 2016-01-28 at 14:36 +0200, CORNELIU ZUZU wrote: On 1/28/2016 1:23 PM, Ian Campbell wrote: On Thu, 2016-01-28 at 13:17 +0200, Corneliu ZUZU wrote: This patch implements ARM support for guest-request vm-events. The code has been ported from x86 s

Re: [Xen-devel] [PATCH v4 19/21] arm/acpi: Initialize serial port from ACPI SPCR table

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 13:33, wrote: > On 2016/1/25 23:05, Jan Beulich wrote: > On 23.01.16 at 10:20, wrote: >>> --- a/xen/include/acpi/actbl2.h >>> +++ b/xen/include/acpi/actbl2.h >>> @@ -815,6 +815,15 @@ struct acpi_table_spcr { >>> >>> #define ACPI_SPCR_DO_NOT_DISABLE(1) >>> >>> +/* S

Re: [Xen-devel] [PATCH v2] build: specify minimum versions of make and binutils

2016-01-28 Thread Ian Campbell
On Thu, 2016-01-28 at 05:49 -0700, Jan Beulich wrote: > > > > On 28.01.16 at 00:12, wrote: > > To help people avoid having to figure out what versions of make and > > binutils need to be supported document them explicitly. The version of > > binutils that had to be supported was mentioned in > > h

Re: [Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread Ian Campbell
On Thu, 2016-01-28 at 14:57 +0200, Corneliu ZUZU wrote: >  > > Ok, great. I'll try it tonight and post a patch series ASAP. > Concerning the CC list, Razvan actually noticed me earlier that he and > Tamas should have > been on it for this patch, since it is vm-events related. He said the > probl

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Jan Beulich
>>> On 27.01.16 at 21:06, wrote: > --- a/xen/include/public/hvm/hvm_op.h > +++ b/xen/include/public/hvm/hvm_op.h > @@ -431,18 +431,6 @@ struct xen_hvm_altp2m_view { > typedef struct xen_hvm_altp2m_view xen_hvm_altp2m_view_t; > DEFINE_XEN_GUEST_HANDLE(xen_hvm_altp2m_view_t); > > -struct xen_hvm

[Xen-devel] [PATCH v2] Reset runstate_guest handles on soft reset

2016-01-28 Thread Vitaly Kuznetsov
runstate_guest handles need to be reset to prevent update_runstate_area() corrupting guest's memory after we resume the guest. Signed-off-by: Vitaly Kuznetsov --- Changes since v1: - use set_xen_guest_handle() instead of raw memset() [Jan Beulich] --- xen/common/domain.c | 3 +++ 1 file changed,

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Jan Beulich
>>> On 27.01.16 at 21:06, wrote: > --- a/xen/arch/x86/mm/p2m.c > +++ b/xen/arch/x86/mm/p2m.c > @@ -1572,7 +1572,9 @@ void p2m_mem_access_emulate_check(struct vcpu *v, > bool_t violation = 1; > const struct vm_event_mem_access *data = &rsp->u.mem_access; > > -if ( p2m_ge

Re: [Xen-devel] [PATCH v2] build: specify minimum versions of make and binutils

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 14:02, wrote: > On Thu, 2016-01-28 at 05:49 -0700, Jan Beulich wrote: >> > > > On 28.01.16 at 00:12, wrote: >> > To help people avoid having to figure out what versions of make and >> > binutils need to be supported document them explicitly. The version of >> > binutils that ha

[Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
This patch pauses the domain for all writes through the 'ad' pointer in monitor_domctl(), defers a domain_unpause() call until after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG case, and makes sure that the domain is paused for both vm_event enable and disable cases in vm_event_domctl()

Re: [Xen-devel] [PATCH] ARM: Support for guest-request vm-events

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 03:03 PM, Ian Campbell wrote: > On Thu, 2016-01-28 at 14:57 +0200, Corneliu ZUZU wrote: >> >> >> Ok, great. I'll try it tonight and post a patch series ASAP. >> Concerning the CC list, Razvan actually noticed me earlier that he and >> Tamas should have >> been on it for this patch,

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Andrew Cooper
On 28/01/16 13:52, Razvan Cojocaru wrote: > This patch pauses the domain for all writes through the 'ad' > pointer in monitor_domctl(), defers a domain_unpause() call until > after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG > case, and makes sure that the domain is paused for both vm_e

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 04:10 PM, Andrew Cooper wrote: > On 28/01/16 13:52, Razvan Cojocaru wrote: >> This patch pauses the domain for all writes through the 'ad' >> pointer in monitor_domctl(), defers a domain_unpause() call until >> after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG >> case, and

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Lengyel, Tamas
On Jan 28, 2016 4:00 AM, "Wei Liu" wrote: > > On Thu, Jan 28, 2016 at 10:55:36AM +, Ian Campbell wrote: > > --- a/tools/libxc/include/xenctrl.h > > > > +++ b/tools/libxc/include/xenctrl.h > > > > @@ -2027,9 +2027,6 @@ int xc_altp2m_destroy_view(xc_interface *handle, > > > > domid_t domid, > >

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Lengyel, Tamas
On Jan 28, 2016 6:18 AM, "Jan Beulich" wrote: > > >>> On 27.01.16 at 21:06, wrote: > > --- a/xen/include/public/hvm/hvm_op.h > > +++ b/xen/include/public/hvm/hvm_op.h > > @@ -431,18 +431,6 @@ struct xen_hvm_altp2m_view { > > typedef struct xen_hvm_altp2m_view xen_hvm_altp2m_view_t; > > DEFINE_X

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Wei Liu
On Thu, Jan 28, 2016 at 07:30:31AM -0700, Lengyel, Tamas wrote: > On Jan 28, 2016 4:00 AM, "Wei Liu" wrote: > > > > On Thu, Jan 28, 2016 at 10:55:36AM +, Ian Campbell wrote: > > > --- a/tools/libxc/include/xenctrl.h > > > > > +++ b/tools/libxc/include/xenctrl.h > > > > > @@ -2027,9 +2027,6 @@

Re: [Xen-devel] [PATCH 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 15:34, wrote: > On Jan 28, 2016 6:18 AM, "Jan Beulich" wrote: >> >> >>> On 27.01.16 at 21:06, wrote: >> > --- a/xen/include/public/hvm/hvm_op.h >> > +++ b/xen/include/public/hvm/hvm_op.h >> > @@ -431,18 +431,6 @@ struct xen_hvm_altp2m_view { >> > typedef struct xen_hvm_altp2m

Re: [Xen-devel] [PATCH v2] build: specify minimum versions of make and binutils

2016-01-28 Thread Doug Goldstein
On 1/28/16 7:47 AM, Jan Beulich wrote: On 28.01.16 at 14:02, wrote: >> On Thu, 2016-01-28 at 05:49 -0700, Jan Beulich wrote: >> On 28.01.16 at 00:12, wrote: To help people avoid having to figure out what versions of make and binutils need to be supported document them explicitl

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Lengyel, Tamas
On Jan 28, 2016 6:38 AM, "Jan Beulich" wrote: > > >>> On 27.01.16 at 21:06, wrote: > > --- a/xen/arch/x86/mm/p2m.c > > +++ b/xen/arch/x86/mm/p2m.c > > @@ -1572,7 +1572,9 @@ void p2m_mem_access_emulate_check(struct vcpu *v, > > bool_t violation = 1; > > const struct vm_event_mem_

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 04:10 PM, Andrew Cooper wrote: > On 28/01/16 13:52, Razvan Cojocaru wrote: >> This patch pauses the domain for all writes through the 'ad' >> pointer in monitor_domctl(), defers a domain_unpause() call until >> after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG >> case, and

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 15:42, wrote: > On Jan 28, 2016 6:38 AM, "Jan Beulich" wrote: >> >>> On 27.01.16 at 21:06, wrote: >> > --- a/xen/arch/x86/mm/p2m.c >> > +++ b/xen/arch/x86/mm/p2m.c >> > @@ -1572,7 +1572,9 @@ void p2m_mem_access_emulate_check(struct vcpu *v, >> > bool_t violation = 1;

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Lengyel, Tamas
On Jan 28, 2016 7:56 AM, "Jan Beulich" wrote: > > >>> On 28.01.16 at 15:42, wrote: > > On Jan 28, 2016 6:38 AM, "Jan Beulich" wrote: > >> >>> On 27.01.16 at 21:06, wrote: > >> > --- a/xen/arch/x86/mm/p2m.c > >> > +++ b/xen/arch/x86/mm/p2m.c > >> > @@ -1572,7 +1572,9 @@ void p2m_mem_access_emula

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 04:42 PM, Lengyel, Tamas wrote: > > On Jan 28, 2016 6:38 AM, "Jan Beulich" > wrote: >> >> >>> On 27.01.16 at 21:06, > wrote: >> > --- a/xen/arch/x86/mm/p2m.c >> > +++ b/xen/arch/x86/mm/p2m.c >> > @@ -1572,7 +1572,9 @@ void p2m_

Re: [Xen-devel] schedulers and topology exposing questions

2016-01-28 Thread Dario Faggioli
On Wed, 2016-01-27 at 10:27 -0500, Konrad Rzeszutek Wilk wrote: > On Wed, Jan 27, 2016 at 03:10:01PM +, George Dunlap wrote: > >  > > I'm not sure I understand the situation right, but it sounds a bit > > like > > what you're seeing is just a quirk of the fact that Linux doesn't > > always > >

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Lengyel, Tamas
On Jan 28, 2016 8:02 AM, "Razvan Cojocaru" wrote: > > On 01/28/2016 04:42 PM, Lengyel, Tamas wrote: > > > > On Jan 28, 2016 6:38 AM, "Jan Beulich" > > wrote: > >> > >> >>> On 27.01.16 at 21:06, > > wrote: > >> > --- a/xen/arch/x86/mm/p2m.c >

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 05:12 PM, Lengyel, Tamas wrote: > > On Jan 28, 2016 8:02 AM, "Razvan Cojocaru" > wrote: >> >> On 01/28/2016 04:42 PM, Lengyel, Tamas wrote: >> > >> > On Jan 28, 2016 6:38 AM, "Jan Beulich" >> >

Re: [Xen-devel] Revokable Grants Design (draft B)

2016-01-28 Thread Jan Beulich
>>> On 25.01.16 at 18:20, wrote: > High Level Design > = > > A revokable grant is indicated by an additional flag in the grant > table entry. A domain may only map such a grant using a new sub-op > (`GNTABOP_map_revokable`) and must supply a local GFN. > > When the granting doma

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Lengyel, Tamas
On Thu, Jan 28, 2016 at 8:20 AM, Razvan Cojocaru wrote: > On 01/28/2016 05:12 PM, Lengyel, Tamas wrote: > > > > On Jan 28, 2016 8:02 AM, "Razvan Cojocaru" > > wrote: > >> > >> On 01/28/2016 04:42 PM, Lengyel, Tamas wrote: > >> > > >> > On Jan 28, 2016 6:38 AM, "

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 05:58 PM, Lengyel, Tamas wrote: > > > On Thu, Jan 28, 2016 at 8:20 AM, Razvan Cojocaru > mailto:rcojoc...@bitdefender.com>> wrote: > > On 01/28/2016 05:12 PM, Lengyel, Tamas wrote: > > > > On Jan 28, 2016 8:02 AM, "Razvan Cojocaru" >

[Xen-devel] [PATCH v2] arm: clean up build variables

2016-01-28 Thread Doug Goldstein
This consolidates some of the different variables used for the ARM builds. This change was prompted by the Kconfig changes but looking back in time the CONFIG_ARM_{32,64} variables existed before Kconfig so this should just be a generic cleanup. Signed-off-by: Doug Goldstein Acked-by: Jan Beulich

Re: [Xen-devel] [PATCH v11 1/2] vmx: VT-d posted-interrupt core logic handling

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 06:12, wrote: > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -83,7 +83,140 @@ static int vmx_msr_write_intercept(unsigned int msr, > uint64_t msr_content); > static void vmx_invlpg_intercept(unsigned long vaddr); > static int vmx_vmfunc_intercept(s

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Lengyel, Tamas
On Thu, Jan 28, 2016 at 9:32 AM, Razvan Cojocaru wrote: > On 01/28/2016 05:58 PM, Lengyel, Tamas wrote: > > > > > > On Thu, Jan 28, 2016 at 8:20 AM, Razvan Cojocaru > > mailto:rcojoc...@bitdefender.com>> wrote: > > > > On 01/28/2016 05:12 PM, Lengyel, Tamas wrote: > > > > > > On Jan 2

Re: [Xen-devel] Revokable Grants Design (draft B)

2016-01-28 Thread David Vrabel
On 28/01/16 15:38, Jan Beulich wrote: On 25.01.16 at 18:20, wrote: >> High Level Design >> = >> >> A revokable grant is indicated by an additional flag in the grant >> table entry. A domain may only map such a grant using a new sub-op >> (`GNTABOP_map_revokable`) and must sup

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 06:40 PM, Lengyel, Tamas wrote: > > > On Thu, Jan 28, 2016 at 9:32 AM, Razvan Cojocaru > mailto:rcojoc...@bitdefender.com>> wrote: > > On 01/28/2016 05:58 PM, Lengyel, Tamas wrote: > > > > > > On Thu, Jan 28, 2016 at 8:20 AM, Razvan Cojocaru > > mailto:rcojoc...

Re: [Xen-devel] Revokable Grants Design (draft B)

2016-01-28 Thread Jan Beulich
>>> On 28.01.16 at 17:53, wrote: > On 28/01/16 15:38, Jan Beulich wrote: > On 25.01.16 at 18:20, wrote: >>> Grant Table Entry >>> - >>> >>> A new `GTF_revokable` flag is added. A grant reference with this bit >>> set may only be mapped with `GNTTABOP_map_revokable` or copied

Re: [Xen-devel] [PATCH 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Lengyel, Tamas
On Thu, Jan 28, 2016 at 10:04 AM, Razvan Cojocaru wrote: > On 01/28/2016 06:40 PM, Lengyel, Tamas wrote: > > > > > > On Thu, Jan 28, 2016 at 9:32 AM, Razvan Cojocaru > > mailto:rcojoc...@bitdefender.com>> wrote: > > > > On 01/28/2016 05:58 PM, Lengyel, Tamas wrote: > > > > > > > >

Re: [Xen-devel] schedulers and topology exposing questions

2016-01-28 Thread Elena Ufimtseva
On Wed, Jan 27, 2016 at 02:01:35PM +, Dario Faggioli wrote: > On Fri, 2016-01-22 at 11:54 -0500, Elena Ufimtseva wrote: > > Hello all! > > > Hey, here I am again, > > > Konrad came up with a workaround that was setting the flag for domain > > scheduler in linux > > As the guest is not aware o

Re: [Xen-devel] Error booting Xen

2016-01-28 Thread Harmandeep Kaur
Latest set looks good. No boot issues. No resets. Full log at http://paste2.org/NxHNW4vn Sorry I don't know much about source of last few lines. I was just tracing in xen when these came. I was unable to create them again. I will inform you if I get these again. Regards, Harmandeep On Wed, Jan 27

Re: [Xen-devel] [vfio-users] [PATCH v3 00/11] igd passthrough chipset tweaks

2016-01-28 Thread Alex Williamson
On Tue, 2016-01-05 at 12:41 +0100, Gerd Hoffmann wrote: >   Hi, >  > We have some code in our tree to support pci passthrough of intel > graphics devices (igd) on xen, which requires some chipset tweaks > for (a) the host bridge and (b) the lpc/isa-bridge to meat the > expectations of the guest dri

Re: [Xen-devel] [PATCH] documentation: Add disclaimer

2016-01-28 Thread David Howells
Paul E. McKenney wrote: > Good point! Would you be willing to add a Signed-off-by so I > can take the combined change, assuming Peter and Will are good > with it? Sure! David ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xe

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Tamas K Lengyel
On Thu, Jan 28, 2016 at 6:52 AM, Razvan Cojocaru wrote: > This patch pauses the domain for all writes through the 'ad' > pointer in monitor_domctl(), defers a domain_unpause() call until > after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG > case, and makes sure that the domain is paus

[Xen-devel] [linux-3.16 test] 79322: regressions - FAIL

2016-01-28 Thread osstest service owner
flight 79322 linux-3.16 real [real] http://logs.test-lab.xenproject.org/osstest/logs/79322/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-rumpuserxen6 xen-build fail REGR. vs. 77819 build-amd64-rumpuserxe

[Xen-devel] [qemu-mainline test] 79323: tolerable FAIL - PUSHED

2016-01-28 Thread osstest service owner
flight 79323 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/79323/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-rtds15 guest-start/debian.repeat fail blocked in 79130 Tests which did not succeed,

[Xen-devel] [PATCH v2 1/2] altp2m: Merge p2m_set_altp2m_mem_access and p2m_set_mem_access

2016-01-28 Thread Tamas K Lengyel
The altp2m subsystem in its current form uses its own HVMOP hypercall to set mem_access permissions, duplicating some of the code already present for setting regular mem_access permissions. In this patch we consolidate the two and update the corresponding tools. Signed-off-by: Tamas K Lengyel Cc:

[Xen-devel] [PATCH v2 2/2] altp2m: Implement p2m_get_mem_access for altp2m views

2016-01-28 Thread Tamas K Lengyel
Extend the existing get_mem_access memop to allow querying permissions in altp2m views as well. Signed-off-by: Tamas K Lengyel Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu Cc: Razvan Cojocaru Cc: Stefano Stabellini Cc: George Dunlap Cc: Keir Fraser Cc: Jan Beulich

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

2016-01-28 Thread osstest service owner
flight 79324 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/79324/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 65543 test-amd64-i386-

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 10:09 PM, Tamas K Lengyel wrote: > On Thu, Jan 28, 2016 at 6:52 AM, Razvan Cojocaru > mailto:rcojoc...@bitdefender.com>> wrote: > > This patch pauses the domain for all writes through the 'ad' > pointer in monitor_domctl(), defers a domain_unpause() call until > after the

  1   2   >