Re: [Xen-devel] [PATCH v2] tools: add configure --with-dumpdir=DIR option

2015-05-07 Thread Olaf Hering
On Thu, May 07, Ian Campbell wrote: > On Thu, 2015-05-07 at 10:10 +0200, Olaf Hering wrote: > > On Thu, May 07, Wei Liu wrote: > > > > > On Wed, May 06, 2015 at 07:08:44AM +, Olaf Hering wrote: > > > > The current base directory /var/xen for domU dumps will be patched to > > > > /var/lib/xen

[Xen-devel] [PATCH] x86: simplify a few macros / inline functions

2015-05-07 Thread Jan Beulich
Drop pointless casts and write_atomic()'s bogus and unused "return value". Signed-off-by: Jan Beulich --- a/xen/include/asm-x86/atomic.h +++ b/xen/include/asm-x86/atomic.h @@ -17,12 +17,11 @@ static inline void name(volatile type *a build_read_atomic(read_u8_atomic, "b", uint8_t, "=q", ) build

Re: [Xen-devel] [edk2] Windows 8 64bit Guest BSOD when using OVMF to boot and *install* from CDROM(when configured with more than 4G memory)

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 10:29:55AM +0100, Ian Campbell wrote: > On Thu, 2015-05-07 at 09:02 +0200, Laszlo Ersek wrote: > > (Plus, you are cloning a git repo that may or may not be > > identical to the (semi-)official edk2 git repo.) > > FWIW git://xenbits.xen.org/ovmf.git is a direct descendant of

Re: [Xen-devel] [PATCH v2 7/8] xenalyze: remove traling whitespaces

2015-05-07 Thread Olaf Hering
On Thu, May 07, Andrew Cooper wrote: > On 07/05/15 11:35, Olaf Hering wrote: > > Result of "sed -i 's@[[:blank:]]\+$@@' tools/xentrace/xenalyze/xenalyze.c" > > > > Signed-off-by: Olaf Hering > > Cc: Ian Jackson > > Cc: Stefano Stabellini > > Cc: Ian Campbell > > Cc: Wei Liu > > Why not refre

Re: [Xen-devel] [PATCH 1/5] xen/vm_event: Added support for XSETBV events

2015-05-07 Thread Razvan Cojocaru
On 05/07/2015 09:03 PM, Andrew Cooper wrote: > In an effort to be architecture neutral, it might be an idea to have > something like > > struct vm_event_write_cr { > uint64_t index; > uint64_t old_val, new_val; > }; > > And have a per-arch index of control registers, such as > > X86_CR0

Re: [Xen-devel] [PATCH v2 6/8] xenalyze: handle more events in sched_process

