[Xen-devel] [PATCH RFC 8/8] xl: introduce topology options

2016-02-22 Thread Joao Martins
Namely sockets, cores and threads to describe the topology as seen by the guest. This as an alternative to the SMT option that is also proposed. Signed-off-by: Joao Martins --- CC: Ian Jackson CC: Stefano Stabellini

[Xen-devel] [PATCH RFC 0/8] x86/hvm, libxl: HVM SMT topology support

2016-02-22 Thread Joao Martins
Hey! This series are a follow-up on the thread about the performance of hard-pinned HVM guests. Here we propose allowing libxl to change how the CPU topology looks like for the HVM guest, which can favor certain workloads as depicted by Elena on this thread [0]. It shows around 22-23% gain on

[Xen-devel] [PATCH RFC 7/8] libxl: introduce topology fields

2016-02-22 Thread Joao Martins
Currently there is "smt" option that changes from a flat core topology to a core+thread topology. This patch adds more expressive options for describing the topology as seen by the guest i.e. sockets, cores and threads to adjust cpu topology as seen by the guest. Signed-off-by: Joao Martins

[Xen-devel] [PATCH RFC 1/8] x86/hvm: set initial apicid to vcpu_id

2016-02-22 Thread Joao Martins
Currently the initial_apicid is set vcpu_id * 2 which makes it difficult for the toolstack to manage how is the topology seen by the guest. Instead of forcing procpkg and proccount to be VCPUID * 2, instead we set it to max vcpuid on proccount to max_vcpu_id + 1 (logical number of logical cores)

[Xen-devel] [PATCH RFC 3/8] libxl: cpuid: add cache core count support

2016-02-22 Thread Joao Martins
Intel Cache Topology info is determinted by the leaf 4 its subleaves. So, Only the core count is exposed as the remaining info in the subleaves are inherited by the host (e.g. cache size) Signed-off-by: Joao Martins --- CC: Ian Jackson CC:

[Xen-devel] [PATCH RFC 6/8] xl: introduce smt option

2016-02-22 Thread Joao Martins
This options changes how "vcpus" are seen by dividing them in the number of SMT threads supported by the host. This should be used together with "cpus" so that the topology matches. Signed-off-by: Joao Martins --- CC: Ian Jackson CC: Stefano

[Xen-devel] [PATCH RFC 4/8] libxl: cpuid: add guest topology support

2016-02-22 Thread Joao Martins
Introduce internal cpuid routine for setting the topology as seen by the guest. The topology is made based on leaf 1 and leaf 4 for Intel, more specifically setting: Number of logical processors: proccount (CPUID.1:EBX[16:24]) Number of physical cores - 1: procpkg

[Xen-devel] [PATCH RFC 2/8] libxl: remove whitespace on libxl_types.idl

2016-02-22 Thread Joao Martins
Signed-off-by: Joao Martins --- CC: Ian Jackson CC: Stefano Stabellini CC: Ian Campbell CC: Wei Liu --- tools/libxl/libxl_types.idl | 6 +++--- 1 file

[Xen-devel] [PATCH RFC 5/8] libxl: introduce smt field

2016-02-22 Thread Joao Martins
By setting it to true, it enables the vcpus set by the guest to be seen as a SMT-enabled topology. It uses then libxl__cpuid_set_topology() to change the cpuid accordingly. This setting is made *before* the cpuid is set so that any changes could be overwritten. The number of SMT threads are the

Re: [Xen-devel] [PATCH] travis: add IRC notifications

2016-02-22 Thread Konrad Rzeszutek Wilk
On Mon, Feb 22, 2016 at 06:39:26PM +, Lars Kurth wrote: > > > On 22 Feb 2016, at 18:34, Doug Goldstein wrote: > > > > On 2/22/16 11:06 AM, Ian Jackson wrote: > >> Doug Goldstein writes ("[PATCH] travis: add IRC notifications"): > >>> This will cause failed builds and when

[Xen-devel] [xen-unstable-smoke test] 83671: tolerable all pass - PUSHED

2016-02-22 Thread osstest service owner
flight 83671 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/83671/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

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

2016-02-22 Thread osstest service owner
flight 83520 linux-4.1 real [real] http://logs.test-lab.xenproject.org/osstest/logs/83520/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-rumpuserxen 6 xen-build fail REGR. vs. 66399 build-i386-rumpuserxen

Re: [Xen-devel] [PATCH] tools: remove xenpmd

2016-02-22 Thread Ross Philipson
On 02/19/2016 12:12 PM, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [PATCH] tools: remove xenpmd"): >> On Wed, 2016-02-17 at 12:05 -0500, Konrad Rzeszutek Wilk wrote: >>> On Wed, Feb 17, 2016 at 02:41:14PM +, Ian Campbell wrote: It has four instances of the same CID 1198719

Re: [Xen-devel] [PATCH v2 05/30] xen/public: Export cpu featureset information in the public API

2016-02-22 Thread Joao Martins
On 02/20/2016 07:17 PM, Andrew Cooper wrote: > On 20/02/16 17:39, Joao Martins wrote: >> >> and given that this >> is exposed on both sysctl and libxl (through libxl_hwcap) shouldn't its >> size >> match the real one (boot_cpu_data.x86_capability) i.e. NCAPINTS ? >>

