Re: [Xen-devel] [PATCH v3 24/24] xl: Add new option dtdev

2015-02-24 Thread Ian Campbell
On Mon, 2015-02-23 at 22:03 +, Julien Grall wrote: > Hi Ian, > > On 23/02/2015 14:45, Ian Campbell wrote: > >> +is the absolute path in the device tree. > > > > Can it be an alias? > > Right now, no. But I can change it if you think it's useful. No need, I was just curious. _

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-24 Thread Ian Campbell
On Mon, 2015-02-23 at 22:58 -0500, Meng Xu wrote: > I'm not sure if other schedulers need such functionality right now, > because the credit2 scheduler account for the credit based on each > domain instead of each VCPU. But if the scheduler will consider the > vcpu-level credit/budget accounting, t

Re: [Xen-devel] [RFC] When to use "domain creation flag" or "HVM param"?

2015-02-24 Thread Andrew Cooper
On 24/02/15 10:31, Jan Beulich wrote: On 24.02.15 at 11:24, wrote: >> At 15:08 -0500 on 23 Feb (1424700515), Don Slutz wrote: >>> Currently Jan Beulich is not happy with the addition of a new domain >>> creation flag. Andrew Cooper is not happy with a HVM param. I am stuck >>> in the middle

[Xen-devel] [GIT PULL] xen: regression and bug fixes for 4.0-rc1

2015-02-24 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-linus-4.0-rc1-tag xen: regression and bug fixes for 4.0-rc1 - - Fix two regression introduced in 4.0-rc1 affecting PV/PVH guests in c

Re: [Xen-devel] [PATCH v7] sndif: add ABI for Para-virtual sound

2015-02-24 Thread Dario Faggioli
On Mon, 2015-02-23 at 17:41 +, Ian Campbell wrote: > On Fri, 2015-02-06 at 13:28 +0200, Oleksandr Dmytryshyn wrote: > > This is ABI for the two halves of a Para-virtual > > sound driver to communicate with each to other. > > > > Signed-off-by: Oleksandr Dmytryshyn > > Signed-off-by: Iurii Kon

Re: [Xen-devel] [PATCHv1 net] xen-netback: release pending index before pushing Tx responses

2015-02-24 Thread Wei Liu
On Tue, Feb 24, 2015 at 11:17:59AM +, David Vrabel wrote: > If the pending indexes are released /after/ pushing the Tx response > then a stale pending index may be used if a new Tx request is > immediately pushed by the frontend. The may cause various WARNINGs or > BUGs if the stale pending in

Re: [Xen-devel] NUMA for ARMv8

2015-02-24 Thread Stefano Stabellini
On Tue, 24 Feb 2015, Manish Jaggi wrote: > Hi, > > I am trying to evaluate how much NUMA for ARMv8 is supported and what all > porting is required. > For linux NUMA there is a device tree binding being discussed I believe it has > to be applied in Xen as well. > > http://www.spinics.net/lists/arm

Re: [Xen-devel] NUMA for ARMv8

2015-02-24 Thread Manish Jaggi
On 24/02/15 6:17 pm, Stefano Stabellini wrote: On Tue, 24 Feb 2015, Manish Jaggi wrote: Hi, I am trying to evaluate how much NUMA for ARMv8 is supported and what all porting is required. For linux NUMA there is a device tree binding being discussed I believe it has to be applied in Xen as well

Re: [Xen-devel] Starting xen NUMA for ARM64 on ThunderX

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 12:44 +, Stefano Stabellini wrote: > On Fri, 20 Feb 2015, Jaggi, Manish wrote: > > Hi Stefano / David, > > > > > > I am starting Xen on NUMA on ARM64 (Cavium ThunderX). Could you help with > > some pointers and test cases. > > Hello Manish, > > I would imaging that

Re: [Xen-devel] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 12:41 +, Anthony PERARD wrote: > Hi, > > A recent OpenStack nova commit make use of virNodeGetCPUMap to get the list > of online cpu of a host. But this API is not implemented for the libvirt > xen driver. > > The commit: > Add handling for offlined CPUs to the nova li

Re: [Xen-devel] [PATCH v1] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 12:59 +, Julien Grall wrote: > On 24/02/15 10:26, Ian Campbell wrote: > > On Tue, 2015-02-24 at 09:38 +, Julien Grall wrote: > >> Hi Ian, > >> > >> On 24/02/2015 09:31, Ian Campbell wrote: > >>> On Wed, 2015-02-18 at 13:03 +, Julien Grall wrote: > > +

Re: [Xen-devel] More details on the Hackathon, Shangai April 28-29

2015-02-24 Thread Lars Kurth
Hi everyone, I created http://wiki.xenproject.org/wiki/Hackathon/April2015 There are still some loose ends, such as the exact bus time-table and verifying the Chinese hotel addresses. Because it is Chinese New Year this week I don't expect