2015-05-07 Thread Olaf Hering
On Fri, May 08, Wei Liu wrote: > On Thu, May 07, 2015 at 10:35:42AM +, Olaf Hering wrote: > > +void sched_class(struct record_info *ri) > > +{ > > +} > Huh, this does nothing? Is it because this is only a stub (you haven't > got around to implement it) or it is supposed to be like this? Whate

Re: [Xen-devel] [PATCH v2 2/8] xenalyze: increase NR_CPUS to 256

2015-05-07 Thread Olaf Hering
On Thu, May 07, George Dunlap wrote: > On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > > To match the hypervisor default which was introduced in > > 9da0c5b63933b9912e3903190601661813954d0d, bump the limit. > > > > Signed-off-by: Olaf Hering > > Cc: Ian Jackson > > Cc: Stefano Stabellini

[Xen-devel] problem building on ARM with XEN enabled

2015-05-07 Thread Michal Suchanek
Hello, it appears the Linus master tree fails to build on ARM with XEN enabled. Since commit 2b953a5e9 xen: Suspend ticks on all CPUs during suspend provides the suspend function only for x86 this is not surprising. I currently don't use XEN yet but building with XEN enabled was not a problem i

Re: [Xen-devel] [PATCH] xen/arm: Define xen_arch_suspend()

2015-05-07 Thread Michal Suchanek
On 7 May 2015 at 18:55, Boris Ostrovsky wrote: > Commit 2b953a5e994c ("xen: Suspend ticks on all CPUs during suspend") > introduced xen_arch_suspend() routine but did so only for x86, breaking > ARM builds. > > We need to add it to ARM as well. > > Signed-off-by: Boris Ostrovsky > Reported-by: Mi

[Xen-devel] 答复: 答复: about xenalyze

2015-05-07 Thread 蒋雄伟(蒋冲)
$xenalyze --summary trace_file_discuz.bin Using VMX hardware-assisted virtualization. scan_for_new_pcpu: Activating pcpu 10 at offset 0 Creating vcpu 10 for dom 32768 scan_for_new_pcpu: Activating pcpu 21 at offset 42196 Creating vcpu 21 for dom 32768 scan_for_new_pcpu: Activating pcpu 22 at offse

[Xen-devel] xen-netfront sets partial checksum at wrong offset

2015-05-07 Thread Venkat Venkatsubra
Hello All, When handle_incoming_queue (xen-netfront.c) calls checksum_setup() the transport header didn't seem to be initialized yet. skb_checksum_setup_ipv4 ends up initializing the checksum at incorrect offset. if (recalculate) *csum = ~csum_tcpudp_magic(ip_hdr(skb)->sad

Re: [Xen-devel] [PATCH v2 7/8] xenalyze: remove traling whitespaces

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 10:35:43AM +, Olaf Hering wrote: > Result of "sed -i 's@[[:blank:]]\+$@@' tools/xentrace/xenalyze/xenalyze.c" > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu ___

Re: [Xen-devel] [PATCH v2 6/8] xenalyze: handle more events in sched_process

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 10:35:42AM +, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu > --- > tools/xentrace/xenalyze/xenalyze.c | 73 > ++ > 1 file changed, 66 insertions(+),

Re: [Xen-devel] [PATCH v2 5/8] xenalyze: handle TRC_TRACE_WRAP_BUFFER

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 10:35:41AM +, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu > --- > tools/xentrace/xenalyze/xenalyze.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/too

Re: [Xen-devel] [PATCH v2 4/8] xenalyze: include odd mmio states in default output

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 10:35:40AM +, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu > --- > tools/xentrace/xenalyze/xenalyze.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di

Re: [Xen-devel] [PATCH v2 3/8] xenalyze: print newline after unknown hvm events

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 10:35:39AM +, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu > --- > tools/xentrace/xenalyze/xenalyze.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di

Re: [Xen-devel] [PATCH v2 2/8] xenalyze: increase NR_CPUS to 256

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 10:35:38AM +, Olaf Hering wrote: > To match the hypervisor default which was introduced in > 9da0c5b63933b9912e3903190601661813954d0d, bump the limit. > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-

Re: [Xen-devel] FreeBSD Dom0 IOMMU issues (resent)

2015-05-07 Thread Michael Dexter
On 5/7/15 7:59 PM, Chen, Tiejun wrote: Are you running IGD passthrough with guest OS? Only as far as the PVH Xen kernel is passing through all hardware to Dom0. Roger can elaborate as needed. What is your CPU? BDW? HSW? And what is your FreeBSD Linux version on Dom0 side? I just think you c

Re: [Xen-devel] [PATCH v2 1/8] xenalyze: add to tools/xentrace/xenalyze

2015-05-07 Thread Wei Liu
On Thu, May 07, 2015 at 05:45:22PM +0100, George Dunlap wrote: > On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > > This merges xenalyze.hg, changeset 150:24308507be1d into > > tools/xentrace/xenalyze to have the tool and public/trace.h in one > > place. > > > > Signed-off-by: Olaf Hering >

Re: [Xen-devel] [PATCH Remus v1 5/8] tools/libxc: defer the setting of HVM_PARAM_IDENT_PT

2015-05-07 Thread Hongyang Yang
Hi Andrew, On 05/07/2015 11:24 PM, Andrew Cooper wrote: On 07/05/15 14:59, Hongyang Yang wrote: On 05/07/2015 06:35 PM, Andrew Cooper wrote: On 07/05/15 07:37, Yang Hongyang wrote: Set the hvm param HVM_PARAM_IDENT_PT second time will fail. So defer the setting of HVM_PARAM_IDENT_PT. Signe

Re: [Xen-devel] FreeBSD Dom0 IOMMU issues (resent)

2015-05-07 Thread Chen, Tiejun
On 2015/5/8 2:58, Michael Dexter wrote: Hello all, Are you running IGD passthrough with guest OS? On 5/6/15 7:47 PM, Chen, Tiejun wrote: #1. Disable interrupt message generation #2. Please add 'cpuidle=0 msi=1' With another try, get the same with the patched kernel: What is your CPU? B

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

2015-05-07 Thread osstest service user
flight 53720 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/53720/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 6 xen-boot fail REGR. vs. 50329 test-armhf-armhf-xl-a

Re: [Xen-devel] [RFC][PATCH 04/13] tools/libxl: detect and avoid conflicts with RDM

2015-05-07 Thread Chen, Tiejun
Campbell, Jackson, Wei and Stefano, Any consideration? I can follow up Jan's idea but I need you guys make sure I'm going to do this properly. Thanks Tiejun On 2015/5/7 10:22, Chen, Tiejun wrote: On 2015/5/6 23:34, Jan Beulich wrote: On 06.05.15 at 17:00, wrote: On 2015/4/20 19:13, Jan B

[Xen-devel] [linux-3.4 test] 53719: regressions - trouble: broken/fail/pass

2015-05-07 Thread osstest service user
flight 53719 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/53719/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair15 debian-install/dst_host fail REGR. vs. 32769-bisect test-amd64-amd64-xl

Re: [Xen-devel] [RFC][PATCH 04/13] tools/libxl: detect and avoid conflicts with RDM

2015-05-07 Thread Chen, Tiejun
On 2015/5/7 14:04, Jan Beulich wrote: "Chen, Tiejun" 05/07/15 4:22 AM >>> On 2015/5/6 23:34, Jan Beulich wrote: On 06.05.15 at 17:00, wrote: On 2015/4/20 19:13, Jan Beulich wrote: On 10.04.15 at 11:21, wrote: +PERROR("Could not allocate memory."); Now that's exactly the

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

2015-05-07 Thread osstest service user
flight 53503 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/53503/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 13 guest-localmigrate fail REGR. vs. 52776 test-amd64-i386-qemuu-rhel6h

Re: [Xen-devel] [PATCH 1/5] xen/vm_event: Added support for XSETBV events

2015-05-07 Thread Andrew Cooper
On 06/05/15 18:12, Razvan Cojocaru wrote: > This patch adds XSETBV (XCR) vm_events. > > Signed-off-by: Razvan Cojocaru > --- > tools/libxc/include/xenctrl.h |2 ++ > tools/libxc/xc_monitor.c| 15 +++ > xen/arch/x86/hvm/event.c| 16 > xen/arch

Re: [Xen-devel] 答复: about xenalyze

2015-05-07 Thread George Dunlap
On 05/07/2015 04:30 AM, 蒋雄伟(蒋冲) wrote: > Hi, George > > I deploy a Discuz application in a VM and use jmeter to stress the > application. Meanwhile I use xentrace to trace. > #xentrace -D -e 0x0008f000 -T 30 trace_file_discuz.bin > > Then I use xenalyze to analyze > #xenalyze --summary trace_f

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

2015-05-07 Thread osstest service user
flight 53190 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/53190/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 13 guest-localmigrate fail REGR. vs. 50391 Tests which are fai

Re: [Xen-devel] [PATCH 1/5] xen/vm_event: Added support for XSETBV events

2015-05-07 Thread Andrew Cooper
On 07/05/15 16:43, Tim Deegan wrote: > At 20:12 +0300 on 06 May (1430943148), Razvan Cojocaru wrote: >> This patch adds XSETBV (XCR) vm_events. >> >> Signed-off-by: Razvan Cojocaru > After making things more architecture-neutral in the API rework, it > seems a shame to have this called 'xsetbv'.

Re: [Xen-devel] [PATCH 3/5] xen/vm_event: Support for guest-requested events

2015-05-07 Thread Razvan Cojocaru
On 05/07/2015 08:05 PM, Tamas K Lengyel wrote: > Hi Razvan, > I guess I don't really see into the setup you envision using this > event-type with, but wouldn't it be possible to just use libxenvchan? Hello Tamas, This patch evolved from "xen: Support for VMCALL mem_events": http://lists.xen.org/

Re: [Xen-devel] [PATCH v2 6/8] xenalyze: handle more events in sched_process

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 6:28 PM, Andrew Cooper wrote: > On 07/05/15 18:13, George Dunlap wrote: >>> +case TRC_SCHED_ADJDOM: >>> > +printf(" %s sched_adjdom domid d%u\n", >>> > + ri->dump_header, ri->d[0]); >>> > +break; >> Wow, this has got to be on

Re: [Xen-devel] [PATCH v2 7/8] xenalyze: remove traling whitespaces

2015-05-07 Thread George Dunlap
On 05/07/2015 06:26 PM, Andrew Cooper wrote: > On 07/05/15 11:35, Olaf Hering wrote: >> Result of "sed -i 's@[[:blank:]]\+$@@' tools/xentrace/xenalyze/xenalyze.c" >> >> Signed-off-by: Olaf Hering >> Cc: Ian Jackson >> Cc: Stefano Stabellini >> Cc: Ian Campbell >> Cc: Wei Liu > > Why not refre

Re: [Xen-devel] [PATCH v2 6/8] xenalyze: handle more events in sched_process

2015-05-07 Thread Andrew Cooper
On 07/05/15 18:13, George Dunlap wrote: >> +case TRC_SCHED_ADJDOM: >> > +printf(" %s sched_adjdom domid d%u\n", >> > + ri->dump_header, ri->d[0]); >> > +break; > Wow, this has got to be one of the most useless trace points > ever... > Is it a candi

Re: [Xen-devel] [PATCH v2 7/8] xenalyze: remove traling whitespaces

2015-05-07 Thread Andrew Cooper
On 07/05/15 11:35, Olaf Hering wrote: > Result of "sed -i 's@[[:blank:]]\+$@@' tools/xentrace/xenalyze/xenalyze.c" > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Why not refresh patch 1 using git's --whitespace=fix mode? It would sa

Re: [Xen-devel] [PATCH v6 2/6] Qemu-Xen-vTPM: Xen frontend driver infrastructure

2015-05-07 Thread Stefano Stabellini
On Mon, 4 May 2015, Quan Xu wrote: > This patch adds infrastructure for xen front drivers living in qemu, > so drivers don't need to implement common stuff on their own. It's > mostly xenbus management stuff: some functions to access XenStore, > setting up XenStore watches, callbacks on device dis

Re: [Xen-devel] [PATCH v2 8/8] xenalyze: remove argp_program_version

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > Since xenalyze is now upstream its Open Source and part of the given > release. > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: George Dunlap _

Re: [Xen-devel] [PATCH v2 7/8] xenalyze: remove traling whitespaces

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > Result of "sed -i 's@[[:blank:]]\+$@@' tools/xentrace/xenalyze/xenalyze.c" > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: George Dunlap _

Re: [Xen-devel] [PATCH v2 6/8] xenalyze: handle more events in sched_process

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu [snip] > +case TRC_SCHED_ADJDOM: > +printf(" %s sched_adjdom domid d%u\n", > + ri->dump_header,

Re: [Xen-devel] Next Document Day Moved to Wednesday, May 6

2015-05-07 Thread Russ Pavlicek
I want to thank everyone who participated in yesterday's Document Day. Among other things, we have a new page about "Huge Page Support" which is taking shape nicely. And I want to thank Robert Vanvossen and Axel Fontaine who joined in the effort for the first time. Thank you! Don't forget that

[Xen-devel] [PATCH] xen/arm: Define xen_arch_suspend()

2015-05-07 Thread Boris Ostrovsky
Commit 2b953a5e994c ("xen: Suspend ticks on all CPUs during suspend") introduced xen_arch_suspend() routine but did so only for x86, breaking ARM builds. We need to add it to ARM as well. Signed-off-by: Boris Ostrovsky Reported-by: Michal Suchanek Tested-by: Stefano Stabellini --- arch/arm/xe

[Xen-devel] [PATCH v1 4/4] xl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-07 Thread Chong Li
Change main_sched_rtds and related output functions to support per-VCPU settings for xl sched-rtds tool. Signed-off-by: Chong Li Signed-off-by: Meng Xu Signed-off-by: Sisu Xi --- tools/libxl/xl_cmdimpl.c | 131 +-- 1 file changed, 103 insertions(+),

[Xen-devel] [PATCH v1 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-07 Thread Chong Li
Change sched_rtds_domain_get/set functions to support per-VCPU settings for RTDS scheduler. Signed-off-by: Chong Li Signed-off-by: Meng Xu Signed-off-by: Sisu Xi --- tools/libxl/libxl.c | 143 +--- tools/libxl/libxl.h | 6 ++ tools/lib

[Xen-devel] [PATCH v1 0/4] Enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-07 Thread Chong Li
[Goal] The current xl sched-rtds tool can only set the VCPUs of a domain to the same parameter although the scheduler supports VCPUs with different parameters. This patchset is to enable xl sched-rtds tool to configure the VCPUs of a domain with different parameters. This per-VCPU settings can

[Xen-devel] [PATCH v1 2/4] libxc: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-07 Thread Chong Li
Add xc_sched_rtds_vcpu_get/set functions to interact with Xen to get/set a domain's per-VCPU parameters. Signed-off-by: Chong Li Signed-off-by: Meng Xu Signed-off-by: Sisu Xi --- tools/libxc/include/xenctrl.h | 9 tools/libxc/xc_rt.c | 52 ++

[Xen-devel] [PATCH v1 1/4] xen: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-07 Thread Chong Li
Add two hypercalls(XEN_DOMCTL_SCHEDOP_getvcpuinfo/putvcpuinfo) to get/set a domain's per-VCPU parameters. Hypercalls are handled in function rt_dom_cntl. Add an array pointer in struct xen_domctl_sched_rtds(an union in struct xen_domctl_scheduler_op), which is used for transferring data between

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

2015-05-07 Thread osstest service user
flight 53749 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/53749/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 6 xen-boot fail REGR. vs. 53021 test-armhf-armhf-libvirt

Re: [Xen-devel] [PATCH 3/5] xen/vm_event: Support for guest-requested events

2015-05-07 Thread Tamas K Lengyel
Hi Razvan, I guess I don't really see into the setup you envision using this event-type with, but wouldn't it be possible to just use libxenvchan? Tamas On Wed, May 6, 2015 at 7:12 PM, Razvan Cojocaru wrote: > Added support for a new class of vm_events: VM_EVENT_REASON_REQUEST, > sent via HVMOP_

Re: [Xen-devel] [PATCH v2 5/8] xenalyze: handle TRC_TRACE_WRAP_BUFFER

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: George Dunlap > --- > tools/xentrace/xenalyze/xenalyze.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tools/

Re: [Xen-devel] [PATCH v2 4/8] xenalyze: include odd mmio states in default output

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: George Dunlap > --- > tools/xentrace/xenalyze/xenalyze.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [Xen-devel] [PATCH v2 3/8] xenalyze: print newline after unknown hvm events

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: George Dunlap > --- > tools/xentrace/xenalyze/xenalyze.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [Xen-devel] [PATCH v2 2/8] xenalyze: increase NR_CPUS to 256

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > To match the hypervisor default which was introduced in > 9da0c5b63933b9912e3903190601661813954d0d, bump the limit. > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Might be nice a

Re: [Xen-devel] [PATCH v2 1/8] xenalyze: add to tools/xentrace/xenalyze

2015-05-07 Thread George Dunlap
On Thu, May 7, 2015 at 11:35 AM, Olaf Hering wrote: > This merges xenalyze.hg, changeset 150:24308507be1d into > tools/xentrace/xenalyze to have the tool and public/trace.h in one > place. > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Li

Re: [Xen-devel] problem building on ARM with XEN enabled

2015-05-07 Thread Stefano Stabellini
On Thu, 7 May 2015, Boris Ostrovsky wrote: > On 05/07/2015 11:10 AM, Michal Suchanek wrote: > > Hello, > > > > it appears the Linus master tree fails to build on ARM with XEN enabled. > > > > Since commit 2b953a5e9 xen: Suspend ticks on all CPUs during suspend > > > > provides the suspend functi

[Xen-devel] [qemu-upstream-4.5-testing test] 53092: tolerable FAIL - PUSHED

2015-05-07 Thread osstest service user
flight 53092 qemu-upstream-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/53092/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-freebsd10-i386 14 guest-localmigrate/x10 fail in 50313 pass in 50283 test-amd64-amd

Re: [Xen-devel] [PATCH v3 3/3] xentrace: Implement cpu mask range parsing of human values (-c).

2015-05-07 Thread George Dunlap
On Fri, Apr 3, 2015 at 8:34 PM, Konrad Rzeszutek Wilk wrote: >> > +if ( !map ) >> > +{ >> > +fprintf(stderr, "Out of memory!\n"); >> > +return EXIT_FAILURE; >> > +} >> > +c = c_old = totaldigits = 0; >> > +s = arg; >> > +do { >> > +in_range = 0; >> >

Re: [Xen-devel] [PATCH v5 3/3] xen: block access to IO port 0xcf9

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 17:57, wrote: > Thanks for the comments. IMHO the best way to deal with this is to not > add anything in the 0xcf8-0xcfb to ioports_deny_access, leaving > admin_io_okay as-is. Then in the PVH io bitmap blocking access to > 0xcf8-0xcfb in order to trap accesses to that range. Doe

Re: [Xen-devel] [PATCHv4 3/8] x86: provide add_sized()

2015-05-07 Thread Jan Beulich
>>> On 30.04.15 at 17:33, wrote: > @@ -55,6 +69,20 @@ void __bad_atomic_size(void); > __x;\ > }) > > +#define add_sized(p, x) ({ \ > +typeof(*(p)) __x = (x);

Re: [Xen-devel] [PATCH 2/5] i386/relocator: Remove unused extern grub_relocator64_rip_addr

2015-05-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Committed, thanks. signature.asc Description: OpenPGP digital signature ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCHv4 1/8] x86: provide arch_fetch_and_add()

2015-05-07 Thread Jan Beulich
>>> On 30.04.15 at 17:33, wrote: > +static always_inline unsigned long __xadd( > +volatile void *ptr, unsigned long v, int size) > +{ > +switch ( size ) > +{ > +case 1: > +asm volatile ( "lock; xaddb %b0,%1" > + : "+r" (v), "+m" (*__xg((volatile void *

Re: [Xen-devel] [PATCH v5 3/3] xen: block access to IO port 0xcf9

2015-05-07 Thread Roger Pau Monné
Hello, El 07/05/15 a les 17.22, Jan Beulich ha escrit: On 07.05.15 at 16:54, wrote: >> This port is used by PM1a and should not be accessed directly by Dom0. > > I don't think this is unconditionally PM1a - that should be read out > of the FADT if at all. I also don't think port CF9 univers

Re: [Xen-devel] [PATCH v4 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 17:32, wrote: > At 16:22 +0100 on 07 May (1431015746), Tim Deegan wrote: >> At 16:29 +0200 on 07 May (1431016173), Roger Pau Monne wrote: >> > The allocator uses independent calls to alloc_heap_pages in order to get > the >> > desired amount of memory and then maps all the inde

Re: [Xen-devel] [PATCH v4 4/4] xen: rework paging_log_dirty_op to work with hvm guests

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 16:29, wrote: > --- a/xen/arch/x86/mm/paging.c > +++ b/xen/arch/x86/mm/paging.c > @@ -408,6 +408,51 @@ int paging_mfn_is_dirty(struct domain *d, mfn_t gmfn) > return rv; > } > > +static inline void *map_dirty_bitmap(XEN_GUEST_HANDLE_64(uint8) dirty_bitmap, > +

[Xen-devel] [qemu-upstream-unstable test] 53066: regressions - FAIL

2015-05-07 Thread osstest service user
flight 53066 qemu-upstream-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/53066/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvops 5 kernel-build fail in 52626 REGR. vs. 50281 Tests whic

Re: [Xen-devel] [PATCH 1/5] xen/vm_event: Added support for XSETBV events

2015-05-07 Thread Tim Deegan
At 20:12 +0300 on 06 May (1430943148), Razvan Cojocaru wrote: > This patch adds XSETBV (XCR) vm_events. > > Signed-off-by: Razvan Cojocaru After making things more architecture-neutral in the API rework, it seems a shame to have this called 'xsetbv'. But since we already have CR0 etc in this in

[Xen-devel] Program Management Committee Members of Xen Project Developer Summit

2015-05-07 Thread Lars Kurth
Hi all, please find attached the people who volunteered to be on the Xen Project Developer Summit PMC * Lars Kurth * Ian Campbell * Royger Pau * Dario Faggioli I expect to have the final list of talks sometimes early next week. Looks we will have somewhere in between 33-40 submissions for 20-27

Re: [Xen-devel] [PATCH v4 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-07 Thread Tim Deegan
At 16:22 +0100 on 07 May (1431015746), Tim Deegan wrote: > At 16:29 +0200 on 07 May (1431016173), Roger Pau Monne wrote: > > The allocator uses independent calls to alloc_heap_pages in order to get the > > desired amount of memory and then maps all the independent physical > > addresses into a cont

Re: [Xen-devel] [PATCH v4 3/4] xen/hap: make hap_track_dirty_vram use non-contiguous memory for temporary map

2015-05-07 Thread Tim Deegan
At 16:29 +0200 on 07 May (1431016175), Roger Pau Monne wrote: > Just like it's done for shadow_track_dirty_vram allocate the temporary > buffer using non-contiguous memory. Reviewed-by: Tim Deegan ___ Xen-devel mailing list Xen-devel@lists.xen.org http

Re: [Xen-devel] [PATCH v4 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 16:29, wrote: > The allocator uses independent calls to alloc_heap_pages in order to get the > desired amount of memory and then maps all the independent physical > addresses into a contiguous virtual address space. > > In order to keep track of this regions a red-black tree is

Re: [Xen-devel] [PATCH v4 2/4] xen/shadow: fix shadow_track_dirty_vram to work on hvm guests

2015-05-07 Thread Tim Deegan
At 16:29 +0200 on 07 May (1431016174), Roger Pau Monne wrote: > Modify shadow_track_dirty_vram to use a local buffer and then flush to the > guest without the paging_lock held. This is modeled after > hap_track_dirty_vram. > > Signed-off-by: Roger Pau Monné Reviewed-by: Tim Deegan

Re: [Xen-devel] [PATCH v5 1/3] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-05-07 Thread Roger Pau Monné
El 07/05/15 a les 17.10, Jan Beulich ha escrit: On 07.05.15 at 16:54, wrote: >> Since a PVH hardware domain has access to the physical hardware create a >> custom more permissive IO bitmap. The permissions set on the bitmap are >> populated based on the contents of the ioports rangeset. >> >>

Re: [Xen-devel] [PATCH Remus v1 5/8] tools/libxc: defer the setting of HVM_PARAM_IDENT_PT

2015-05-07 Thread Andrew Cooper
On 07/05/15 14:59, Hongyang Yang wrote: > > > On 05/07/2015 06:35 PM, Andrew Cooper wrote: >> On 07/05/15 07:37, Yang Hongyang wrote: >>> Set the hvm param HVM_PARAM_IDENT_PT second time will fail. >>> So defer the setting of HVM_PARAM_IDENT_PT. >>> >>> Signed-off-by: Yang Hongyang >> >> I would a

Re: [Xen-devel] problem building on ARM with XEN enabled

2015-05-07 Thread Boris Ostrovsky
On 05/07/2015 11:10 AM, Michal Suchanek wrote: Hello, it appears the Linus master tree fails to build on ARM with XEN enabled. Since commit 2b953a5e9 xen: Suspend ticks on all CPUs during suspend provides the suspend function only for x86 this is not surprising. I currently don't use XEN yet

Re: [Xen-devel] [PATCH v5 3/3] xen: block access to IO port 0xcf9

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 16:54, wrote: > This port is used by PM1a and should not be accessed directly by Dom0. I don't think this is unconditionally PM1a - that should be read out of the FADT if at all. I also don't think port CF9 universally serves as the port to do reboots. I.e. I don't think this s

Re: [Xen-devel] [PATCH v4 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-07 Thread Tim Deegan
At 16:29 +0200 on 07 May (1431016173), Roger Pau Monne wrote: > The allocator uses independent calls to alloc_heap_pages in order to get the > desired amount of memory and then maps all the independent physical > addresses into a contiguous virtual address space. > > In order to keep track of this

Re: [Xen-devel] [PATCH v5 2/3] xen: add the RTC io space to the blocked access list

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 16:54, wrote: > --- a/xen/arch/x86/domain_build.c > +++ b/xen/arch/x86/domain_build.c > @@ -37,6 +37,7 @@ > #include > #include > #include > +#include > > #include > > @@ -1548,6 +1549,8 @@ int __init construct_dom0( > rc |= ioports_deny_access(d, pmtmr_iop

Re: [Xen-devel] [PATCH v5 1/3] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 16:54, wrote: > Since a PVH hardware domain has access to the physical hardware create a > custom more permissive IO bitmap. The permissions set on the bitmap are > populated based on the contents of the ioports rangeset. > > Signed-off-by: Roger Pau Monné Reviewed-by: Jan Be

Re: [Xen-devel] [PATCH Remus v1 0/8] Remus support for Migration-v2

2015-05-07 Thread Hongyang Yang
On 05/07/2015 05:31 PM, Andrew Cooper wrote: On 07/05/15 08:04, Hongyang Yang wrote: Cc Andrew cooper Sorry I missed your address... No worries. You have managed a far faster turnaround on this than I have with libxl migration v2! Thank you for the more faster review! ~Andrew . --

Re: [Xen-devel] [PATCH Remus v1 5/8] tools/libxc: defer the setting of HVM_PARAM_IDENT_PT

2015-05-07 Thread Hongyang Yang
On 05/07/2015 06:35 PM, Andrew Cooper wrote: On 07/05/15 07:37, Yang Hongyang wrote: Set the hvm param HVM_PARAM_IDENT_PT second time will fail. So defer the setting of HVM_PARAM_IDENT_PT. Signed-off-by: Yang Hongyang I would argue that this is a Xen bug, not a migration bug. There is not

Re: [Xen-devel] [PATCH Remus v1 8/8] tools/libxc: X86_PV_INFO can be sent multiple times under Remus

2015-05-07 Thread Hongyang Yang
On 05/07/2015 06:58 PM, Andrew Cooper wrote: On 07/05/15 07:37, Yang Hongyang wrote: X86_PV_INFO can be sent multiple times under Remus Signed-off-by: Yang Hongyang X86_PV_INFO cannot be sent multiple times. If any information in it were to change, the receiving side would have no choice

[Xen-devel] [PATCH v5 2/3] xen: add the RTC io space to the blocked access list

2015-05-07 Thread Roger Pau Monne
Previously this was done ad-hoc in admin_io_okay. Signed-off-by: Roger Pau Monné Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/domain_build.c | 3 +++ xen/arch/x86/traps.c| 4 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/xen/arch/x86/domain_build.c b/xen/arc

[Xen-devel] [PATCH v5 1/3] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-05-07 Thread Roger Pau Monne
Since a PVH hardware domain has access to the physical hardware create a custom more permissive IO bitmap. The permissions set on the bitmap are populated based on the contents of the ioports rangeset. Signed-off-by: Roger Pau Monné Cc: Jan Beulich Cc: Andrew Cooper Cc: Boris Ostrovsky Cc: Sur

[Xen-devel] [PATCH v5 3/3] xen: block access to IO port 0xcf9

2015-05-07 Thread Roger Pau Monne
This port is used by PM1a and should not be accessed directly by Dom0. This also premits trapping 2 and 4 byte accesses to 0xcf8, which need to be handled by the hypervisor. Also, since admin_io_okay is now a wrapper around ioports_access_permitted remove it. Signed-off-by: Roger Pau Monné Cc: J

[Xen-devel] [PATCH v5 0/3] xen/pvh: use a custom IO bitmap for PVH hardware domains

2015-05-07 Thread Roger Pau Monne
This version include splitting changes into separate patches, specially those that also affect PV guests. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] MAINTAINERS: Remove Frediano Ziglio from "HISILICON HIP04 Support"

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 16:31, wrote: > On 07/05/15 15:14, Jan Beulich wrote: >> Now the question of course is - is that really what we want to do? >> I.e. is it known that he no longer wants to be a maintainer of this >> code (or cannot be)? The mail address having become stale >> doesn't necessarily

Re: [Xen-devel] [PATCH] MAINTAINERS: Updated arinc653_sched maintainers

2015-05-07 Thread Nathan Studer
On Thu, May 7, 2015 at 10:15 AM, Jan Beulich wrote: On 06.05.15 at 19:21, wrote: >> Removed Nathan Studer and added Josh Whitehead. > > Nathan, > > could you confirm the removal please? Confirmed, and if you need a more formal ack... > > Jan > >> Signed-off-by: Robert VanVossen Acked-by

Re: [Xen-devel] [PATCH] MAINTAINERS: Remove Frediano Ziglio from "HISILICON HIP04 Support"

2015-05-07 Thread Julien Grall
Hi Jan, On 07/05/15 15:14, Jan Beulich wrote: On 07.05.15 at 12:11, wrote: >> On 07/05/15 10:52, Julien Grall wrote: >>> On 07/05/2015 09:21, Zoltan Kiss wrote: On 06/05/15 19:56, Julien Grall wrote: > His email address is bouncing from more than a month. > > Signed-off-by:

[Xen-devel] [PATCH v4 4/4] xen: rework paging_log_dirty_op to work with hvm guests

2015-05-07 Thread Roger Pau Monne
When the caller of paging_log_dirty_op is a hvm guest Xen would choke when trying to copy the dirty bitmap to the guest because the paging lock is already held. Fix this by independently mapping each page of the guest bitmap as needed without the paging lock held. Signed-off-by: Roger Pau Monné

[Xen-devel] [PATCH v4 2/4] xen/shadow: fix shadow_track_dirty_vram to work on hvm guests

2015-05-07 Thread Roger Pau Monne
Modify shadow_track_dirty_vram to use a local buffer and then flush to the guest without the paging_lock held. This is modeled after hap_track_dirty_vram. Signed-off-by: Roger Pau Monné Cc: Tim Deegan Cc: Jan Beulich Cc: Andrew Cooper --- Changes since v3: - Use the newly introduced alloc_xen

[Xen-devel] [PATCH v4 3/4] xen/hap: make hap_track_dirty_vram use non-contiguous memory for temporary map

2015-05-07 Thread Roger Pau Monne
Just like it's done for shadow_track_dirty_vram allocate the temporary buffer using non-contiguous memory. Signed-off-by: Roger Pau Monné Cc: Tim Deegan Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/mm/hap/hap.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/

[Xen-devel] [PATCH v4 1/4] xen: introduce a helper to allocate non-contiguous memory

2015-05-07 Thread Roger Pau Monne
The allocator uses independent calls to alloc_heap_pages in order to get the desired amount of memory and then maps all the independent physical addresses into a contiguous virtual address space. In order to keep track of this regions a red-black tree is used. Signed-off-by: Roger Pau Monné Cc:

[Xen-devel] [PATCH v4 0/4] xen/pvh: enable migration on PVH Dom0

2015-05-07 Thread Roger Pau Monne
Changes in this iteration include the addition of a non-contiguous allocator that's used in shadow_track_dirty_vram and hap_track_dirty_vram in order to allocate the temporary dirty bitmap. Thanks, Roger. ___ Xen-devel mailing list Xen-devel@lists.xen

Re: [Xen-devel] [PATCH] MAINTAINERS: Remove Frediano Ziglio from "HISILICON HIP04 Support"

2015-05-07 Thread Zoltan Kiss
On 07/05/15 15:14, Jan Beulich wrote: On 07.05.15 at 12:11, wrote: On 07/05/15 10:52, Julien Grall wrote: On 07/05/2015 09:21, Zoltan Kiss wrote: On 06/05/15 19:56, Julien Grall wrote: His email address is bouncing from more than a month. Signed-off-by: Julien Grall Cc: Ian Jackson Cc:

Re: [Xen-devel] 答复: oprofile-list Digest, Vol 108, Issue 1

2015-05-07 Thread William Cohen
On 05/05/2015 12:44 AM, 蒋雄伟(蒋冲) wrote: > In /xen/arch/x86/oprofile/op_counter.h there is a definition > > #define OP_MAX_COUNTER 8 > > As far as I know , the number of counter equals the number of events. As > all we know that the number of events is more than 8. > So my question is : Is it th

Re: [Xen-devel] [GIT PULL OSSTEST] Merge up changes from Cambridge instance.

2015-05-07 Thread Ian Jackson
Ian Campbell writes ("Re: [GIT PULL OSSTEST] Merge up changes from Cambridge instance."): > Driving error on git request-pull, the correct branch name is: > git://xenbits.xen.org/people/ianc/osstest.git from-cambridge/2015-05-05 I have just pushed this to colo pretest. In an hour or so I will

Re: [Xen-devel] [PATCH] MAINTAINERS: Updated arinc653_sched maintainers

2015-05-07 Thread Jan Beulich
>>> On 06.05.15 at 19:21, wrote: > Removed Nathan Studer and added Josh Whitehead. Nathan, could you confirm the removal please? Jan > Signed-off-by: Robert VanVossen > --- > MAINTAINERS |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINTAINERS >

Re: [Xen-devel] [PATCH] MAINTAINERS: Remove Frediano Ziglio from "HISILICON HIP04 Support"

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 12:11, wrote: > On 07/05/15 10:52, Julien Grall wrote: >> On 07/05/2015 09:21, Zoltan Kiss wrote: >>> On 06/05/15 19:56, Julien Grall wrote: His email address is bouncing from more than a month. Signed-off-by: Julien Grall Cc: Ian Jackson Cc: Keir Fras

Re: [Xen-devel] [PATCH Remus v1 1/8] tools/libxc: adjust the memory allocation for migration

2015-05-07 Thread Andrew Cooper
On 07/05/15 14:42, Hongyang Yang wrote: > > > On 05/07/2015 05:48 PM, Andrew Cooper wrote: >> On 07/05/15 07:37, Yang Hongyang wrote: >>> Move the memory allocation before the concrete live/nolive save >>> in order to avoid the free/alloc memory loop when using Remus. >>> >>> Signed-off-by: Yang Ho

Re: [Xen-devel] [PATCH Remus v1 1/8] tools/libxc: adjust the memory allocation for migration

2015-05-07 Thread Ian Campbell
On Thu, 2015-05-07 at 21:42 +0800, Hongyang Yang wrote: > > On 05/07/2015 05:48 PM, Andrew Cooper wrote: > > On 07/05/15 07:37, Yang Hongyang wrote: > >> Move the memory allocation before the concrete live/nolive save > >> in order to avoid the free/alloc memory loop when using Remus. > >> > >> Si

Re: [Xen-devel] [PATCH Remus v1 4/8] tools/libxc: split read/handle qemu info

2015-05-07 Thread Hongyang Yang
On 05/07/2015 06:48 PM, Andrew Cooper wrote: On 07/05/15 07:37, Yang Hongyang wrote: Split read/handle qemu info. The receiving of qemu info should be done while we receive the migration stream, handle_qemu will be called when the stream complete. Otherwise, it will break Remus because read_re

  1   2   >