Re: [Xen-devel] [PATCH v4 01/11] xen: make xen loader callable multiple times

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 07:03:09AM +0100, Juergen Gross wrote: > The loader for xen paravirtualized environment isn't callable multiple > times as it won't free any memory in case of failure. > > Call grub_relocator_unload() as other modules do it before allocating > a new relocator or when unloadi

Re: [Xen-devel] [PATCH v4 02/11] xen: avoid memleaks on error

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 07:03:10AM +0100, Juergen Gross wrote: > When loading a Xen pv-kernel avoid memory leaks in case of errors. > > Signed-off-by: Juergen Gross > --- > grub-core/loader/i386/xen.c| 2 +- > grub-core/loader/i386/xen_fileXX.c | 17 +++-- > 2 files changed,

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 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 elf-note. > > In case the elf-note is set by the kernel don't place the initrd into > the initial mapping. This will a

Re: [Xen-devel] Xen Project Infrastructure Maintenance: Feb 22nd from 8:00 AM UTC (to fix CVE-2015-7547)

2016-02-22 Thread Lars Kurth
A quick note to let you know that all machines have been rebooted Lars > On 19 Feb 2016, at 11:59, Lars Kurth wrote: > > Hi everyone, > > due to the recently discovered glibc security vulnerability we need to reboot > all our VMs: this will affect the blog, bugs, etherpad, lists, mail, wiki an

Re: [Xen-devel] [PATCH v4 02/11] xen: avoid memleaks on error

2016-02-22 Thread Juergen Gross
On 22/02/16 09:24, Daniel Kiper wrote: > On Mon, Feb 22, 2016 at 07:03:10AM +0100, Juergen Gross wrote: >> When loading a Xen pv-kernel avoid memory leaks in case of errors. >> >> Signed-off-by: Juergen Gross >> --- >> grub-core/loader/i386/xen.c| 2 +- >> grub-core/loader/i386/xen_fileX

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

2016-02-22 Thread Daniel Kiper
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 removing the p2m list > from the initial kernel mapping in order to support huge pv domains. > > This allows a cleane

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 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 elf-note. >> >> In case the elf-note is set by the kernel don't place the i

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

2016-02-22 Thread Razvan Cojocaru
On 02/19/2016 07:26 PM, Lengyel, Tamas wrote: > > > On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper > mailto:andrew.coop...@citrix.com>> wrote: > > On 19/02/16 17:06, Lengyel, Tamas wrote: >> >> >> On Tue, Feb 16, 2016 at 3:47 AM, Jan Beulich > > wrote: >> >

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

2016-02-22 Thread Juergen Gross
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 removing the p2m list >> from the initial kernel mapping in order to suppo

Re: [Xen-devel] [PATCH] arm64: xen_boot: Fix xen boot using Grub on AARCH64

2016-02-22 Thread Fu Wei
Hi Julien, On 20 February 2016 at 00:28, Julien Grall wrote: > Xen is currently crashing because of malformed compatible property for > the boot module. This is because the property string is not > null-terminated as requested by the ePAR spec. > --- > grub-core/loader/arm64/xen_boot.c | 2 +- >

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

2016-02-22 Thread Jan Beulich
>>> On 19.02.16 at 16:51, wrote: > On 19/02/16 14:58, Jan Beulich wrote: > On 18.02.16 at 19:03, wrote: >>> --- a/xen/arch/x86/setup.c >>> +++ b/xen/arch/x86/setup.c >>> @@ -921,13 +921,51 @@ void __init noreturn __start_xen(unsigned long mbi_p) >>> /* The only data mappings to b

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

2016-02-22 Thread Jan Beulich
>>> 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, >>> and there have been substantial changes in Xen's memory handling since then. >> Deleting code which isn'

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

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

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

2016-02-22 Thread Jan Beulich
>>> 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: > --- >MAINTAINERS | 1 + >xen/arch/arm/hvm.c |

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 struct { >> > #define ELF64_R_TYPE(info) ((

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 < l2_table_of

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/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, and there have been substantial changes in Xen's memory

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 what this code is doing. Most of it dates from > 2007/2008, > and there hav

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 > + > + __2M_text_start = .; /*

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 tweaking the format file) looks

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__ That's ugly. You would probably

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 > --- > xen/include/asm-arm/config.h | 6 -- > 1 file changed, 6 deletions(-

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 values. */ >> +#define __XEN_PU

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: --- MAINTAINERS | 1 + xen/arch/arm/hvm.c

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 modula

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 t