Re: [Xen-devel] [libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-24 Thread Anthony PERARD
On Tue, Feb 24, 2015 at 12:46:44PM +, Daniel P. Berrange wrote: > On Tue, Feb 24, 2015 at 12:41:01PM +, Anthony PERARD wrote: > > Hi, > > > > A recent OpenStack nova commit make use of virNodeGetCPUMap to get the list > > of online cpu of a host. But this API is not implemented for the lib

Re: [Xen-devel] [PATCH v1] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-02-24 Thread Jan Beulich
>>> On 24.02.15 at 14:47, wrote: > lpae_t is an uint64_t and flags an unsigned int, so we will have to > check that any bits we have to modified is effectively living on the > less significant word. Or, upon extraction, fold all flags into something fitting into 32 bits, like we do on x86. Jan

Re: [Xen-devel] More details on the Hackathon, Shangai April 28-29

2015-02-24 Thread Jan Beulich
>>> On 24.02.15 at 14:13, wrote: > I created http://wiki.xenproject.org/wiki/Hackathon/April2015 > Hmm, the title here says April 28-29, while the wiki page says 29-30 - which one is it then? Jan ___

Re: [Xen-devel] [PATCH for stable] x86/spinlocks/paravirt: Fix memory corruption on unlock

2015-02-24 Thread Greg KH
On Tue, Feb 24, 2015 at 02:54:59PM +0530, Raghavendra K T wrote: > Paravirt spinlock clears slowpath flag after doing unlock. > As explained by Linus currently it does: > prev = *lock; > add_smp(&lock->tickets.head, TICKET_LOCK_INC); > > /* add_smp()

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 11:30 +, Dario Faggioli wrote: > The problem is whether or not we allow overlap, i.e., whether the same > parameters can live in both interfaces, and what is the semantic of > that. Ah, I see. > Let's take RTDS as an example. budget and period make sense at the vcpu > le

Re: [Xen-devel] [PATCH v5 2/4] xen/arm: Add support for DTBs with strange names of Hip04 GICv2

2015-02-24 Thread Julien Grall
Hi Frediano, On 20/02/15 09:56, Frediano Ziglio wrote: > This name can appear in some Linux kernel repos. Not very fortunate, > but to avoid others spending an hour to spot that few characters > difference it worth to work around it. As Zoltan said on a previous mail [1], this is only used on you

Re: [Xen-devel] [PATCH v5 2/4] xen/arm: Add support for DTBs with strange names of Hip04 GICv2

2015-02-24 Thread Julien Grall
Hi Frediano, On 20/02/15 09:56, Frediano Ziglio wrote: > This name can appear in some Linux kernel repos. Not very fortunate, > but to avoid others spending an hour to spot that few characters > difference it worth to work around it. As Zoltan said on a previous mail [1], this is only used on you

Re: [Xen-devel] [PATCH v3 06/13] xen/arm: Introduce a generic way to describe device

2015-02-24 Thread Julien Grall
Hi Ian, On 20/02/15 12:22, Ian Campbell wrote: > On Fri, 2015-01-30 at 18:49 +, Julien Grall wrote: >> @@ -2,8 +2,34 @@ >> #define __ASM_ARM_DEVICE_H >> >> #include >> + >> +enum device_type >> +{ >> +DEV_DT, > > I suppose no #ifdef here because an empty enum is a bit silly? this co

Re: [Xen-devel] GSoC ideas for Xen?

2015-02-24 Thread Lars Kurth
You seem to have a good list together by now. Should be good enough for the application. Regards Lars > On 23 Feb 2015, at 06:04, Karsten Wade wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/19/2015 03:54 PM, Lars Kurth wrote: >>> Do you have anything that you would want

Re: [Xen-devel] More details on the Hackathon, Shangai April 28-29

2015-02-24 Thread Lars Kurth
Apologies. That was a copy and paste oversight from copying last year's page, which is now fixed. It is April 28-29 I am grateful for you guys being such good peer reviewers Lars > On 24 Feb 2015, at 13:50, Jan Beulich wrote: > On 24.02.15 at 14:13, wrote: >> I created http://wiki.xenproj

Re: [Xen-devel] [PATCH v3 08/13] xen/arm: Describe device supported by a driver with dt_match_node

2015-02-24 Thread Julien Grall
Hi Ian, On 20/02/15 12:30, Ian Campbell wrote: > On Fri, 2015-01-30 at 18:49 +, Julien Grall wrote: > > Subject: "devices" > >> Xen is currently using list a compatible string to know if the driver > > "using a list of compatible strings" > > rather than "if the driver can use device node"

Re: [Xen-devel] [PATCH for stable] x86/spinlocks/paravirt: Fix memory corruption on unlock

2015-02-24 Thread Ingo Molnar
* Greg KH wrote: > On Tue, Feb 24, 2015 at 02:54:59PM +0530, Raghavendra K T wrote: > > Paravirt spinlock clears slowpath flag after doing unlock. > > As explained by Linus currently it does: > > prev = *lock; > > add_smp(&lock->tickets.head, TICKET_LOCK_INC); > >

Re: [Xen-devel] [PATCH v3 06/13] xen/arm: Introduce a generic way to describe device

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 14:26 +, Julien Grall wrote: > Hi Ian, > > On 20/02/15 12:22, Ian Campbell wrote: > > On Fri, 2015-01-30 at 18:49 +, Julien Grall wrote: > >> @@ -2,8 +2,34 @@ > >> #define __ASM_ARM_DEVICE_H > >> > >> #include > >> + > >> +enum device_type > >> +{ > >> +DEV_D

[Xen-devel] [PATCH 1/8] libxl: fix off-by-one error in JSON parser

2015-02-24 Thread Wei Liu
We need a sentinel slot in the generated libxl_key_value_list. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- This should be backported to 4.5. --- tools/libxl/libxl_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_json.c b/tools/libxl/l

[Xen-devel] [PATCH 7/8] testidl: call _init and _dispose several times

2015-02-24 Thread Wei Liu
Call _init and _dispose between 1 to 10 times on a type to test if _init and _dispose are idempotent. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/gentest.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/libxl/gentest.py b/too

[Xen-devel] [PATCH 4/8] gentypes: do not poison struct

2015-02-24 Thread Wei Liu
We don't want to poison the struct any more because we will later set pointers inside a struct to NULL to make it idempotent. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/gentypes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/libxl/gentypes.py b/tool

[Xen-devel] [PATCH 6/8] gentypes: set pointer to NULL

2015-02-24 Thread Wei Liu
If the dispose_fn of a type is "free" it means it should be later set to NULL. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/gentypes.py | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tools/libxl/gentypes.py b/tools/libxl/gentyp

[Xen-devel] [PATCH 0/8] libxl: make _dispose idempotent and NULL-tolerant

2015-02-24 Thread Wei Liu
The first two patches are bug fixes. Other patches are used to make _dispose idempotent and NULL-tolerant. Wei. Wei Liu (8): libxl: fix off-by-one error in JSON parser gentest: make testidl valgrind clean libxl: make some _dipose functions idempotent and tolerate NULL gentypes: do not po

[Xen-devel] [PATCH 3/8] libxl: make some _dipose functions idempotent and tolerate NULL

2015-02-24 Thread Wei Liu
These functions are not generated, so we need to do it by hand. Functions list: libxl_bitmap_dispose libxl_string_list_dispose libxl_key_value_list_dipose libxl_cpuid_dispose Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/libxl.c | 11 +-- tools/libx

[Xen-devel] [PATCH 5/8] gentypes: make dispose function tolerate NULL

2015-02-24 Thread Wei Liu
Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/gentypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxl/gentypes.py b/tools/libxl/gentypes.py index cf5ec87..804cb59 100644 --- a/tools/libxl/gentypes.py +++ b/tools/libxl/gentypes.py @@ -641,6 +641,7 @@

[Xen-devel] [PATCH 8/8] libxl: update libxl.h to say _dispose is idempotent

2015-02-24 Thread Wei Liu
Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/libxl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index c219f59..b394ee8 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -308,8 +308,7 @@

[Xen-devel] [PATCH 2/8] gentest: make testidl valgrind clean

2015-02-24 Thread Wei Liu
Free the JSON string after use to avoid memory leak. With this change testidl is valgrind clean. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/gentest.py | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/libxl/gentest.py b/tools/libx

Re: [Xen-devel] [libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-24 Thread Anthony PERARD
On Tue, Feb 24, 2015 at 01:22:19PM +, Daniel P. Berrange wrote: > On Tue, Feb 24, 2015 at 01:15:57PM +, Anthony PERARD wrote: > > On Tue, Feb 24, 2015 at 12:46:44PM +, Daniel P. Berrange wrote: > > > On Tue, Feb 24, 2015 at 12:41:01PM +, Anthony PERARD wrote: > > > > Hi, > > > > >

Re: [Xen-devel] [PATCH V2 2/3] xen: scsiback: add LUN of restored domain

2015-02-24 Thread Boris Ostrovsky
On 02/24/2015 01:06 AM, Juergen Gross wrote: On 02/18/2015 06:02 PM, Boris Ostrovsky wrote: On 02/17/2015 02:02 AM, Juergen Gross wrote: When a xen domain is being restored the LUN state of a pvscsi device is "Connected" and not "Initialising" as in case of attaching a new pvscsi LUN. This mus

Re: [Xen-devel] [PATCH for stable] x86/spinlocks/paravirt: Fix memory corruption on unlock

2015-02-24 Thread Greg KH
On Tue, Feb 24, 2015 at 03:47:37PM +0100, Ingo Molnar wrote: > > * Greg KH wrote: > > > On Tue, Feb 24, 2015 at 02:54:59PM +0530, Raghavendra K T wrote: > > > Paravirt spinlock clears slowpath flag after doing unlock. > > > As explained by Linus currently it does: > > > prev = *l

Re: [Xen-devel] Xen's Linux kernel config options

2015-02-24 Thread Stefano Stabellini
On Mon, 23 Feb 2015, Luis R. Rodriguez wrote: > On Thu, Feb 19, 2015 at 3:43 PM, Luis R. Rodriguez wrote: > > On Fri, Dec 12, 2014 at 9:29 AM, David Vrabel > > wrote: > >> On 12/12/14 13:17, Juergen Gross wrote: > >>> XEN_PVHVM > >> > >> Move XEN_PVHVM under XEN and have it select PARAVIRT and P

[Xen-devel] Branch Trace Storage for guests and VPMU initialization

2015-02-24 Thread Kevin.Mayer
Hi guys I`m trying to set up the BTS so that I can log the branches taken in the guest using Xen 4.4.1 with a WinXP SP3 guest on a Core i7 Sandy Bridge. I added the vpmu=bts boot parameter to my grub2 configuration and extended the libxl,libxc,domctl,... with an own command so that I can trigger

Re: [Xen-devel] [PATCH v9 08/13] Add IOREQ_TYPE_VMWARE_PORT

2015-02-24 Thread Jan Beulich
>>> On 17.02.15 at 00:05, wrote: > @@ -501,22 +542,50 @@ static void hvm_free_ioreq_gmfn(struct domain *d, > unsigned long gmfn) > clear_bit(i, &d->arch.hvm_domain.ioreq_gmfn.mask); > } > > -static void hvm_unmap_ioreq_page(struct hvm_ioreq_server *s, bool_t buf) > +static void hvm_unmap_

Re: [Xen-devel] [PATCH v9 12/13] test_x86_emulator.c: Add tests for #GP usage

2015-02-24 Thread Jan Beulich
>>> On 17.02.15 at 00:05, wrote: > Signed-off-by: Don Slutz There's a whole lot of stuff being added here, and I easily can't see where delivery of a #GP would actually be tested. Please explain here what the tests are supposed to test and why emulops_gp needs all the function pointers you're ad

Re: [Xen-devel] [PATCH v2] xsm/flask: Handle policy load failures properly

2015-02-24 Thread Daniel De Graaf
On 02/24/2015 05:11 AM, Jan Beulich wrote: On 23.02.15 at 20:00, wrote: --- a/xen/xsm/flask/flask_op.c +++ b/xen/xsm/flask/flask_op.c @@ -506,6 +506,7 @@ static int flask_security_load(struct xen_flask_load *load) { int ret; void *buf = NULL; +int is_reload = ss_initialized;

Re: [Xen-devel] [PATCH] xsm/flask: Handle policy load failures properly

2015-02-24 Thread Daniel De Graaf
On 02/24/2015 05:21 AM, Ian Campbell wrote: On Tue, 2015-02-24 at 09:51 +, Julien Grall wrote: On 24/02/2015 09:39, Ian Campbell wrote: On Tue, 2015-02-24 at 09:31 +, Julien Grall wrote: On 24/02/2015 08:47, Ian Campbell wrote: On Mon, 2015-02-23 at 12:53 -0500, Daniel De Graaf wrot

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 09:38 +, Frediano Ziglio wrote: > Translated address could have an offset applied to them. > Replicate same value for device node to avoid improper address > computation in the OS. I don't think this adequately explains what is going on here. AIUI the issue is that the v

Re: [Xen-devel] [PATCH v2] xsm/flask: Handle policy load failures properly

2015-02-24 Thread Jan Beulich
>>> On 24.02.15 at 16:53, wrote: > On 02/24/2015 05:11 AM, Jan Beulich wrote: > On 23.02.15 at 20:00, wrote: >>> @@ -530,6 +531,10 @@ static int flask_security_load(struct xen_flask_load >>> *load) >>> if ( ret ) >>> goto out; >>> >>> +if ( !is_reload ) >>> +print

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-24 Thread Ian Campbell
On Mon, 2015-02-23 at 16:30 +, Julien Grall wrote: > I'm wondering if it's worth to backport this patch to Xen 4.5? Maybe, I doubt 4.5 is being used on platforms which suffer from this issue, but it's pretty un-intrusive I suppose. > I will wrote a patch to do the same for GICv3. Thanks. I

Re: [Xen-devel] [RFC PATCH] xentop: add support for qdisks

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 11:10 -0700, Charles Arnold wrote: > Now that Xen uses qdisks by default and qemu does not write out > statistics to sysfs this patch queries the QMP for disk statistics. I know this patch has been withdrawn but for future reference using libyajl or some libqmp (if one exists

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-24 Thread Stefano Stabellini
On Wed, 18 Feb 2015, Ian Campbell wrote: > On Tue, 2015-02-10 at 14:34 -0700, Mike Latimer wrote: > > On Monday, February 09, 2015 06:27:54 PM Mike Latimer wrote: > > > While testing commit 2563bca1, I found that libxl_get_free_memory returns > > > 0 > > > until there is more free memory than requi

Re: [Xen-devel] [PATCH v4 21/21] xl: vNUMA support

2015-02-24 Thread Dario Faggioli
On Thu, 2015-01-29 at 17:46 +, Wei Liu wrote: > On Thu, Jan 29, 2015 at 11:10:39AM +, Ian Campbell wrote: > > On Wed, 2015-01-28 at 22:52 +, Wei Liu wrote: Hey, While reviewing v5, I realized I always wanted to, but never replied to this email! :-( Very quickly... > > > > > +For exa

Re: [Xen-devel] [PATCH v5 24/24] xl: vNUMA support

2015-02-24 Thread Dario Faggioli
On Thu, 2015-02-12 at 19:44 +, Wei Liu wrote: > This patch includes configuration options parser and documentation. > > Please find the hunk to xl.cfg.pod.5 for more information. > > Signed-off-by: Wei Liu > Cc: Ian Campbell > Cc: Ian Jackson > This all looks pretty good to me. I only have

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-24 Thread Julien Grall
On 24/02/15 16:01, Ian Campbell wrote: > On Mon, 2015-02-23 at 16:30 +, Julien Grall wrote: >> I'm wondering if it's worth to backport this patch to Xen 4.5? > > Maybe, I doubt 4.5 is being used on platforms which suffer from this > issue, but it's pretty un-intrusive I suppose. There is no r

Re: [Xen-devel] [PATCH v5 1/4] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 09:56 +, Frediano Ziglio wrote: > The GIC in this platform is mainly compatible with the standard > GICv2 beside: > - ITARGET is extended to 16 bit to support 16 CPUs; > - SGI mask is extended to support 16 CPUs; > - maximum supported interrupt is 510. I'm afraid I'm stil

Re: [Xen-devel] [PATCH v5 2/4] xen/arm: Add support for DTBs with strange names of Hip04 GICv2

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 14:19 +, Julien Grall wrote: > Hi Frediano, > > On 20/02/15 09:56, Frediano Ziglio wrote: > > This name can appear in some Linux kernel repos. Not very fortunate, > > but to avoid others spending an hour to spot that few characters > > difference it worth to work around i

Re: [Xen-devel] Xen's Linux kernel config options

2015-02-24 Thread Luis R. Rodriguez
On Tue, Feb 24, 2015 at 7:21 AM, Stefano Stabellini wrote: > On Mon, 23 Feb 2015, Luis R. Rodriguez wrote: >> On Thu, Feb 19, 2015 at 3:43 PM, Luis R. Rodriguez wrote: >> > On Fri, Dec 12, 2014 at 9:29 AM, David Vrabel >> > wrote: >> >> On 12/12/14 13:17, Juergen Gross wrote: >> >>> XEN_PVHVM >

Re: [Xen-devel] [PATCH v5 24/24] xl: vNUMA support

2015-02-24 Thread Wei Liu
On Tue, Feb 24, 2015 at 04:19:02PM +, Dario Faggioli wrote: > On Thu, 2015-02-12 at 19:44 +, Wei Liu wrote: > > This patch includes configuration options parser and documentation. > > > > Please find the hunk to xl.cfg.pod.5 for more information. > > > > Signed-off-by: Wei Liu > > Cc: Ia

Re: [Xen-devel] [PATCH v2 3/7] stubdom: don't look for mini-os source file during configure

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > Don't look for mini-os source file during configure. Mini-os source code > will be fetched during build. > > Instead look for xenstore-minios.cfg. > > Please rerun autogen.sh after applying this patch. > > Signed-off-by: Wei Liu Acked-by: Ian

Re: [Xen-devel] [qemu-mainline bisection] complete test-amd64-i386-rhel6hvm-intel

2015-02-24 Thread Stefano Stabellini
The fix is now upstream as 88428b7a93347efc51be015cc12cb71fab3976a3, the next test should pass. On Tue, 24 Feb 2015, Ian Campbell wrote: > Is this still the reason for the ongoing failures, e.g. > http://www.chiark.greenend.org.uk/~xensrcts/logs/34985/ from last night? > > On Thu, 2015-02-05 at 1

Re: [Xen-devel] [PATCH v2 5/7] Mini-OS: standalone build

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > In order to keep the tree bisectable all the changes are done in one > single commit. > > Things done in this commit: > > 1. Import necessary .mk files from Xen. > 2. Move all XEN_ related variables to MINIOS_ namespace. > 3. Import Xen public h

Re: [Xen-devel] [PATCH v2 6/7] build system: stubdom targets now depends on mini-os target

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > @@ -161,7 +163,7 @@ clean-tools: > $(MAKE) -C tools clean > > .PHONY: clean-stubdom > -clean-stubdom: > +clean-stubdom: mini-os-dir > $(MAKE) -C stubdom crossclean > ifeq (x86_64,$(XEN_TARGET_ARCH)) > XEN_TARGET_ARCH=x86_32 $

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-24 Thread Dario Faggioli
On Tue, 2015-02-24 at 14:16 +, Ian Campbell wrote: > On Tue, 2015-02-24 at 11:30 +, Dario Faggioli wrote: > > Semantically speaking, they just should be killed. OTOH, what I was > > suggesting was this: if one calls libxl_domain_sched_params_set(), which > > takes a libxl_domain_sched_para

Re: [Xen-devel] [PATCH v5 2/4] xen/arm: Add support for DTBs with strange names of Hip04 GICv2

2015-02-24 Thread Frediano Ziglio
Il 24/Feb/2015 16:24 "Ian Campbell" ha scritto: > > On Tue, 2015-02-24 at 14:19 +, Julien Grall wrote: > > Hi Frediano, > > > > On 20/02/15 09:56, Frediano Ziglio wrote: > > > This name can appear in some Linux kernel repos. Not very fortunate, > > > but to avoid others spending an hour to spo

Re: [Xen-devel] [qemu-upstream-unstable bisection] complete test-amd64-i386-freebsd10-i386

2015-02-24 Thread Stefano Stabellini
On Wed, 4 Feb 2015, Paul Durrant wrote: > > -Original Message- > > From: Stefano Stabellini [mailto:stefano.stabell...@eu.citrix.com] > > Sent: 04 February 2015 15:12 > > To: Ian Jackson > > Cc: xen-de...@lists.xensource.com; Stefano Stabellini; Paul Durrant; Ian > > Campbell > > Subject: R

Re: [Xen-devel] [PATCH v2 0/7] Split off mini-os to a separate tree

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > This is v2 of my mini-os splitting off patch series. I had a couple of small comments, but it's looking good. You should have CCd Samuel and Stefano on this stuff. From MAINTAINERS: MINI-OS M: Stefano Stabellini M:

Re: [Xen-devel] [PATCH v2 5/7] Mini-OS: standalone build

2015-02-24 Thread Wei Liu
On Tue, Feb 24, 2015 at 04:27:00PM +, Ian Campbell wrote: > On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > > In order to keep the tree bisectable all the changes are done in one > > single commit. > > > > Things done in this commit: > > > > 1. Import necessary .mk files from Xen. > > 2.

Re: [Xen-devel] [PATCH v2] tools/hotplug: Don't ever kill xenstored

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 11:45 +, Wei Liu wrote: > On Tue, Feb 24, 2015 at 08:05:50AM +, Ross Lagerwall wrote: > > Don't kill xenstored as part of the usual service shutdown process to > > prevent hangs on shutdown where the kernel tries to unplug a VIF > > after xenstored has exited. > > > >

Re: [Xen-devel] [PATCH v5 24/24] xl: vNUMA support

2015-02-24 Thread Dario Faggioli
On Tue, 2015-02-24 at 16:31 +, Wei Liu wrote: > On Tue, Feb 24, 2015 at 04:19:02PM +, Dario Faggioli wrote: > > > +} else if (!strcmp("size", option)) { > > > +val = strtoul(value, &endptr, 10); > > > +ABORT_IF_FAILED(value); > > > +

Re: [Xen-devel] [PATCH 2/3] etherboot: [build] sort objects in blib.a

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-03 at 12:45 +0100, Olaf Hering wrote: > When building hvmloader for Xen tools the ipxe objects are also linked > into the binary. Unfortunately the linker will place them in the order > found in the archive. Since this order is random the resulting hvmloader > binary differs when it

Re: [Xen-devel] [RFC] native python Xenstore module

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-03 at 14:01 +, Simon Rowe wrote: > The current Python interface to Xenstore is just a thin binding to the > C libxenstore library. This means that it is architecture-specific and > makes it awkward to use in platform-independent code like the XenServer > guest agent. Are/were y

Re: [Xen-devel] [PATCH] xen/xsm: Generate the permission in a spec-compliant way

2015-02-24 Thread Ian Campbell
On Fri, 2015-02-20 at 18:01 -0500, Daniel De Graaf wrote: > Acked-by: Daniel De Graaf Applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [RFC] When to use "domain creation flag" or "HVM param"?

2015-02-24 Thread Don Slutz
On 02/24/15 05:50, Andrew Cooper wrote: > On 24/02/15 10:31, Jan Beulich wrote: > On 24.02.15 at 11:24, wrote: >>> At 15:08 -0500 on 23 Feb (1424700515), Don Slutz wrote: Currently Jan Beulich is not happy with the addition of a new domain creation flag. Andrew Cooper is not happy w

Re: [Xen-devel] [PATCH] tools/Coverity: Audit of MISSING_BREAK defects

2015-02-24 Thread Ian Campbell
Sorry, I failed to spot the subtle s/Xen/tools/ compared with the other one. Applied. On Mon, 2015-02-23 at 10:08 +, Andrew Cooper wrote: > Ping? Do I need any more acks/reviews for this patch? > > ~Andrew > > On 12/02/15 20:08, Andrew Cooper wrote: > > Coverity uses several heuristics to i

Re: [Xen-devel] [PATCH v2] tools/hotplug: Don't ever kill xenstored

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 11:45 +, Wei Liu wrote: > On Tue, Feb 24, 2015 at 08:05:50AM +, Ross Lagerwall wrote: > > Don't kill xenstored as part of the usual service shutdown process to > > prevent hangs on shutdown where the kernel tries to unplug a VIF > > after xenstored has exited. > > > >

Re: [Xen-devel] [PATCH v2 6/7] build system: stubdom targets now depends on mini-os target

2015-02-24 Thread Wei Liu
On Tue, Feb 24, 2015 at 04:33:17PM +, Ian Campbell wrote: > On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > > @@ -161,7 +163,7 @@ clean-tools: > > $(MAKE) -C tools clean > > > > .PHONY: clean-stubdom > > -clean-stubdom: > > +clean-stubdom: mini-os-dir > > $(MAKE) -C stubdom cross

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 16:06 +, Stefano Stabellini wrote: > > Now that we autodetect the use of dom0_mem and set autoballooning > > correctly perhaps we should just revert a39b5bc64? > > We could do that and theoretically it makes perfect sense, but it would > result in an even bigger waste of

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 16:21 +, Julien Grall wrote: > On 24/02/15 16:01, Ian Campbell wrote: > > On Mon, 2015-02-23 at 16:30 +, Julien Grall wrote: > >> I'm wondering if it's worth to backport this patch to Xen 4.5? > > > > Maybe, I doubt 4.5 is being used on platforms which suffer from thi

Re: [Xen-devel] [RFC] native python Xenstore module

2015-02-24 Thread Sander Eikelenboom
Tuesday, February 24, 2015, 5:41:40 PM, you wrote: > On Tue, 2015-02-03 at 14:01 +, Simon Rowe wrote: >> The current Python interface to Xenstore is just a thin binding to the >> C libxenstore library. This means that it is architecture-specific and >> makes it awkward to use in platform-inde

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-24 Thread Julien Grall
On 24/02/15 17:00, Ian Campbell wrote: >> Furthermore, the current code rely on how the device has been written. >> For instance the calxeda device tree is using ranges and, therefore, the >> regs contains offset. >> Fortunately, the offset and the translated address is the same. >> >>> I certainly

Re: [Xen-devel] [qemu-upstream-unstable bisection] complete test-amd64-i386-freebsd10-i386

2015-02-24 Thread Paul Durrant
> -Original Message- > From: Stefano Stabellini [mailto:stefano.stabell...@eu.citrix.com] > Sent: 24 February 2015 16:36 > To: Paul Durrant > Cc: Stefano Stabellini; Ian Jackson; xen-de...@lists.xensource.com; Ian > Campbell > Subject: RE: [qemu-upstream-unstable bisection] complete test-am

Re: [Xen-devel] [PATCH v2 6/7] build system: stubdom targets now depends on mini-os target

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 16:52 +, Wei Liu wrote: > On Tue, Feb 24, 2015 at 04:33:17PM +, Ian Campbell wrote: > > On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > > > @@ -161,7 +163,7 @@ clean-tools: > > > $(MAKE) -C tools clean > > > > > > .PHONY: clean-stubdom > > > -clean-stubdom: >

Re: [Xen-devel] Branch Trace Storage for guests and VPMU initialization

2015-02-24 Thread Boris Ostrovsky
On 02/24/2015 10:27 AM, kevin.ma...@gdata.de wrote: Hi guys I`m trying to set up the BTS so that I can log the branches taken in the guest using Xen 4.4.1 with a WinXP SP3 guest on a Core i7 Sandy Bridge. I added the vpmu=bts boot parameter to my grub2 configuration and extended the libxl,

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-24 Thread Don Slutz
On 02/24/15 03:34, Jan Beulich wrote: On 23.02.15 at 18:11, wrote: >> On 02/23/15 10:12, Jan Beulich wrote: >> On 17.02.15 at 00:05, wrote: @@ -393,6 +393,11 @@ struct x86_emulate_ops enum x86_segment seg, unsigned long offset, struct x86_em

Re: [Xen-devel] [qemu-upstream-unstable bisection] complete test-amd64-i386-freebsd10-i386

2015-02-24 Thread Paul Durrant
> -Original Message- > From: Paul Durrant > Sent: 24 February 2015 17:11 > To: 'Stefano Stabellini' > Cc: Stefano Stabellini; Ian Jackson; xen-de...@lists.xensource.com; Ian > Campbell > Subject: RE: [qemu-upstream-unstable bisection] complete test-amd64-i386- > freebsd10-i386 > > > -O

Re: [Xen-devel] [PATCH v2 6/7] build system: stubdom targets now depends on mini-os target

2015-02-24 Thread Wei Liu
On Tue, Feb 24, 2015 at 05:01:26PM +, Ian Campbell wrote: > On Tue, 2015-02-24 at 16:52 +, Wei Liu wrote: > > On Tue, Feb 24, 2015 at 04:33:17PM +, Ian Campbell wrote: > > > On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > > > > @@ -161,7 +163,7 @@ clean-tools: > > > > $(MAKE

Re: [Xen-devel] [PATCH v2 6/7] build system: stubdom targets now depends on mini-os target

2015-02-24 Thread Wei Liu
On Tue, Feb 24, 2015 at 05:12:20PM +, Wei Liu wrote: > On Tue, Feb 24, 2015 at 05:01:26PM +, Ian Campbell wrote: > > On Tue, 2015-02-24 at 16:52 +, Wei Liu wrote: > > > On Tue, Feb 24, 2015 at 04:33:17PM +, Ian Campbell wrote: > > > > On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote

Re: [Xen-devel] [PATCH v2 6/7] build system: stubdom targets now depends on mini-os target

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 17:12 +, Wei Liu wrote: > On Tue, Feb 24, 2015 at 05:01:26PM +, Ian Campbell wrote: > > On Tue, 2015-02-24 at 16:52 +, Wei Liu wrote: > > > On Tue, Feb 24, 2015 at 04:33:17PM +, Ian Campbell wrote: > > > > On Fri, 2015-02-20 at 11:17 +, Wei Liu wrote: > > >

Re: [Xen-devel] [PATCH v2 6/7] build system: stubdom targets now depends on mini-os target

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 17:22 +, Wei Liu wrote: > On Tue, Feb 24, 2015 at 05:12:20PM +, Wei Liu wrote: > > On Tue, Feb 24, 2015 at 05:01:26PM +, Ian Campbell wrote: > > > On Tue, 2015-02-24 at 16:52 +, Wei Liu wrote: > > > > On Tue, Feb 24, 2015 at 04:33:17PM +, Ian Campbell wrote

Re: [Xen-devel] [PATCH v3] tools/xenconsoled: Increase file descriptor limit

2015-02-24 Thread Ian Jackson
Andrew Cooper writes ("Re: [PATCH v3] tools/xenconsoled: Increase file descriptor limit"): > On 19/02/15 16:30, Ian Jackson wrote: > > Why is this only a stopgap solution ? > > It is yet another place with an arbitrary limit, which is one more > moving part to go wrong. OIC. I meant `unlimited'

[Xen-devel] [PATCH v5 00/29] Xen/ARM guest support

2015-02-24 Thread Ard Biesheuvel
This series implements support for executing Tianocore inside a Xen guest domain on 64-bit ARM systems (AArch64) The first part addresses ARM platform specifics, primarily to allow a Tianocore binary image to be runtime relocatable, and execute from DRAM. The second part refactors the XenBus supp

[Xen-devel] [PATCH v5 02/29] ArmPkg: allow patchable PCDs for memory, FD and FV addresses

2015-02-24 Thread Ard Biesheuvel
In order to allow a runtime self relocating PrePi instance, change the allowable PCD types for the following PCDs: gArmTokenSpaceGuid.PcdSystemMemoryBase gArmTokenSpaceGuid.PcdSystemMemorySize gArmTokenSpaceGuid.PcdFdBaseAddress gArmTokenSpaceGuid.PcdFvBaseAddress to include PcdsPatchable

Re: [Xen-devel] [qemu-upstream-unstable bisection] complete test-amd64-i386-freebsd10-i386

2015-02-24 Thread Ian Jackson
Paul Durrant writes ("RE: [qemu-upstream-unstable bisection] complete test-amd64-i386-freebsd10-i386"): > I thought this was fixed. I posted the fix over a week ago and it's applied: Looking at the most recent tests it appears that there is a combination of heisenbugs: Many recent flights (eg 35

[Xen-devel] [PATCH v5 11/29] ArmVirtualizationPkg: allow patchable PCD for FV and DT base addresses

2015-02-24 Thread Ard Biesheuvel
Allow the use of patchable PCDs for gArmTokenSpaceGuid.PcdFvBaseAddress and gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress by moving them from the [FixedPcd] to the [Pcd] section in the INF file of PlatformPeiLib. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-b

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

2015-02-24 Thread xen . org
flight 35260 libvirt real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35260/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt 12 guest-start.2 fail REGR. vs. 34580 Regressions which are reg

[Xen-devel] [PATCH v5 08/29] ArmVirtualizationPkg: add padding to FDT allocation

2015-02-24 Thread Ard Biesheuvel
Our primary user QEMU/mach-virt presents us with a FDT blob padded to 64 KB with plenty of room to set additional properties. However, in the general case, we should only add properties after making sure there is enough room available. Contributed-under: TianoCore Contribution Agreement 1.0 Review

[Xen-devel] [PATCH v5 09/29] ArmVirtualizationPkg: add a relocatable version of PrePi

2015-02-24 Thread Ard Biesheuvel
This patch introduces a relocatable PrePi, which can execute from arbitrary offsets in RAM. This is intendend to be run from a boot loader which passes a description of the actual platform in a device tree, for instance. This module is based on the PrePi implementations residing under ArmPlatformP

[Xen-devel] [PATCH v5 15/29] Ovmf/Xen: move Xen interface version to

2015-02-24 Thread Ard Biesheuvel
Tiancore has its private copy of the Xen headers, and all drivers that depend on it should use the same Xen interface version, so let's move the #define to xen.h itself. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Stefano Stabellini Acked-by: Laszlo Ersek Reviewed-by: An

[Xen-devel] [PATCH v5 12/29] ArmVirtualizationPkg: Xen/PV relocatable platformlib instance

2015-02-24 Thread Ard Biesheuvel
Add a ArmPlatformLib instance that can deal with the self relocation and truly dynamic discovery of system RAM base and size. Contributed-under: TianoCore Contribution Agreement 1.0 Acked-by: Laszlo Ersek Reviewed-by: Olivier Martin Signed-off-by: Ard Biesheuvel --- .../AARCH64/MemnodeParser.S

[Xen-devel] [PATCH v5 14/29] MdePkg/BaseSynchronizationLib: Add InterlockedCompareExchange16

2015-02-24 Thread Ard Biesheuvel
This implements the function InterlockedCompareExchange16 () for all architectures, using architecture and toolchain specific intrinsics or primitive assembler instructions. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Olivier Martin Acked-by: Jordan Justen Signed-off-by:

[Xen-devel] [PATCH v5 26/29] Ovfm/Xen: add a Vendor Hardware device path GUID for the XenBus root

2015-02-24 Thread Ard Biesheuvel
On non-PCI Xen guests (such as ARM), the XenBus root is not a PCI device but an abstract 'platform' device. Add a dedicated Vendor Hardware device path GUID to identify this node. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Laszlo Ersek Signed-off-by: Ard Biesheuvel ---

[Xen-devel] [PATCH v5 24/29] Ovmf/Xen: add Xen PV console SerialPortLib driver

2015-02-24 Thread Ard Biesheuvel
This implements a SerialPortLib instance that wires up to the PV console ring used by domU guests. Also imports the required upstream Xen io/console.h header. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Stefano Stabellini Acked-by: Laszlo Ersek Signed-off-by: Ard Biesheu

[Xen-devel] [PATCH v5 16/29] Ovmf/Xen: fix pointer to int cast in XenBusDxe

2015-02-24 Thread Ard Biesheuvel
On ARM, xen_pfn_t is 64 bits but the size of a pointer is only 32 bits, so casting between them needs to go via (UINTN). Also move the xen_pfn_t cast outside the shift so that we can avoid shifting 64-bit quantities on 32-bit architectures, which may require runtime library support. Contributed-un

  1   2   >