Re: [Xen-devel] kasan_map_early_shadow() on Xen

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 05:53, wrote: > On 03/03/2015 08:20 PM, Luis R. Rodriguez wrote: >> On Tue, Mar 3, 2015 at 2:06 AM, David Vrabel wrote: >>> On 03/03/15 09:40, Luis R. Rodriguez wrote: if X86_64 && SPARSEMEM_VMEMMAP Now Xen should not have SPARSEMEM_VMEMMAP but PVOPs' goal is to

Re: [Xen-devel] [xen-unstable test] 35810: regressions - FAIL

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 04:26, wrote: > flight 35810 xen-unstable real [real] > http://www.chiark.greenend.org.uk/~xensrcts/logs/35810/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > test-amd64-amd64-rumpuserxen-amd64 5 xen-boot

Re: [Xen-devel] Ping: [PATCH 0/2] x86: tboot adjustments

2015-03-04 Thread Jan Beulich
(re-adding xen-devel to Cc) >>> On 04.03.15 at 08:59, wrote: > FYI, I no longer work on tboot (haven't for 4+ years). Jimmy is still Mr. > tboot, however ;-) Thanks for letting us know. I'll send a patch to update ./MAINTAINERS then. Jan ___ Xen-d

[Xen-devel] [PATCH] drop Joseph Cihula from TXT section

2015-03-04 Thread Jan Beulich
... because of him indicating that he hasn't been working on it for the past 4+ years. Signed-off-by: Jan Beulich --- a/MAINTAINERS +++ b/MAINTAINERS @@ -180,7 +180,6 @@ F: tools/debugger/kdd/ INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT) -M: Joseph Cihula M: Gang Wei M: Sh

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread Chun Yan Liu
>>> On 3/4/2015 at 01:15 AM, in message <54f5ec4e.6020...@eu.citrix.com>, George Dunlap wrote: > On 01/19/2015 08:28 AM, Chunyan Liu wrote: > > To attach a usb device, a virtual usb controller should be created first. > > This patch defines usbctrl and usbdevice related structs. > > > > Si

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Jan Beulich
>>> On 03.03.15 at 11:32, wrote: > On 03/03/2015 11:27 AM, Jan Beulich wrote: > On 03.03.15 at 10:29, <"jgr...@suse.com".non-mime.internet> wrote: >>> In order to indicate the Xen tools capability to support the virtual >>> mapped linear p2m list instead the 3 level mfn tree add a flag to the

Re: [Xen-devel] [PATCH OSSTEST 11/12] Changes on test step of debain hvm guest install

2015-03-04 Thread Pang, LongtaoX
> -Original Message- > From: Wei Liu [mailto:wei.l...@citrix.com] > Sent: Tuesday, February 17, 2015 6:47 PM > To: Hu, Robert > Cc: Wei Liu; Ian Jackson; xen-devel@lists.xen.org; jfeh...@suse.com; > ian.campb...@citrix.com; Pang, LongtaoX > Subject: Re: [PATCH OSSTEST 11/12] Changes on te

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Ian Campbell
On Tue, 2015-03-03 at 19:41 +, Julien Grall wrote: > python-dev is not installed. Although I have libpython-dev installed. And this used to work I suppose? As I said in <1425404173.25940.82.ca...@citrix.com>: m4/python_devel.m4 seems to suggest it was made optional on purpose

[Xen-devel] [PATCH] x86: introduce clear_fixmap()

2015-03-04 Thread Jan Beulich
... making more obvious what its so far open coded users intend. Signed-off-by: Jan Beulich --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -310,7 +310,7 @@ void free_vcpu_guest_context(struct vcpu { if ( !per_cpu(vgc_pages[i], cpu) ) continue; -__se

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

2015-03-04 Thread vijay . kilari
From: Vijaya Kumar K On x86, for the pages mapped with PAGE_HYPERVISOR attribute non-leaf page tables are allocated with valid pte entries. and with MAP_SMALL_PAGES attribute only non-leaf page tables are allocated with invalid (valid bit set to 0) pte entries. However on arm this is not the case

[Xen-devel] [PATCH] credit: generalize __vcpu_has_soft_affinity()

2015-03-04 Thread Jan Beulich
As pointed out in the discussion of the patch at http://lists.xenproject.org/archives/html/xen-devel/2015-02/msg03256.html generalizing the conditions here means code elsewhere doesn't need to take into consideration internals of how load balancing in the credit scheduler works. Signed-off-by: Ja

Re: [Xen-devel] [PATCH 1/2] x86/xen/apic: Work with UP, non-SMP 32-bit kernels.

2015-03-04 Thread David Vrabel
On 03/03/15 20:29, Konrad Rzeszutek Wilk wrote: > On Tue, Mar 03, 2015 at 03:20:41PM -0500, Konrad Rzeszutek Wilk wrote: >> Most of the APIC code that use APIC_LDR is not used on >> 64-bit. On 32-bit it is bit of an hack - and the mechanism >> it is uses is to "setup" the APIC_LDR via apci->init_ap

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 08:58 +, Jan Beulich wrote: > >>> On 03.03.15 at 11:32, wrote: > > On 03/03/2015 11:27 AM, Jan Beulich wrote: > > On 03.03.15 at 10:29, <"jgr...@suse.com".non-mime.internet> wrote: > >>> In order to indicate the Xen tools capability to support the virtual > >>> mapped

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 10:35, wrote: > On Wed, 2015-03-04 at 08:58 +, Jan Beulich wrote: >> >>> On 03.03.15 at 11:32, wrote: >> > On 03/03/2015 11:27 AM, Jan Beulich wrote: >> > On 03.03.15 at 10:29, <"jgr...@suse.com".non-mime.internet> wrote: >> >>> In order to indicate the Xen tools capabi

[Xen-devel] [qemu-mainline test] 35819: regressions - FAIL

2015-03-04 Thread xen . org
flight 35819 qemu-mainline real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35819/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 5 xen-boot fail REGR. vs. 35572 Regressions which a

Re: [Xen-devel] [PATCHv1 2/2] xen-netback: unref frags when handling a from-guest skb with a frag list

2015-03-04 Thread Ian Campbell
On Tue, 2015-03-03 at 16:26 +, David Vrabel wrote: > Every time a VIF is destroyed up-to 256 pages may be leaked if packets > with more than MAX_SKB_FRAGS frags where transmitted from the guest. > Even worse, if another user of ballooned pages allocated one of these > ballooned pages it would n

Re: [Xen-devel] [xen-unstable test] 35810: regressions - FAIL

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 08:17 +, Jan Beulich wrote: > >>> On 04.03.15 at 04:26, wrote: > > flight 35810 xen-unstable real [real] > > http://www.chiark.greenend.org.uk/~xensrcts/logs/35810/ > > > > Regressions :-( > > > > Tests which did not succeed and are blocking, > > including tests which

Re: [Xen-devel] [PATCHv1 2/2] xen-netback: unref frags when handling a from-guest skb with a frag list

2015-03-04 Thread David Vrabel
On 04/03/15 09:48, Ian Campbell wrote: > On Tue, 2015-03-03 at 16:26 +, David Vrabel wrote: >> Every time a VIF is destroyed up-to 256 pages may be leaked if packets >> with more than MAX_SKB_FRAGS frags where transmitted from the guest. >> Even worse, if another user of ballooned pages allocat

Re: [Xen-devel] [PATCH] x86: introduce clear_fixmap()

2015-03-04 Thread Andrew Cooper
On 04/03/15 09:10, Jan Beulich wrote: > ... making more obvious what its so far open coded users intend. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper > > --- a/xen/arch/x86/domain.c > +++ b/xen/arch/x86/domain.c > @@ -310,7 +310,7 @@ void free_vcpu_guest_context(struct vcpu >

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 00:26 -0700, Chun Yan Liu wrote: > > >>> On 3/3/2015 at 07:10 PM, in message > >>> <1425381019.24959.87.ca...@citrix.com>, Ian > Campbell wrote: > > On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: > > > > Sorry for the long delay in replying. > > > > > To attac

Re: [Xen-devel] [PATCHv1 2/2] xen-netback: unref frags when handling a from-guest skb with a frag list

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 09:56 +, David Vrabel wrote: > On 04/03/15 09:48, Ian Campbell wrote: > > On Tue, 2015-03-03 at 16:26 +, David Vrabel wrote: > >> Every time a VIF is destroyed up-to 256 pages may be leaked if packets > >> with more than MAX_SKB_FRAGS frags where transmitted from the g

[Xen-devel] [PATCH v11] tools, docs: add total/local memory bandwith monitoring

2015-03-04 Thread Chao Peng
Add Memory Bandwidth Monitoring(MBM) for VMs. Two types of monitoring are supported: total and local memory bandwidth monitoring. To use it, CMT should be enabled in hypervisor. Signed-off-by: Chao Peng --- Changes in v11: 1. term change: *_MEM_BANDWIDTH => *_MEM_COUNT. 2. Add assert(nr <= ARRAY_

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 09:42 +, Jan Beulich wrote: > >>> On 04.03.15 at 10:35, wrote: > > On Wed, 2015-03-04 at 08:58 +, Jan Beulich wrote: > >> >>> On 03.03.15 at 11:32, wrote: > >> > On 03/03/2015 11:27 AM, Jan Beulich wrote: > >> > On 03.03.15 at 10:29, <"jgr...@suse.com".non-mime.i

Re: [Xen-devel] [PATCH v10 4/4] tools, docs: add total/local memory bandwith monitoring

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 09:04 +0800, Chao Peng wrote: > On Tue, Mar 03, 2015 at 10:09:39AM +, Ian Campbell wrote: > > On Tue, 2015-03-03 at 16:00 +0800, Chao Peng wrote: > > > On Mon, Mar 02, 2015 at 01:48:43PM +, Ian Campbell wrote: > > > > On Thu, 2015-02-26 at 16:45 +0800, Chao Peng wrote:

Re: [Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-04 Thread Stefano Stabellini
On Tue, 3 Mar 2015, Gordan Bobic wrote: > Hi, > > I've been looking into custom e820 maps for domUs again, and > found that functionality to provide QEMU with hints regarding > e820 mapping has been upstream since some time in > 2010 (FW_CFG_E820_TABLE) with more finely grained control > (usable r

Re: [Xen-devel] [RFC PATCH 17/19] xen/arm: its: Support ITS interrupt handling

2015-03-04 Thread Stefano Stabellini
On Tue, 3 Mar 2015, Julien Grall wrote: > Hi Stefano, > > On 03/03/2015 18:07, Stefano Stabellini wrote: > > I would like to see a more generic handling of virq != physical irq. > > This is not specific to LPIs but to any scenario where the physical irq > > differs from the virtual irq. > > I tho

Re: [Xen-devel] [PATCH 1/5] x86: allow specifying the NUMA nodes Dom0 should run on

2015-03-04 Thread Dario Faggioli
On Tue, 2015-03-03 at 10:51 +, Jan Beulich wrote: > >>> On 27.02.15 at 15:54, wrote: > > The idea is that, whether the mask is full because no one touched this > > default, or because it has been manually set like that, there is nothing > > to do at the soft affinity balancing level. > > In

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Juergen Gross
On 03/04/2015 11:06 AM, Ian Campbell wrote: On Wed, 2015-03-04 at 09:42 +, Jan Beulich wrote: On 04.03.15 at 10:35, wrote: On Wed, 2015-03-04 at 08:58 +, Jan Beulich wrote: On 03.03.15 at 11:32, wrote: On 03/03/2015 11:27 AM, Jan Beulich wrote: On 03.03.15 at 10:29, <"jgr...@suse.c

Re: [Xen-devel] Crash of guest with nested vmx with Unknown nested vmexit reason 80000021.

2015-03-04 Thread Jeroen Groenewegen van der Weyden
Hi Jan, I am sorry, But had the impression you were somehow the owner of these feature. My mistake. I understand the feature is in preview, But are you feeling intense presure when I ask for some status every 2 months? :-)) BR, Jeroen Jan Beulich schreef op 27-2-2015 om 09:08: On 26.02.15

Re: [Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-04 Thread Gordan Bobic
Stefano, Many thanks for responding to this. Resplies inline below. On 2015-03-04 10:11, Stefano Stabellini wrote: On Tue, 3 Mar 2015, Gordan Bobic wrote: Hi, I've been looking into custom e820 maps for domUs again, and found that functionality to provide QEMU with hints regarding e820 mappin

Re: [Xen-devel] [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-04 Thread Chentao (Boby)
Hi, Juergen. Thanks for your advice. I will send a v2 patch based on your suggested modifications. On 2015/3/3 17:52, Juergen Gross wrote: On 03/03/2015 09:37 AM, Tao Chen wrote: Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, it makes the code easier to read. I'm not

[Xen-devel] [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-04 Thread Tao Chen
Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr sentences and DPRINTK. Also fixed up some comments just as eliminate redundant white spaces and format the code. These will make the code easier to read. Signed-off-by: Tao Chen --- drivers/xen/xen-scsiback.c | 70 +

Re: [Xen-devel] [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-04 Thread David Vrabel
On 04/03/15 18:32, Tao Chen wrote: > Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr > sentences and DPRINTK. > Also fixed up some comments just as eliminate redundant white spaces and > format the code. > These will make the code easier to read. I have already said you ne

Re: [Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-04 Thread Stefano Stabellini
On Wed, 4 Mar 2015, Gordan Bobic wrote: > Stefano, > > Many thanks for responding to this. Resplies inline below. > > On 2015-03-04 10:11, Stefano Stabellini wrote: > > On Tue, 3 Mar 2015, Gordan Bobic wrote: > > > Hi, > > > > > > I've been looking into custom e820 maps for domUs again, and > >

Re: [Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-04 Thread Gordan Bobic
On 2015-03-04 10:33, Stefano Stabellini wrote: On Wed, 4 Mar 2015, Gordan Bobic wrote: Stefano, Many thanks for responding to this. Resplies inline below. On 2015-03-04 10:11, Stefano Stabellini wrote: > On Tue, 3 Mar 2015, Gordan Bobic wrote: > > Hi, > > > > I've been looking into custom e820

Re: [Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 10:38 +, Gordan Bobic wrote: > > I don't follow you here: what is the etc/e820 interface? > > See the 2nd patch I mentioned above, which supposedly > adds "etc/e820 fw_cfg file" (whatever that means). The problem here is that hvmloader controls and can make modifications

Re: [Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-04 Thread Stefano Stabellini
On Wed, 4 Mar 2015, Gordan Bobic wrote: > On 2015-03-04 10:33, Stefano Stabellini wrote: > > On Wed, 4 Mar 2015, Gordan Bobic wrote: > > > Stefano, > > > > > > Many thanks for responding to this. Resplies inline below. > > > > > > On 2015-03-04 10:11, Stefano Stabellini wrote: > > > > On Tue, 3 M

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 11:20 +0100, Juergen Gross wrote: > On 03/04/2015 11:06 AM, Ian Campbell wrote: > > On Wed, 2015-03-04 at 09:42 +, Jan Beulich wrote: > > On 04.03.15 at 10:35, wrote: > >>> On Wed, 2015-03-04 at 08:58 +, Jan Beulich wrote: > >>> On 03.03.15 at 11:32, wrote: >

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread David Vrabel
On 04/03/15 10:20, Juergen Gross wrote: > > I could, of course, wait with the flag bit until xl is ready and post > another kernel patch then. Unfortunately this would delay Linux support > for automatically be able to run as a pv-domain >500GB further, so I > strongly recommend accepting the inte

Re: [Xen-devel] [PATCH v2] sched: credit2: respect per-vcpu hard affinity

2015-03-04 Thread Dario Faggioli
On Tue, 2015-03-03 at 09:12 +, Jan Beulich wrote: > >>> On 03.03.15 at 04:15, wrote: > > On Sun, 2015-02-08 at 17:45 -1000, Justin T. Weaver wrote: > >> +#define csched2_cpumask cpumask[smp_processor_id()] > >> + > > I like the idea, but put the right side between parentheses. > > Parenthese

Re: [Xen-devel] QEMU e820 Reservation (FW_CFG_E820_TABLE and fw_cfg etc/e820)

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 10:50 +, Stefano Stabellini wrote: > On Wed, 4 Mar 2015, Gordan Bobic wrote: > > On 2015-03-04 10:33, Stefano Stabellini wrote: > > > On Wed, 4 Mar 2015, Gordan Bobic wrote: > > > > Stefano, > > > > > > > > Many thanks for responding to this. Resplies inline below. > > >

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Juergen Gross
On 03/04/2015 11:59 AM, David Vrabel wrote: On 04/03/15 10:20, Juergen Gross wrote: I could, of course, wait with the flag bit until xl is ready and post another kernel patch then. Unfortunately this would delay Linux support for automatically be able to run as a pv-domain >500GB further, so I

[Xen-devel] [PATCHv2 3/3] xen-netback: refactor xenvif_handle_frag_list()

2015-03-04 Thread David Vrabel
When handling a from-guest frag list, xenvif_handle_frag_list() replaces the frags before calling the destructor to clean up the original (foreign) frags. Whilst this is safe (the destructor doesn't actually use the frags), it looks odd. Reorder the function to be less confusing. Signed-off-by:

[Xen-devel] [PATCHv2 1/3] xen-netback: return correct ethtool stats

2015-03-04 Thread David Vrabel
Use correct pointer arithmetic to get the pointer to each stat. Signed-off-by: David Vrabel --- drivers/net/xen-netback/interface.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index f38227a..3

[Xen-devel] [PATCHv2 2/3] xen-netback: unref frags when handling a from-guest skb with a frag list

2015-03-04 Thread David Vrabel
Every time a VIF is destroyed up to 256 pages may be leaked if packets with more than MAX_SKB_FRAGS frags were transmitted from the guest. Even worse, if another user of ballooned pages allocated one of these ballooned pages it would not handle the unexpectedly >1 page count (e.g., gntdev would dea

[Xen-devel] [PATCHv2 0/3 net] xen-netback: fix ethtool stats and memory leak

2015-03-04 Thread David Vrabel
A couple of bug fixes for netback: - make ethool stats to report the correct values. - don't leak 1 MiB every time a VIF is destroyed. Changes in v2: - Split 2nd patch into leak fix and refactor patches David ___ Xen-devel mailing list Xen-devel@lists

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread David Vrabel
On 04/03/15 11:09, Juergen Gross wrote: > On 03/04/2015 11:59 AM, David Vrabel wrote: >> On 04/03/15 10:20, Juergen Gross wrote: >>> >>> I could, of course, wait with the flag bit until xl is ready and post >>> another kernel patch then. Unfortunately this would delay Linux support >>> for automati

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Tim Deegan
At 10:52 + on 04 Mar (1425462776), Ian Campbell wrote: > On Wed, 2015-03-04 at 11:20 +0100, Juergen Gross wrote: > > I'd like to do an appropriate change in xl, but I've been told this > > would make sense only for migration protocol V2. OTOH I don't want to > > wait for an undefined amount of

Re: [Xen-devel] [PATCH] libxl: Correct license header on libxl_flask.c to be LGPL

2015-03-04 Thread Wei Liu
On Tue, Mar 3, 2015 at 5:02 PM, Ian Campbell wrote: > libxl is intended to be an LGPL 2.1 licensed library, however this > file inadvertently got given a GPL header. > > The following people have touched this file, although all but Machon's > contributions are trivial and/or mechanical an Ack from

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Juergen Gross
On 03/04/2015 12:18 PM, Tim Deegan wrote: At 10:52 + on 04 Mar (1425462776), Ian Campbell wrote: On Wed, 2015-03-04 at 11:20 +0100, Juergen Gross wrote: I'd like to do an appropriate change in xl, but I've been told this would make sense only for migration protocol V2. OTOH I don't want to

Re: [Xen-devel] [PATCHv2 0/3 net] xen-netback: fix ethtool stats and memory leak

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 11:14 +, David Vrabel wrote: All three patches: Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH V2] Add flag to start info regarding virtual mapped p2m list

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 12:22 +0100, Juergen Gross wrote: > It would either be used like intended, Which is how? That is what is really missing here. So far this appears to be a bit which enables some as yet unspecified[0] behaviour in one particular OS kernel with some as yet undiscussed potential

Re: [Xen-devel] [PATCH] credit: generalize __vcpu_has_soft_affinity()

2015-03-04 Thread Dario Faggioli
On Wed, 2015-03-04 at 09:16 +, Jan Beulich wrote: > --- a/xen/common/sched_credit.c > +++ b/xen/common/sched_credit.c > @@ -292,11 +292,9 @@ __runq_remove(struct csched_vcpu *svc) > static inline int __vcpu_has_soft_affinity(const struct vcpu *vc, >

Re: [Xen-devel] [RFC PATCH 12/19] xen/arm: its: Add support to emulate GICR register for LPIs

2015-03-04 Thread Stefano Stabellini
On Tue, 3 Mar 2015, Stefano Stabellini wrote: > On Mon, 2 Mar 2015, vijay.kil...@gmail.com wrote: > > @@ -94,19 +95,29 @@ static int __vgic_v3_rdistr_rd_mmio_read(struct vcpu > > *v, mmio_info_t *info, > > switch ( gicr_reg ) > > { > > case GICR_CTLR: > > -/* We have not imp

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread George Dunlap
On 03/04/2015 10:00 AM, Ian Campbell wrote: > On Wed, 2015-03-04 at 00:26 -0700, Chun Yan Liu wrote: >> > On 3/3/2015 at 07:10 PM, in message > <1425381019.24959.87.ca...@citrix.com>, Ian >> Campbell wrote: >>> On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: >>> >>> Sorry for th

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Julien Grall
Hi Ian, On 04/03/15 09:07, Ian Campbell wrote: > On Tue, 2015-03-03 at 19:41 +, Julien Grall wrote: >> python-dev is not installed. Although I have libpython-dev installed. > > And this used to work I suppose? > > As I said in <1425404173.25940.82.ca...@citrix.com>: > > m4/python_de

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 12:26 +, George Dunlap wrote: > On 03/04/2015 10:00 AM, Ian Campbell wrote: > > On Wed, 2015-03-04 at 00:26 -0700, Chun Yan Liu wrote: > >> > > On 3/3/2015 at 07:10 PM, in message > > <1425381019.24959.87.ca...@citrix.com>, Ian > >> Campbell wrote: > >>> On Mon,

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 12:27 +, Julien Grall wrote: > Hi Ian, > > On 04/03/15 09:07, Ian Campbell wrote: > > On Tue, 2015-03-03 at 19:41 +, Julien Grall wrote: > >> python-dev is not installed. Although I have libpython-dev installed. > > > > And this used to work I suppose? > > > > As I

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Julien Grall
On 04/03/15 12:35, Ian Campbell wrote: > On Wed, 2015-03-04 at 12:27 +, Julien Grall wrote: >> Hi Ian, >> >> On 04/03/15 09:07, Ian Campbell wrote: >>> On Tue, 2015-03-03 at 19:41 +, Julien Grall wrote: python-dev is not installed. Although I have libpython-dev installed. >>> >>> And t

Re: [Xen-devel] [PATCH v2] sched: credit2: respect per-vcpu hard affinity

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 12:03, wrote: > I see the point you're making, and I can live with _choose_cpu(), but > the result would look a bit inconsistent, IMO. I'm tempted to ask for a cleanup patch then. Jan ___ Xen-devel mailing list Xen-devel@lists.xen.

Re: [Xen-devel] [PATCHv1 1/2] xen-netback: return correct ethtool stats

2015-03-04 Thread Sergei Shtylyov
Hello. On 3/3/2015 7:26 PM, David Vrabel wrote: Use correct pointer arithmetic to get the pointer to each stat. Signed-off-by: David Vrabel --- drivers/net/xen-netback/interface.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/xen-netback/interface

Re: [Xen-devel] [PATCH v6 02/23] xen: move NUMA_NO_NODE to public memory.h as XEN_NUMA_NO_NODE

2015-03-04 Thread Dario Faggioli
On Tue, 2015-03-03 at 08:55 +, Jan Beulich wrote: > >>> On 03.03.15 at 04:42, wrote: > > Indeed. It tells Xen: < > could not come up with any sane vnode-to-pnode mapping, please figure > > that out yourself>>. > > > > That makes the code, IMO, simpler at any level. In fact, at Xen level, > >

Re: [Xen-devel] [PATCH 3.18 129/151] x86/xen: Treat SCI interrupt as normal GSI interrupt

2015-03-04 Thread Stefan Bader
On 04.03.2015 07:14, Greg Kroah-Hartman wrote: > 3.18-stable review patch. If anyone has any objections, please let me know. I thought I replied earlier today but I cannot seem to find it coming back via the mailing list. Hope this is not duplicating too much... There was a regression with that p

Re: [Xen-devel] [PATCH] credit: generalize __vcpu_has_soft_affinity()

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 13:08, wrote: > On Wed, 2015-03-04 at 09:16 +, Jan Beulich wrote: >> --- a/xen/common/sched_credit.c >> +++ b/xen/common/sched_credit.c >> @@ -292,11 +292,9 @@ __runq_remove(struct csched_vcpu *svc) >> static inline int __vcpu_has_soft_affinity(const struct vcpu *vc, >>

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 12:47 +, Julien Grall wrote: > On 04/03/15 12:35, Ian Campbell wrote: > > On Wed, 2015-03-04 at 12:27 +, Julien Grall wrote: > >> Hi Ian, > >> > >> On 04/03/15 09:07, Ian Campbell wrote: > >>> On Tue, 2015-03-03 at 19:41 +, Julien Grall wrote: > python-dev is

Re: [Xen-devel] [PATCH v2] sched: credit2: respect per-vcpu hard affinity

2015-03-04 Thread Dario Faggioli
On Wed, 2015-03-04 at 12:50 +, Jan Beulich wrote: > >>> On 04.03.15 at 12:03, wrote: > > I see the point you're making, and I can live with _choose_cpu(), but > > the result would look a bit inconsistent, IMO. > > I'm tempted to ask for a cleanup patch then. > Yep, and I'd be fine with that.

Re: [Xen-devel] [PATCH v2] sched: credit2: respect per-vcpu hard affinity

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 14:08, wrote: > On Wed, 2015-03-04 at 12:50 +, Jan Beulich wrote: >> >>> On 04.03.15 at 12:03, wrote: >> > I see the point you're making, and I can live with _choose_cpu(), but >> > the result would look a bit inconsistent, IMO. >> >> I'm tempted to ask for a cleanup patch

[Xen-devel] VT-d Posted-interrupt (PI) design for XEN

2015-03-04 Thread Wu, Feng
VT-d Posted-interrupt (PI) design for XEN Background == With the development of virtualization, there are more and more device assignment requirements. However, today when a VM is running with assigned devices (such as, NIC), external interrupt handling for the assigned devices always need

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a driver domain (usually D

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 14:31 +0100, Juergen Gross wrote: > >> - move module to appropriate location in kernel tree > > > > drivers/xen/ is the correct location for this driver. > > Hmm, so you regard placement of xen-netback under drivers/net and > xen-blkback under drivers/block as wrong? I've jus

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 02:41 PM, Ian Campbell wrote: On Wed, 2015-03-04 at 14:31 +0100, Juergen Gross wrote: - move module to appropriate location in kernel tree drivers/xen/ is the correct location for this driver. Hmm, so you regard placement of xen-netback under drivers/net and xen-blkback under d

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread David Vrabel
On 04/03/15 13:31, Juergen Gross wrote: > On 03/02/2015 12:39 PM, David Vrabel wrote: >> On 26/02/15 13:35, Juergen Gross wrote: >>> Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen >>> domU to communicate with a USB device assigned to that domU. The >>> communication is all do

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Roger Pau Monné
El 04/03/15 a les 14.00, Ian Campbell ha escrit: > On Wed, 2015-03-04 at 12:47 +, Julien Grall wrote: >> On 04/03/15 12:35, Ian Campbell wrote: >>> On Wed, 2015-03-04 at 12:27 +, Julien Grall wrote: Hi Ian, On 04/03/15 09:07, Ian Campbell wrote: > On Tue, 2015-03-03 at 19

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 15:02 +0100, Roger Pau Monné wrote: > Yes, I think so, for python versions > 2.4 we should require > python-config. ACK. > IMHO python_fortify_noopt.m4 should also be fixed to deal > with older python version that don't have python-config. That would be ideal, but unless so

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 02:53 PM, David Vrabel wrote: On 04/03/15 13:31, Juergen Gross wrote: On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that d

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread David Vrabel
On 04/03/15 14:09, Juergen Gross wrote: > > The main question whether it is worth to consider this alternative is > the performance aspect. Does anyone have an idea which USB devices would > typically be used via pvusb? I'd suspect memory sticks and USB disks > and perhaps webcams being the most p

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 14:19 +, David Vrabel wrote: > On 04/03/15 14:09, Juergen Gross wrote: > > > > The main question whether it is worth to consider this alternative is > > the performance aspect. Does anyone have an idea which USB devices would > > typically be used via pvusb? I'd suspect m

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 15:41 +0100, Juergen Gross wrote: > On 03/04/2015 03:29 PM, Ian Campbell wrote: > > On Wed, 2015-03-04 at 14:19 +, David Vrabel wrote: > >> On 04/03/15 14:09, Juergen Gross wrote: > >>> > >>> The main question whether it is worth to consider this alternative is > >>> the p

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

2015-03-04 Thread xen . org
flight 35854 rumpuserxen real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35854/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-rumpuserxen6 xen-build fail REGR. vs. 33866 build-amd64-rumpuserx

Re: [Xen-devel] [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread Paul E. McKenney
On Tue, Mar 03, 2015 at 02:31:51PM -0800, Paul E. McKenney wrote: > On Tue, Mar 03, 2015 at 05:06:50PM -0500, Boris Ostrovsky wrote: > > On 03/03/2015 04:26 PM, Paul E. McKenney wrote: > > >On Tue, Mar 03, 2015 at 03:13:07PM -0500, Boris Ostrovsky wrote: > > >>On 03/03/2015 02:42 PM, Paul E. McKenn

Re: [Xen-devel] [PATCH v3 13/24] xen/arm: Implement hypercall PHYSDEVOP_{, un}map_pirq

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 15:37, wrote: > I looked to the interface of XENDOMCTL_bind_pt_irq and I'm not sure > about the meaning of machine_irq and isa_irq. > > AFAIU the code: > machine_irq => guest PIRQ Yes (i.e. the Xen assigned representation of an IRQ the guest has been granted access to).

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread George Dunlap
On 03/04/2015 08:28 AM, Chun Yan Liu wrote: > > On 3/4/2015 at 01:15 AM, in message <54f5ec4e.6020...@eu.citrix.com>, George > Dunlap wrote: >> On 01/19/2015 08:28 AM, Chunyan Liu wrote: >>> To attach a usb device, a virtual usb controller should be created first. >>> This patch de

Re: [Xen-devel] kasan_map_early_shadow() on Xen

2015-03-04 Thread Andrey Ryabinin
On 03/03/2015 07:02 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Mar 03, 2015 at 06:38:20PM +0300, Andrey Ryabinin wrote: >> On 03/03/2015 05:16 PM, Konrad Rzeszutek Wilk wrote: >>> On Tue, Mar 03, 2015 at 04:15:06PM +0300, Andrey Ryabinin wrote: On 03/03/2015 12:40 PM, Luis R. Rodriguez wrote:

Re: [Xen-devel] [PATCH v3 13/24] xen/arm: Implement hypercall PHYSDEVOP_{, un}map_pirq

2015-03-04 Thread Julien Grall
Hi, On 23/02/15 16:02, Ian Campbell wrote: > On Mon, 2015-02-23 at 15:51 +, Julien Grall wrote: >> On 20/02/15 16:53, Ian Campbell wrote: > >>> Are we absolutely 100% sure that we will never ever want to map hardware >>> IRQs to guests on ARMs using pirq-type event channels? Because that is >

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 03:29 PM, Ian Campbell wrote: On Wed, 2015-03-04 at 14:19 +, David Vrabel wrote: On 04/03/15 14:09, Juergen Gross wrote: The main question whether it is worth to consider this alternative is the performance aspect. Does anyone have an idea which USB devices would typically be

Re: [Xen-devel] [PATCH v3 13/24] xen/arm: Implement hypercall PHYSDEVOP_{, un}map_pirq

2015-03-04 Thread Julien Grall
On 04/03/15 14:55, Jan Beulich wrote: On 04.03.15 at 15:37, wrote: >> I looked to the interface of XENDOMCTL_bind_pt_irq and I'm not sure >> about the meaning of machine_irq and isa_irq. >> >> AFAIU the code: >> machine_irq => guest PIRQ > > Yes (i.e. the Xen assigned representation of

Re: [Xen-devel] [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread Boris Ostrovsky
On 03/04/2015 09:43 AM, Paul E. McKenney wrote: On Tue, Mar 03, 2015 at 02:31:51PM -0800, Paul E. McKenney wrote: On Tue, Mar 03, 2015 at 05:06:50PM -0500, Boris Ostrovsky wrote: On 03/03/2015 04:26 PM, Paul E. McKenney wrote: On Tue, Mar 03, 2015 at 03:13:07PM -0500, Boris Ostrovsky wrote: O

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Peter Stuge
Juergen Gross wrote: > Do you have another feeling about the probability of a need to do usb 3? > If it is already on the horizon I wouldn't want to do the user space > backend now and the kernel one next year. :-) One year is pretty long in kernel time. //Peter

Re: [Xen-devel] VT-d Posted-interrupt (PI) design for XEN

2015-03-04 Thread Jan Beulich
>>> On 04.03.15 at 14:30, wrote: > - Introduce a new global vector which is used to wake up the HLT'ed vCPU. > Currently, there is a global vector 'posted_intr_vector', which is used as > the > global notification vector for all vCPUs in the system. This vector is > stored in > VMCS and CPU cons

Re: [Xen-devel] [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread Paul E. McKenney
On Wed, Mar 04, 2015 at 09:55:11AM -0500, Boris Ostrovsky wrote: > On 03/04/2015 09:43 AM, Paul E. McKenney wrote: > >On Tue, Mar 03, 2015 at 02:31:51PM -0800, Paul E. McKenney wrote: > >>On Tue, Mar 03, 2015 at 05:06:50PM -0500, Boris Ostrovsky wrote: > >>>On 03/03/2015 04:26 PM, Paul E. McKenney

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Greg KH
On Wed, Mar 04, 2015 at 02:31:08PM +0100, Juergen Gross wrote: > On 03/02/2015 12:39 PM, David Vrabel wrote: > >On 26/02/15 13:35, Juergen Gross wrote: > >>Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen > >>domU to communicate with a USB device assigned to that domU. The > >>

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 04:27 PM, Greg KH wrote: On Wed, Mar 04, 2015 at 02:31:08PM +0100, Juergen Gross wrote: On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device

Re: [Xen-devel] [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread David Vrabel
On 04/03/15 14:55, Boris Ostrovsky wrote: > > In the meantime, it turned out that HVM guests are broken by this patch > (with our without changes that we've been discussing), because HVM CPUs > die with > > static void xen_hvm_cpu_die(unsigned int cpu) > { > xen_cpu_die(cpu); > na

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

2015-03-04 Thread xen . org
flight 35825 ovmf real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35825/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-pair17 guest-migrate/src_host/dst_host fail like 35673 Tests which did not succeed, but are

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Ian Jackson
Ian Campbell writes ("Re: "./configure: line 7058: python-config: command not found" after commit 0013245"): > On Wed, 2015-03-04 at 15:02 +0100, Roger Pau Monné wrote: > > Yes, I think so, for python versions > 2.4 we should require > > python-config. > > ACK. > > > IMHO python_fortify_noopt.m4

Re: [Xen-devel] [PATCH v2] xen/iommu: fix usage of shared EPT/IOMMU page tables on PVH guests

2015-03-04 Thread David Vrabel
On 27/02/15 11:33, Roger Pau Monne wrote: > iommu_share_p2m_table should not prevent PVH guests from using a shared page > table between the IOMMU and EPT. Clean the code by removing the asserts in > the vendor specific implementations (amd_iommu_share_p2m, iommu_set_pgd), > and moving the hap_enab

Re: [Xen-devel] [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread Boris Ostrovsky
On 03/04/2015 10:45 AM, David Vrabel wrote: On 04/03/15 14:55, Boris Ostrovsky wrote: In the meantime, it turned out that HVM guests are broken by this patch (with our without changes that we've been discussing), because HVM CPUs die with static void xen_hvm_cpu_die(unsigned int cpu) {

Re: [Xen-devel] "./configure: line 7058: python-config: command not found" after commit 0013245

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 16:07 +, Ian Jackson wrote: > Ian Campbell writes ("Re: "./configure: line 7058: python-config: command not > found" after commit 0013245"): > > That would be ideal, but unless someone shows me/us a system with Python > > <=2.4 which suffers from this issue I'd also be in

Re: [Xen-devel] [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-04 Thread Joe Perches
On Wed, 2015-03-04 at 18:32 +, Tao Chen wrote: > Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr > sentences and DPRINTK. > Also fixed up some comments just as eliminate redundant white spaces and > format the code. > These will make the code easier to read. It'd proba

[Xen-devel] GSoC 2015 - Not accepted ... but some mentoring organisations which have several Xen related projects in them are

2015-03-04 Thread Lars Kurth
Hi folks, just a quick note to let you know that we were not accepted for GSoC this year. Do note that the Linux Foundation, OpenStack Foundation and many of the other usual suspects have not been accepted this year. We will find out more why on Friday. However, there are at least 4 Xen related

  1   2   >