[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 of APIs that can be u

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 Beulich wrote: > On 18.02.16 at 20:35, wrote: > On the "H

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, wrote: >> On 2/19/2016 4:26 PM, Jan Beulich wrote: >>

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 "e820.h" >>> >>> +/* Persuade errno.h to give us some

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 of the proposed libra

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 This seems obviously fine

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 t

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 rem

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 elf-

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 m

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 fills it out for the g

[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 http://lists.xenproject.org/archives/html/xen-devel/2016-02

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 t

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 con

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 = > +&per_cpu(pi_blocked_vcpu_lock, v->processor); > +struct pi_desc

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] [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 page

[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 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 mapp

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 race condition to exist betwe

[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 build-amd64-rumpuserx

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 > > mailto:andrew.coop...@citrix.com>> wrote: > > > > On 19/02/16 17:06, Lengyel, Tamas wrote: > >> > >> > >> On Tue, Feb 16, 2016 a

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 >> > mailto:andrew.coop...@citrix.com> >

[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 @@ ENTRY(int80_direct_trap) UNL

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

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 _

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(-) > ACK, cosmetic chang

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 appl

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 syntax

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 > > > > >

[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 for

[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 Acked-by: Geo

[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 1) I'm not partial to this patch. Feel free to NACK it. 2)

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 +++ b/arch/x86/include/as

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 'unnecessary'. -- Doug G

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 URL

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 ha

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 guest. > Also, the xstate_comp_o

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 the ARM side alignment should > also

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: Jan Beulich > CC: Andrew Cooper >

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 )

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 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 ELF64_R_TYPE(info) ((i

Re: [Xen-devel] [PATCH GRUB] Allow initrd concatenation on ARM64

2016-02-22 Thread Fu Wei
Hi Vladimir, Sorry for late response, I turned to work on other tasks and haven't sent the test resulted to you. Last weekend I got a email from Julien about a xen boot problem on arm64, I just noticed that you have simplified the xen_boot.c to drop xen_linux, xen_initrd and xen_xsm. By this way

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

2016-02-22 Thread Jens Axboe
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 for the Xen block drivers. They are quite simple fixes. I was not entirely sure which

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 f

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 Jackson; Stefano Stabellini; W

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 Stabellin

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 > > Reviewed-by: Konrad Rzeszutek Wilk Acked-by

[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 have done this with yo

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 wi

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 after pushing that this breaks the build with older gcc

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 > Sadly I've noticed only after pushi

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 Coop

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 > > > colle

[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 in

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 > (Xen.o

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 = xsplice_wo

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 : >

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 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 ( v->fpu_dirtied ) > return

[Xen-devel] [xen-4.6-testing test] 83463: regressions - trouble: blocked/broken/fail/pass

2016-02-22 Thread osstest service owner
flight 83463 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/83463/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 5 libvirt-build fail REGR. vs. 81632 Tests which are f

Re: [Xen-devel] [PATCH 3/3] x86/xsaves: ebx may return wrong value using CPUID eax=0xdh, ecx =1

2016-02-22 Thread Jan Beulich
>>> On 22.02.16 at 06:35, wrote: > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -4703,7 +4703,19 @@ void hvm_cpuid(unsigned int input, unsigned int *eax, > unsigned int *ebx, > for ( sub_leaf = 2; sub_leaf < 63; sub_leaf++ ) > 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 17:01, Paul Durrant wrote: >> What you did in an earlier version of this series (correct me if I'm >> wrong) is to make a separate hypercall for memory, but still keep using >> the same internal implementation (i.e., still having a write_dm p2m type >> and using rangesets to determine w

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 17:23 > 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 > (Xen.o

Re: [Xen-devel] [PATCH v2] xen/arm64: correctly emulate the {w, x}zr registers

2016-02-22 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Ian Campbell wrote: > From: Julien Grall > > On AArch64, encoding 31 for an R in the HSR is used to represent > either {w,x}sp or {w,x}zr (See C1.2.4 in ARM DDI 0486A.d) depending on > how the register field is interpreted by the instruction. > > All the instructions trapped

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

2016-02-22 Thread Doug Goldstein
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 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] travis: add IRC notifications

2016-02-22 Thread Lars Kurth
> 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 the build flips back to success >>> to be reported to #xentest on FreeNode. The syntax of t

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

2016-02-22 Thread Doug Goldstein
On 2/22/16 10:36 AM, 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 > > Sadly I've noticed only after

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 ? >> Additio

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 the build flips bac

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 >> lib

  1   2   >