Re: [Xen-devel] [PATCH V2 0/4] libxl: support qemu's network-based block backends

2016-02-22 Thread Jim Fehlig
On 02/18/2016 03:51 AM, Ian Campbell wrote: > On Wed, 2016-02-17 at 17:33 -0700, Jim Fehlig wrote: >> xl/libxl already supports qemu's network-based block backends >> such as nbd and rbd. libvirt has supported configuring network >> disks for long time too. This series marries the two in the >>

Re: [Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-02-22 Thread Doug Goldstein
On 2/22/16 10:22 AM, Ian Jackson wrote: > Doug Goldstein writes ("[PATCH v2 3/4] m4/python: fix checks for Python > library support"): >> AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on >> platforms that do as needed operations by default will result in >> underlinking.

Re: [Xen-devel] [PATCH RFC 0/6] x86/time: PVCLOCK_TSC_STABLE_BIT support

2016-02-22 Thread Joao Martins
On 12/29/2015 05:37 PM, Joao Martins wrote: > > > On 12/29/2015 02:58 PM, Andrew Cooper wrote: >> On 28/12/2015 16:59, Joao Martins wrote: >>> Hey! >>> >>> I've been working on pvclock vdso support on Linux guests, and came >>> across Xen lacking support for PVCLOCK_TSC_STABLE_BIT flag which

Re: [Xen-devel] [PATCH v3 04/23] elf: Add relocation types to elfstructs.h

2016-02-22 Thread Jan Beulich
>>> On 19.02.16 at 22:05, wrote: > On Mon, Feb 15, 2016 at 01:34:42AM -0700, Jan Beulich wrote: >> >>> On 12.02.16 at 19:05, wrote: >> > --- a/xen/include/xen/elfstructs.h >> > +++ b/xen/include/xen/elfstructs.h >> > @@ -348,6 +348,14 @@ typedef

Re: [Xen-devel] [PATCH] xen/memguard: Drop memguard_init() entirely

2016-02-22 Thread Jan Beulich
>>> On 22.02.16 at 11:29, wrote: > On 22/02/16 10:02, Jan Beulich wrote: > On 19.02.16 at 17:18, wrote: >>> On 19/02/16 14:44, Jan Beulich wrote: >>> On 18.02.16 at 19:03, wrote: > It is not obvious

Re: [Xen-devel] [PATCH] arm/monitor vm-events: Implement guest-request support

2016-02-22 Thread Corneliu ZUZU
On 2/22/2016 12:14 PM, Jan Beulich wrote: On 19.02.16 at 19:01, wrote: On 2/19/2016 7:15 PM, Jan Beulich wrote: On 19.02.16 at 17:25, wrote: On 2/19/2016 4:26 PM, Jan Beulich wrote: On 18.02.16 at 20:35, wrote: ---

Re: [Xen-devel] [PATCH v2 4/5] drivers/xen: make sys-hypervisor.c explicitly non-modular

2016-02-22 Thread Stefano Stabellini
On Sun, 21 Feb 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > config XEN_SYS_HYPERVISOR >bool "Create xen entries under /sys/hypervisor" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the

Re: [Xen-devel] [PATCH v2] hvmloader: Use xen/errno.h rather than the host systems errno.h

2016-02-22 Thread Jan Beulich
>>> On 22.02.16 at 12:24, wrote: > On 22/02/16 11:10, Jan Beulich wrote: > On 19.02.16 at 19:59, wrote: >>> --- a/tools/firmware/hvmloader/util.h >>> +++ b/tools/firmware/hvmloader/util.h >>> @@ -9,6 +9,21 @@ >>> #include >>> #include

Re: [Xen-devel] Domctl and physdevop for passthrough (Was: Re: Stabilising some tools only HVMOPs?)

2016-02-22 Thread Wei Liu
On Mon, Feb 22, 2016 at 04:28:19AM -0700, Jan Beulich wrote: > >>> On 19.02.16 at 17:05, wrote: > > On Wed, Feb 17, 2016 at 05:28:08PM +, Wei Liu wrote: > >> Hi all > >> > >> Tools people are in the process of splitting libxenctrl into a set of > >> stable libraries. One

Re: [Xen-devel] [PATCH] MAINTAINERS: add myself for Travis CI config

2016-02-22 Thread Ian Jackson
Andrew Cooper writes ("Re: [Xen-devel] [PATCH] MAINTAINERS: add myself for Travis CI config"): > On 19/02/2016 19:55, Doug Goldstein wrote: > > Add myself as the maintainer for the Travis CI config. > > > > Signed-off-by: Doug Goldstein > > Reviewed-by: Andrew Cooper

Re: [Xen-devel] [PATCH v4 10/11] xen: modify page table construction

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross wrote: > On 22/02/16 10:17, Daniel Kiper wrote: > > On Mon, Feb 22, 2016 at 07:03:18AM +0100, Juergen Gross wrote: > >> Modify the page table construction to allow multiple virtual regions > >> to be mapped. This is done as preparation for

Re: [Xen-devel] [PATCH] xen/x86: Use 2M superpages for text/data/bss mappings

2016-02-22 Thread Andrew Cooper
On 22/02/16 09:55, Jan Beulich wrote: > +{ +flags = PAGE_HYPERVISOR_RX | _PAGE_PSE; +} +else if ( i >= l2_table_offset((unsigned long)&__2M_rodata_start) && + i <

Re: [Xen-devel] [PATCH v2 06/16] xen: sched: tracing: enable TSC tracing for all events

2016-02-22 Thread George Dunlap
On Thu, Feb 18, 2016 at 4:52 PM, Dario Faggioli wrote: > On Thu, 2016-02-18 at 11:43 +, George Dunlap wrote: >> On 17/02/16 09:52, Dario Faggioli wrote: >> > >> > For instance, the thing that you can just change on the fly the way >> > a >> > trace is shown (by

Re: [Xen-devel] [PATCH] arm/monitor vm-events: Implement guest-request support

2016-02-22 Thread Razvan Cojocaru
On 02/22/2016 01:38 PM, Jan Beulich wrote: On 22.02.16 at 12:26, wrote: >> On 2/22/2016 12:14 PM, Jan Beulich wrote: >> On 19.02.16 at 19:01, wrote: On 2/19/2016 7:15 PM, Jan Beulich wrote: On 19.02.16 at 17:25,

Re: [Xen-devel] [PATCH] arm/monitor vm-events: Implement guest-request support

2016-02-22 Thread Jan Beulich
>>> On 22.02.16 at 12:26, wrote: > On 2/22/2016 12:14 PM, Jan Beulich wrote: > On 19.02.16 at 19:01, wrote: >>> On 2/19/2016 7:15 PM, Jan Beulich wrote: >>> On 19.02.16 at 17:25, wrote: > On 2/19/2016 4:26 PM, Jan

Re: [Xen-devel] [PATCH] xen/memguard: Drop memguard_init() entirely

2016-02-22 Thread Andrew Cooper
On 22/02/16 10:02, Jan Beulich wrote: On 19.02.16 at 17:18, wrote: >> On 19/02/16 14:44, Jan Beulich wrote: >> On 18.02.16 at 19:03, wrote: It is not obvious what this code is doing. Most of it dates from 2007/2008,

Re: [Xen-devel] [PATCH 2/2] arm: CONFIG_ARM_{32, 64} defined by Kconfig

2016-02-22 Thread Stefano Stabellini
On Sat, 20 Feb 2016, Doug Goldstein wrote: > CONFIG_ARM_32 and CONFIG_ARM_64 is defined by Kconfig. > > Signed-off-by: Doug Goldstein Reviewed-by: Stefano Stabellini > CC: Ian Campbell > CC: Stefano Stabellini

Re: [Xen-devel] Outreachy May-August, 2016

2016-02-22 Thread Roger Pau Monné
El 20/2/16 a les 1:35, Ayushi Arora ha escrit: > Hello, > I am Ayushi Arora from India. I am currently in my 2nd year of > undergraduate study in Information Technology. I am really interested in > working for FOSS community and I came across Outreachy Program a few days > back. Researching about

Re: [Xen-devel] [PATCH v2] hvmloader: Use xen/errno.h rather than the host systems errno.h

2016-02-22 Thread Andrew Cooper
On 22/02/16 11:10, Jan Beulich wrote: On 19.02.16 at 19:59, wrote: >> --- a/tools/firmware/hvmloader/util.h >> +++ b/tools/firmware/hvmloader/util.h >> @@ -9,6 +9,21 @@ >> #include >> #include "e820.h" >> >> +/* Persuade errno.h to give us some un-prefixed

Re: [Xen-devel] [PATCH v2] hvmloader: Use xen/errno.h rather than the host systems errno.h

2016-02-22 Thread Jan Beulich
>>> On 19.02.16 at 19:59, wrote: > --- a/tools/firmware/hvmloader/util.h > +++ b/tools/firmware/hvmloader/util.h > @@ -9,6 +9,21 @@ > #include > #include "e820.h" > > +/* Persuade errno.h to give us some un-prefixed values. */ > +#define __XEN_PUBLIC_ERRNO_H__

[Xen-devel] Domctl and physdevop for passthrough (Was: Re: Stabilising some tools only HVMOPs?)

2016-02-22 Thread Jan Beulich
>>> On 19.02.16 at 17:05, wrote: > On Wed, Feb 17, 2016 at 05:28:08PM +, Wei Liu wrote: >> Hi all >> >> Tools people are in the process of splitting libxenctrl into a set of >> stable libraries. One of the proposed libraries is libxendevicemodel >> which has a collection

Re: [Xen-devel] [PATCH 8/9] x86/rtc: replace paravirt_enabled() check with subarch check

2016-02-22 Thread Borislav Petkov
On Mon, Feb 22, 2016 at 07:07:56AM +0100, Luis R. Rodriguez wrote: > diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h > index 1ae89a2721d6..fe0d579b63e3 100644 > --- a/arch/x86/include/asm/x86_init.h > +++ b/arch/x86/include/asm/x86_init.h > @@ -84,11 +84,14 @@ struct

Re: [Xen-devel] [PATCH] xen/x86: Use 2M superpages for text/data/bss mappings

2016-02-22 Thread Jan Beulich
>>> On 22.02.16 at 11:24, wrote: > On 22/02/16 09:55, Jan Beulich wrote: > --- a/xen/arch/x86/xen.lds.S > +++ b/xen/arch/x86/xen.lds.S > @@ -38,6 +38,9 @@ SECTIONS >. = __XEN_VIRT_START; >__image_base__ = .; > #endif > + > +

Re: [Xen-devel] [PATCH v2 5/5] drivers/xen: make platform-pci.c explicitly non-modular

2016-02-22 Thread Stefano Stabellini
On Sun, 21 Feb 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > arch/x86/xen/Kconfig:config XEN_PVHVM > arch/x86/xen/Kconfig: def_bool y > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the modular code

[Xen-devel] [PATCH] xsm: correct operation test in flask_sysctl_scheduler_op()

2016-02-22 Thread Juergen Gross
In flask_sysctl_scheduler_op() the test for the desired operation is done with the wrong constants. While the values are correct, the names are not. Correct the error message for the case of an unknown operation, too. Signed-off-by: Juergen Gross --- xen/xsm/flask/hooks.c | 6

Re: [Xen-devel] [PATCH v4 10/11] xen: modify page table construction

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote: > On 22/02/16 13:18, Daniel Kiper wrote: > > On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross wrote: > >> On 22/02/16 10:17, Daniel Kiper wrote: > >>> On Mon, Feb 22, 2016 at 07:03:18AM +0100, Juergen Gross wrote: > Modify

Re: [Xen-devel] [PATCH v4 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-22 Thread Juergen Gross
On 22/02/16 13:24, Daniel Kiper wrote: > On Mon, Feb 22, 2016 at 10:18:38AM +0100, Juergen Gross wrote: >> On 22/02/16 09:42, Daniel Kiper wrote: >>> On Mon, Feb 22, 2016 at 07:03:17AM +0100, Juergen Gross wrote: Modern pvops linux kernels support an initrd not covered by the initial

[Xen-devel] [PATCH] x86: drop register reload from INT80 malicious MSI guard

2016-02-22 Thread Jan Beulich
None of the restored registers are actually of interest to the subsequent code (as opposed to the similar construct on the compat mode hypercall path). Signed-off-by: Jan Beulich --- a/xen/arch/x86/x86_64/entry.S +++ b/xen/arch/x86/x86_64/entry.S @@ -286,7 +286,6 @@

Re: [Xen-devel] [PATCH] xenoprof: drop necessary macro

2016-02-22 Thread Doug Goldstein
On 2/22/16 8:33 AM, Doug Goldstein wrote: > This macro doesn't really provide a benefit. When support is added the > implementer can implement this how it needs to be and not conform to the > macro. > > Signed-off-by: Doug Goldstein *laugh* That subject line should be

Re: [Xen-devel] [libvirt] [PATCH V2 4/4] libxl: add support for rbd qdisk

2016-02-22 Thread Ján Tomko
On Wed, Feb 17, 2016 at 05:33:45PM -0700, Jim Fehlig wrote: > xl/libxl already supports qemu's network-based block backends > such as nbd and rbd. libvirt has supported configuring such > s for long time too. This patch adds support for rbd > disks in the libxl driver by generating a rbd device

Re: [Xen-devel] [PATCH 8/9] x86/rtc: replace paravirt_enabled() check with subarch check

2016-02-22 Thread Boris Ostrovsky
On 02/22/2016 05:27 AM, Borislav Petkov wrote: On Mon, Feb 22, 2016 at 07:07:56AM +0100, Luis R. Rodriguez wrote: diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index 1ae89a2721d6..fe0d579b63e3 100644 --- a/arch/x86/include/asm/x86_init.h +++

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

2016-02-22 Thread Jan Beulich
>>> On 19.02.16 at 02:55, wrote: > +static void vmx_vcpu_block(struct vcpu *v) > +{ > +unsigned long flags; > +unsigned int dest; > +spinlock_t *old_lock; > +spinlock_t *pi_block_list_lock = > +_cpu(pi_blocked_vcpu_lock, v->processor); > +

Re: [Xen-devel] [PATCH v4 10/11] xen: modify page table construction

2016-02-22 Thread Juergen Gross
On 22/02/16 13:48, Daniel Kiper wrote: > On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote: >> On 22/02/16 13:18, Daniel Kiper wrote: >>> On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross wrote: On 22/02/16 10:17, Daniel Kiper wrote: > On Mon, Feb 22, 2016 at 07:03:18AM

[Xen-devel] [xen-unstable-smoke test] 83646: tolerable all pass - PUSHED

2016-02-22 Thread osstest service owner
flight 83646 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/83646/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

Re: [Xen-devel] [PATCH] xen-netfront: set real_num_tx_queues to zreo avoid to trigger BUG_ON

2016-02-22 Thread David Vrabel
On 20/02/16 06:00, Gonglei (Arei) wrote: > Hi, > > Thanks for rapid feedback :) > >> From: David Miller [mailto:da...@davemloft.net] >> Sent: Saturday, February 20, 2016 12:37 PM >> >> From: Gonglei >> Date: Sat, 20 Feb 2016 09:27:26 +0800 >> >>> It's possible for a

Re: [Xen-devel] patch ping

2016-02-22 Thread Stefano Stabellini
On Mon, 22 Feb 2016, Jan Beulich wrote: > ARM maintainers, > > may I ask for an ack or otherwise for > http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg01207.html On that patch: Reviewed-by: Stefano Stabellini > along with a statement whether

Re: [Xen-devel] [PATCH 1/3] x86/xsaves: caculate the xstate_comp_offsets base on xcomp_bv

2016-02-22 Thread Jan Beulich
>>> On 22.02.16 at 06:35, wrote: > Previous patch using all available features caculate xstate_comp_offsets. > This is wrong.This patch fix this bug by caculating the xstate_comp_offset In the title and above: calculate (and alike). > based on xcomp_bv of current

Re: [Xen-devel] [PATCH v4 10/11] xen: modify page table construction

2016-02-22 Thread Juergen Gross
On 22/02/16 13:18, Daniel Kiper wrote: > On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross wrote: >> On 22/02/16 10:17, Daniel Kiper wrote: >>> On Mon, Feb 22, 2016 at 07:03:18AM +0100, Juergen Gross wrote: Modify the page table construction to allow multiple virtual regions to be

Re: [Xen-devel] [PATCH v3 19/23] xsplice, symbols: Implement symbol name resolution on address. (v2)

2016-02-22 Thread Ross Lagerwall
On 02/12/2016 06:05 PM, Konrad Rzeszutek Wilk wrote: snip static int load_payload_data(struct payload *payload, uint8_t *raw, ssize_t len) { struct xsplice_elf elf; @@ -831,6 +953,10 @@ static int load_payload_data(struct payload *payload, uint8_t *raw, ssize_t len) if ( rc )

[Xen-devel] patch ping

2016-02-22 Thread Jan Beulich
ARM maintainers, may I ask for an ack or otherwise for http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg01207.html along with a statement whether the ARM side alignment should also be reduced, just like settled on for x86 in

[Xen-devel] [GIT PULL] xen: bug fixes for 4.5-rc5

2016-02-22 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.5-rc5-tag Xen bug fixes for 4.5-rc5 - - Two scsiback fixes (resource leak and spurious warning). - - Fix DMA mapping of compound

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-22 Thread Lengyel, Tamas
On Feb 22, 2016 04:23, "Razvan Cojocaru" wrote: > > On 02/19/2016 07:26 PM, Lengyel, Tamas wrote: > > > > > > On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper > > > wrote: > > > > On 19/02/16 17:06,

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-22 Thread Razvan Cojocaru
On 02/22/2016 03:51 PM, Lengyel, Tamas wrote: > > On Feb 22, 2016 04:23, "Razvan Cojocaru" > wrote: >> >> On 02/19/2016 07:26 PM, Lengyel, Tamas wrote: >> > >> > >> > On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper >> >

Re: [Xen-devel] [PATCH] xen-netfront: set real_num_tx_queues to zreo avoid to trigger BUG_ON

2016-02-22 Thread David Vrabel
On 20/02/16 01:27, Gonglei wrote: > It's possible for a race condition to exist between xennet_open() and > talk_to_netback(). After invoking netfront_probe() then other > threads or processes invoke xennet_open (such as NetworkManager) > immediately may trigger BUG_ON(). Besides, we also should

Re: [Xen-devel] [libvirt] [PATCH V2 2/4] xenconfig: produce key=value disk config syntax in xl formatter

2016-02-22 Thread Ján Tomko
On Wed, Feb 17, 2016 at 05:33:43PM -0700, Jim Fehlig wrote: > The most formal form of xl disk configuration uses key=value > syntax to define each configuration item, e.g. > > format=raw, vdev=xvda, access=rw, backendtype=phy, target=disksrc > > Change the xl disk formatter to produce this

Re: [Xen-devel] [libvirt] [PATCH V2 3/4] xenconfig: support xl<->xml conversion of rbd disk devices

2016-02-22 Thread Ján Tomko
On Wed, Feb 17, 2016 at 05:33:44PM -0700, Jim Fehlig wrote: > The target= setting in xl disk configuration can be used to encode > meta info that is meaningful to a backend. Leverage this fact to > support qdisk network disk types such as rbd. E.g. config > such as > > > > >

Re: [Xen-devel] [PATCH] xenoprof: drop necessary macro

2016-02-22 Thread Andrew Cooper
On 22/02/16 14:33, Doug Goldstein wrote: > This macro doesn't really provide a benefit. When support is added the > implementer can implement this how it needs to be and not conform to the > macro. > > Signed-off-by: Doug Goldstein > --- > CC: Keir Fraser > CC:

Re: [Xen-devel] [PATCH] version: Document guest_handle

2016-02-22 Thread Jan Beulich
>>> On 19.02.16 at 15:32, wrote: > --- a/xen/include/public/version.h > +++ b/xen/include/public/version.h > @@ -79,6 +79,10 @@ typedef struct xen_feature_info xen_feature_info_t; > #define XENVER_pagesize 7 > > /* arg == xen_domain_handle_t. */ > +/* > + * The toolstack

Re: [Xen-devel] [PATCH v4] public/io/netif.h: make control ring hash protocol more general

2016-02-22 Thread Paul Durrant
Ping? > -Original Message- > From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: 17 February 2016 15:05 > To: xen-de...@lists.xenproject.org > Cc: Paul Durrant; Ian Campbell; Ian Jackson; Jan Beulich; Keir (Xen.org); Tim > (Xen.org) > Subject: [PATCH v4] public/io/netif.h: make

Re: [Xen-devel] [PATCH v4 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 10:18:38AM +0100, Juergen Gross wrote: > On 22/02/16 09:42, Daniel Kiper wrote: > > On Mon, Feb 22, 2016 at 07:03:17AM +0100, Juergen Gross wrote: > >> Modern pvops linux kernels support an initrd not covered by the initial > >> mapping. This capability is flagged by an

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

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

Re: [Xen-devel] [libvirt] [PATCH V2 1/4] xenconfig: replace text 'xm' with 'xl' in xlconfigtest

2016-02-22 Thread Ján Tomko
On Wed, Feb 17, 2016 at 05:33:42PM -0700, Jim Fehlig wrote: > While at it, improve a few comments. No functional change. > > Signed-off-by: Jim Fehlig > --- > tests/xlconfigtest.c | 34 +++--- > 1 file changed, 19 insertions(+), 15 deletions(-) >

Re: [Xen-devel] [PATCH 5/9] apm32: remove paravirt_enabled() use

2016-02-22 Thread Boris Ostrovsky
On 02/19/2016 07:42 PM, Luis R. Rodriguez wrote: On Fri, Feb 19, 2016 at 05:17:27PM -0500, Boris Ostrovsky wrote: On 02/19/2016 03:58 PM, Luis R. Rodriguez wrote: On Fri, Feb 19, 2016 at 10:08:43AM -0500, Boris Ostrovsky wrote: in xen_start_kernel(). Better yet, clear whole .bss. (This

[Xen-devel] [PATCH v3] vm_event: consolidate hvm_event_fill_regs and p2m_vm_event_fill_regs

2016-02-22 Thread Tamas K Lengyel
Currently the registers saved in the request depend on which type of event is filling in the registers. In this patch we consolidate the two versions of register filling function as to return a fix set of registers irrespective of the underlying event. Signed-off-by: Tamas K Lengyel

[Xen-devel] [GIT PULL] (xen) stable/for-jens-4.5

2016-02-22 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.5 which has three fixes for the Xen block drivers. They are quite simple fixes. I was not entirely sure which branch to base them on - but they apply just fine to

Re: [Xen-devel] [PATCH v2 1/4] tools/configure: only require bcc/ld86/as86 when needed

2016-02-22 Thread Doug Goldstein
On 2/19/16 8:27 AM, Doug Goldstein wrote: > On 2/19/16 8:00 AM, Konrad Rzeszutek Wilk wrote: >> On Thu, Feb 18, 2016 at 08:57:02PM -0600, Doug Goldstein wrote: >>> bcc/ld86/as86 are only necessary when we build rombios and not always so >>> failing the build when they aren't available should not

Re: [Xen-devel] [PATCH] x86: drop register reload from INT80 malicious MSI guard

2016-02-22 Thread Andrew Cooper
On 22/02/16 14:08, Jan Beulich wrote: > None of the restored registers are actually of interest to the > subsequent code (as opposed to the similar construct on the compat > mode hypercall path). > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper

[Xen-devel] [PATCH] xenoprof: drop necessary macro

2016-02-22 Thread Doug Goldstein
This macro doesn't really provide a benefit. When support is added the implementer can implement this how it needs to be and not conform to the macro. Signed-off-by: Doug Goldstein --- CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper

Re: [Xen-devel] [PATCH 3/3] xen/init: Annotate all command line parameter infrastructure as const

2016-02-22 Thread Andrew Cooper
On 22/02/16 16:36, Jan Beulich wrote: On 08.02.16 at 18:07, wrote: >> There is no reason for any of it to be modified. Additionally, link >> .init.setup beside the other constant .init data. >> >> No functional change. >> >> Signed-off-by: Andrew Cooper

Re: [Xen-devel] [PATCH] travis: add IRC notifications

2016-02-22 Thread Ian Jackson
Doug Goldstein writes ("[PATCH] travis: add IRC notifications"): > This will cause failed builds and when the build flips back to success > to be reported to #xentest on FreeNode. The syntax of the message will > be: >xen-project/xen#BUILDID (BRANCH - REVISION : COMMITTER) >Change view : >

[Xen-devel] [PATCH v2 4/4] configure: rerun autoconf

2016-02-22 Thread Ian Jackson
Doug Goldstein writes ("[PATCH v2 4/4] configure: rerun autoconf"): > Signed-off-by: Doug Goldstein The committer normally reruns autoconf during application of each individual patch, thus folding the `configure' changes into the same patch as the `configure.ac' changes. I

Re: [Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-02-22 Thread Ian Jackson
Doug Goldstein writes ("[PATCH v2 3/4] m4/python: fix checks for Python library support"): > AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on > platforms that do as needed operations by default will result in > underlinking. Instead AC_CHECK_LIB() suggests supplying the extra

Re: [Xen-devel] patch ping

2016-02-22 Thread Ian Jackson
Jan Beulich writes ("patch ping"): > REST maintainers, > > may I ask for an ack or otherwise for > http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg01956.html > , which is basically a follow-up to the above (and will need [trivial] > re-basing before committing)? I see no problem

Re: [Xen-devel] [PATCH 3/3] xen/init: Annotate all command line parameter infrastructure as const

2016-02-22 Thread Jan Beulich
>>> On 08.02.16 at 18:07, wrote: > There is no reason for any of it to be modified. Additionally, link > .init.setup beside the other constant .init data. > > No functional change. > > Signed-off-by: Andrew Cooper Sadly I've noticed only

[Xen-devel] [PATCH] xen: Work around Clang generating .data.rel.ro section for init-only files

2016-02-22 Thread Andrew Cooper
Clang-3.8 generates several .data.rel.ro sections when compiling Xen. As these contain no global symbols, they should be .data.rel.ro.local. This breaks the SPECIAL_DATA_SECTIONS check when converting the transition units to being init-only. For alternatives.c, explicitly move the nops arrays

Re: [Xen-devel] [PATCH v3 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-02-22 Thread Paul Durrant
> -Original Message- > From: George Dunlap [mailto:george.dun...@citrix.com] > Sent: 22 February 2016 16:46 > To: Paul Durrant > Cc: Jan Beulich; Kevin Tian; Zhang Yu; Wei Liu; Ian Campbell; Andrew Cooper; > xen-devel@lists.xen.org; Stefano Stabellini; Zhiyuan Lv; Ian Jackson; Keir >

Re: [Xen-devel] [PATCH v3 07/23] xsplice: Implement support for applying/reverting/replacing patches. (v5)

2016-02-22 Thread Ross Lagerwall
On 02/22/2016 03:00 PM, Ross Lagerwall wrote: On 02/12/2016 06:05 PM, Konrad Rzeszutek Wilk wrote: snip +static void xsplice_do_single(unsigned int total_cpus) +{ +nmi_callback_t saved_nmi_callback; +struct payload *data, *tmp; +s_time_t timeout; +int rc; + +data =

Re: [Xen-devel] [PATCH 2/3] x86/xsaves: fix overwriting between non-lazy/lazy xsave[sc]

2016-02-22 Thread Jan Beulich
>>> On 22.02.16 at 06:35, wrote: First of all I wonder on what basis you collect your Cc lists on patches. > --- a/xen/arch/x86/i387.c > +++ b/xen/arch/x86/i387.c > @@ -118,7 +118,7 @@ static inline uint64_t vcpu_xsave_mask(const struct vcpu > *v) > if (

Re: [Xen-devel] [PATCH v3 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-02-22 Thread George Dunlap
On 22/02/16 16:02, Paul Durrant wrote: >> -Original Message- >> From: dunl...@gmail.com [mailto:dunl...@gmail.com] On Behalf Of >> George Dunlap >> Sent: 22 February 2016 15:56 >> To: Paul Durrant >> Cc: George Dunlap; Jan Beulich; Kevin Tian; Zhang Yu; Wei Liu; Ian Campbell; >> Andrew

Re: [Xen-devel] libxl and malloc failure (Re: Current LibXL Status)

2016-02-22 Thread Ian Jackson
Ian Campbell writes ("Re: libxl and malloc failure (Re: [Xen-devel] Current LibXL Status)"): > On Thu, 2016-02-18 at 18:15 +, Ian Jackson wrote: > > Andrew Cooper writes ("Re: [Xen-devel] Current LibXL Status"): > > > Languages such as OCaml use -ENOMEM as a hint to run the garbage > > >

Re: [Xen-devel] [PATCH] travis: add IRC notifications

2016-02-22 Thread Andrew Cooper
On 22/02/16 17:06, Ian Jackson wrote: > Doug Goldstein writes ("[PATCH] travis: add IRC notifications"): >> This will cause failed builds and when the build flips back to success >> to be reported to #xentest on FreeNode. The syntax of the message will >> be: >> xen-project/xen#BUILDID (BRANCH -

Re: [Xen-devel] [PATCH v3 04/23] elf: Add relocation types to elfstructs.h

2016-02-22 Thread Ross Lagerwall
On 02/19/2016 09:05 PM, Konrad Rzeszutek Wilk wrote: On Mon, Feb 15, 2016 at 01:34:42AM -0700, Jan Beulich wrote: On 12.02.16 at 19:05, wrote: --- a/xen/include/xen/elfstructs.h +++ b/xen/include/xen/elfstructs.h @@ -348,6 +348,14 @@ typedef struct { #define

Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-4.5

2016-02-22 Thread Konrad Rzeszutek Wilk
On Mon, Feb 22, 2016 at 08:45:48AM -0700, Jens Axboe wrote: > On 02/22/2016 07:30 AM, Konrad Rzeszutek Wilk wrote: > >Hey Jens, > > > >Please git pull the following branch: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git > > stable/for-jens-4.5 > > > >which has three fixes

Re: [Xen-devel] [PATCH v3 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-02-22 Thread Paul Durrant
> -Original Message- > From: dunl...@gmail.com [mailto:dunl...@gmail.com] On Behalf Of > George Dunlap > Sent: 22 February 2016 15:56 > To: Paul Durrant > Cc: George Dunlap; Jan Beulich; Kevin Tian; Zhang Yu; Wei Liu; Ian Campbell; > Andrew Cooper; xen-devel@lists.xen.org; Stefano

Re: [Xen-devel] [PATCH v2 2/4] m4/python: fix typo in LDFLAGS variable name

2016-02-22 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] [PATCH v2 2/4] m4/python: fix typo in LDFLAGS variable name"): > On Thu, Feb 18, 2016 at 08:57:03PM -0600, Doug Goldstein wrote: > > Reported-by: Jonathan Creekmore > > Signed-off-by: Doug Goldstein

Re: [Xen-devel] [PATCH v3 3/3] tools: introduce parameter max_wp_ram_ranges.

2016-02-22 Thread George Dunlap
On Wed, Feb 17, 2016 at 11:12 AM, Paul Durrant wrote: >> -Original Message- >> From: George Dunlap [mailto:george.dun...@citrix.com] >> Sent: 17 February 2016 11:02 >> To: Jan Beulich; Paul Durrant; Kevin Tian; Zhang Yu >> Cc: Andrew Cooper; Ian Campbell; Ian

Re: [Xen-devel] [PATCH v3 07/23] xsplice: Implement support for applying/reverting/replacing patches. (v5)

2016-02-22 Thread Ross Lagerwall
On 02/12/2016 06:05 PM, Konrad Rzeszutek Wilk wrote: snip +static void xsplice_do_single(unsigned int total_cpus) +{ +nmi_callback_t saved_nmi_callback; +struct payload *data, *tmp; +s_time_t timeout; +int rc; + +data = xsplice_work.data; +timeout = xsplice_work.timeout +

Re: [Xen-devel] [PATCH 8/9] x86/rtc: replace paravirt_enabled() check with subarch check

2016-02-22 Thread Luis R. Rodriguez
On Mon, Feb 22, 2016 at 09:34:26AM -0500, Boris Ostrovsky wrote: > On 02/22/2016 05:27 AM, Borislav Petkov wrote: > >On Mon, Feb 22, 2016 at 07:07:56AM +0100, Luis R. Rodriguez wrote: > >>diff --git a/arch/x86/include/asm/x86_init.h > >>b/arch/x86/include/asm/x86_init.h > >>index

Re: [Xen-devel] [RFC v2 7/7] kprobes: port to linker table

2016-02-22 Thread Luis R. Rodriguez
On Mon, Feb 22, 2016 at 01:34:05AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > >From: Luis R. Rodriguez [mailto:mcg...@kernel.org] > > > >kprobe makes use of two custom sections: > > > >type name beginend > >init.data _kprobe_blacklist __start_kprobe_blacklist

Re: [Xen-devel] [libvirt] [FOR 1.3.0 PATCH] conf: add net device prefix for Xen

2016-02-22 Thread Joao Martins
On 12/08/2015 04:06 PM, Jim Fehlig wrote: > Daniel P. Berrange wrote: >> On Mon, Dec 07, 2015 at 10:59:32PM -0700, Jim Fehlig wrote: >>> On 12/07/2015 11:52 AM, Daniel P. Berrange wrote: On Mon, Dec 07, 2015 at 09:42:21AM -0700, Jim Fehlig wrote: > In commit d2e5538b1, the libxl driver

[Xen-devel] [PATCH] xen/x86: Zero out .bss for PV guests

2016-02-22 Thread Boris Ostrovsky
Baremetal kernels clear .bss early in the boot. Since Xen PV guests don't excecute that early code they should do it too. (Since we introduce macros for specifying 32- and 64-bit registers we can get rid of ifdefs in startup_xen()) Signed-off-by: Boris Ostrovsky ---

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

2016-02-22 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, February 22, 2016 9:08 PM > To: Wu, Feng > Cc: Andrew Cooper ; Dario Faggioli > ; George Dunlap ; >

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

2016-02-22 Thread osstest service owner
flight 83563 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/83563/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-rtds15 guest-start/debian.repeat fail blocked in 83006

Re: [Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-02-22 Thread Doug Goldstein
On 2/22/16 10:22 AM, Ian Jackson wrote: > Doug Goldstein writes ("[PATCH v2 3/4] m4/python: fix checks for Python > library support"): >> AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on >> platforms that do as needed operations by default will result in >> underlinking.

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

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

[Xen-devel] [PATCH v5 1/6] x86/hvm: Collect information of TSC scaling ratio

2016-02-22 Thread Haozhong Zhang
Both VMX TSC scaling and SVM TSC ratio use the 64-bit TSC scaling ratio, but the number of fractional bits of the ratio is different between VMX and SVM. This patch adds the architecture code to collect the number of fractional bits and other related information into fields of struct

  1   2   >