Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-20 Thread Dario Faggioli
On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: This is the xc/xl changes to support Intel Cache Allocation Technology(CAT). Two commands are introduced: - xl psr-cat-hwinfo Show CAT hardware information. Examples: [root@vmm-psr vmm]# xl psr-cat-hwinfo Cache Allocation Technology

Re: [Xen-devel] [PATCH v5 11/13] tools/libxl: add command to show CMT hardware info

2015-04-20 Thread Dario Faggioli
On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: Add dedicated one to show hardware information. [root@vmm-psr]xl psr-cmt-hwinfo Cache Monitoring Technology (CMT): Enabled : 1 Total RMID : 63 Supported monitor types: cache-occupancy total-mem-bandwidth

Re: [Xen-devel] [PATCH V3 4/6] xl: add pvusb commands

2015-04-20 Thread Chun Yan Liu
On 4/20/2015 at 04:12 PM, in message 5534b4d8.4010...@suse.com, Juergen Gross jgr...@suse.com wrote: On 04/19/2015 05:50 AM, Chunyan Liu wrote: Add pvusb commands: usb-ctrl-attach, usb-ctrl-detach, usb-list, usb-attach and usb-detach. To attach a usb device to guest through

Re: [Xen-devel] [PATCH] [RFC] x86/cpu: Fix SMAP check in PVOPS environments

2015-04-20 Thread Andy Lutomirski
On 04/20/2015 10:09 AM, Andrew Cooper wrote: There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns the full flags, while lguest and Xen only return the Interrupt Flag, and both have comments by the implementations stating that only

Re: [Xen-devel] Is it ok to routing periperal irq to any Domain0's vCPU on Xen ARM 4.5.x?

2015-04-20 Thread 신정섭
I have a one more question. In Xen ARM 4.5, All SPI is routed to pcpu0 that run domain0's vcpu0. If domain0's vcpu0 run on pcpu0 All SPI is routed to pcpu0 If domain0's vcpu0 run on pcpu1 All SPI is routed to pcpu1 these mean that Xen ARM 4.5 can inject spi only to domain0's vcpu0 and Xen ARM

Re: [Xen-devel] [PATCH 2/7] docs/build: Do not open-code $*

2015-04-20 Thread Jan Beulich
On 20.04.15 at 13:55, andrew.coop...@citrix.com wrote: On 20/04/15 12:48, Jan Beulich wrote: On 20.04.15 at 12:49, andrew.coop...@citrix.com wrote: --- a/docs/Makefile +++ b/docs/Makefile @@ -73,13 +73,11 @@ endif man1/%.1: man/%.pod.1 Makefile $(INSTALL_DIR) $(@D) - $(POD2MAN)

Re: [Xen-devel] Is it ok to routing periperal irq to any Domain0's vCPU on Xen ARM 4.5.x?

2015-04-20 Thread 신정섭
Thanks your rely. But sorry i can't understand your explanation fully. I don't want to change GICD setting. I only want to change target Domain0' vcpu injected SPI. vcpu0 or vcpu1. I understand like below. In Xen4.4, vgic_vcpu_inject_irq() can inject SPI to any Domain0's vcpu on any pcpu.

Re: [Xen-devel] [RFC][PATCH 08/13] tools: extend xc_assign_device() to support rdm reservation policy

2015-04-20 Thread Jan Beulich
On 10.04.15 at 11:21, tiejun.c...@intel.com wrote: --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1654,13 +1654,15 @@ int xc_domain_setdebugging(xc_interface *xch, int xc_assign_device( xc_interface *xch, uint32_t domid, -uint32_t machine_sbdf) +

[Xen-devel] [qemu-mainline test] 50696: trouble: blocked/broken/pass

2015-04-20 Thread osstest service user
flight 50696 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/50696/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-xsm 3 host-install(3) broken REGR. vs.

Re: [Xen-devel] [PATCH 2/7] docs/build: Do not open-code $*

2015-04-20 Thread Andrew Cooper
On 20/04/15 12:48, Jan Beulich wrote: On 20.04.15 at 12:49, andrew.coop...@citrix.com wrote: --- a/docs/Makefile +++ b/docs/Makefile @@ -73,13 +73,11 @@ endif man1/%.1: man/%.pod.1 Makefile $(INSTALL_DIR) $(@D) -$(POD2MAN) --release=$(VERSION) --name=`echo $@ | sed

[Xen-devel] [rumpuserxen test] 50657: trouble: blocked/broken/pass

2015-04-20 Thread osstest service user
flight 50657 rumpuserxen real [real] http://logs.test-lab.xenproject.org/osstest/logs/50657/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 3 host-install(3) broken REGR. vs. 33866

Re: [Xen-devel] [RFC][PATCH 07/13] xen/passthrough: extend hypercall to support rdm reservation policy

2015-04-20 Thread Jan Beulich
On 10.04.15 at 11:21, tiejun.c...@intel.com wrote: --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1793,8 +1793,14 @@ static void iommu_set_pgd(struct domain *d) hd-arch.pgd_maddr = pagetable_get_paddr(pagetable_from_mfn(pgd_mfn)); } +/* + *

Re: [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.

2015-04-20 Thread Konrad Rzeszutek Wilk
On Mon, Apr 20, 2015 at 06:48:24PM +0800, Chen Baozi wrote: Make sure that xen_swiotlb_init allocates buffers that is DMA capable. Signed-off-by: Chen Baozi baoz...@gmail.com --- drivers/xen/swiotlb-xen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 1/2] libxl: pass environment to device model

2015-04-20 Thread Olaf Hering
Prepare device-model setup functions to pass also environment variables to the spawned process. This is required for upcoming changes which will set DISPLAY and XAUTHORITY for SDL. Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini

[Xen-devel] [PATCH 2/2] libxl: set DISPLAY and XAUTHORITY if sdl is enabled

2015-04-20 Thread Olaf Hering
With this change the following domU.cfg will show the VM window on the local dom0 display, instead of the remote side (it via ssh -X login): vnc=0 sdl=1 display=:0 xauthority=/run/gdm/auth-for-olaf-nMXhOi/database Signed-off-by: Olaf Hering o...@aepfle.de Cc: Ian Jackson

Re: [Xen-devel] about xenmon

2015-04-20 Thread George Dunlap
On Mon, Apr 20, 2015 at 7:07 AM, 蒋雄伟(蒋冲) xiongwei.ji...@alibaba-inc.com wrote: Hi, everyone, I would like to use xenmon to gain insight into xen environment. What I know about xenmon is that xentrace is used to catch events and xenbaked is used to processes events and xenmon is used to

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

2015-04-20 Thread osstest service user
flight 50465 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/50465/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REGR. vs. 50329

Re: [Xen-devel] [PATCH v9 02/15] libxc/progress: Extend the progress interface

2015-04-20 Thread Andrew Cooper
On 15/04/15 11:55, Ian Campbell wrote: On Fri, 2015-04-10 at 18:15 +0100, Andrew Cooper wrote: Not everything which needs reporting as progress comes with a range. Extend the interface to allow reporting of a single statement. The programming interface now looks like:

Re: [Xen-devel] [PATCH OSSTEST v2 2/5] Handle osstest's own local push gate in non-master production instances

2015-04-20 Thread Ian Campbell
On Wed, 2015-04-15 at 11:04 +0100, Ian Campbell wrote: If the option is set then osstest branch flights proceed by merging, the referenced branch into the local pretest branch and testing the result. This turned out to not be quite right in practice. Since pretest is not updated, in the

Re: [Xen-devel] [PATCH OSSTEST v2 2/5] Handle osstest's own local push gate in non-master production instances

2015-04-20 Thread Ian Campbell
On Mon, 2015-04-20 at 14:14 +0100, Ian Campbell wrote: I'm about to kick off an adhoc test on the Cambridge VM Except the filer seems to have just died for the second time today. I suspect I'll be putting a hold on this work until we can switch over to reliable infrastructure (which is in

Re: [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.

2015-04-20 Thread David Vrabel
On 20/04/15 12:07, Chen Baozi wrote: On Mon, Apr 20, 2015 at 11:53:47AM +0100, David Vrabel wrote: On 20/04/15 11:48, Chen Baozi wrote: Make sure that xen_swiotlb_init allocates buffers that is DMA capable. Signed-off-by: Chen Baozi baoz...@gmail.com --- drivers/xen/swiotlb-xen.c | 3 ++-

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

2015-04-20 Thread osstest service user
flight 50437 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50437/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-rumpuserxen3 host-install(3) broken REGR. vs. 36512

Re: [Xen-devel] [PATCH][XSA-126] xen: limit guest control of PCI command register

2015-04-20 Thread Michael S. Tsirkin
On Mon, Apr 13, 2015 at 01:51:06PM +0100, Jan Beulich wrote: On 13.04.15 at 14:47, m...@redhat.com wrote: On Mon, Apr 13, 2015 at 01:40:59PM +0100, Jan Beulich wrote: Quite possible. Looking at the ITP log we were provided, the UR severity bit is clear (non-fatal), yet the error got

Re: [Xen-devel] [PATCH 2/7] docs/build: Do not open-code $*

2015-04-20 Thread Jan Beulich
On 20.04.15 at 12:49, andrew.coop...@citrix.com wrote: --- a/docs/Makefile +++ b/docs/Makefile @@ -73,13 +73,11 @@ endif man1/%.1: man/%.pod.1 Makefile $(INSTALL_DIR) $(@D) - $(POD2MAN) --release=$(VERSION) --name=`echo $@ | sed 's/^man1.//'| \ - sed 's/.1//'` -s

Re: [Xen-devel] [PATCH v3 0/5] xen: arm: Parse PCI DT nodes' ranges and interrupt-map

2015-04-20 Thread Chen Baozi
On Mon, Apr 20, 2015 at 01:15:29PM +0100, Ian Campbell wrote: This series adds parsing of the DT ranges and interrupt-map properties for PCI devices, these contain the MMIOs and IRQs used by children on the bus. This replaces the specific mapping stuff on xgene. Since last time I've added a

Re: [Xen-devel] [PATCH v20 02/13] x86/VPMU: Add public xenpmu.h

2015-04-20 Thread Jan Beulich
On 09.04.15 at 17:44, boris.ostrov...@oracle.com wrote: --- /dev/null +++ b/xen/include/public/pmu.h @@ -0,0 +1,38 @@ +#ifndef __XEN_PUBLIC_PMU_H__ +#define __XEN_PUBLIC_PMU_H__ + +#include xen.h +#if defined(__i386__) || defined(__x86_64__) +#include arch-x86/pmu.h +#elif defined

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-04-20 Thread Ian Campbell
On Fri, 2015-04-17 at 13:40 -0600, Jim Fehlig wrote: On 04/17/2015 11:19 AM, Olaf Hering wrote: If the domU configu has sdl enabled libvirtd crashes: libvirtd[5158]: libvirtd: libxl.c:343: libxl_defbool_val: Assertion `!libxl_defbool_is_default(db)' failed. The assertion seems harsh

Re: [Xen-devel] [PATCH 1/8] raisin: Fix non-verbose case

2015-04-20 Thread George Dunlap
On 04/17/2015 11:06 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Because we use set -e, we can't use the a b construct, as it will fail and stop the script. Signed-off-by: George Dunlap george.dun...@eu.citrix.com I am wondering whether we should ban both a b

Re: [Xen-devel] [PATCH 7/8] raisin: Rework component specification

2015-04-20 Thread George Dunlap
On 04/17/2015 11:40 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Allow COMPONENTS to be specified in the config (or on the command-line) Now you can keep all components enabled in your config but build only one like so: COMPONENTS=xen ./raise build

[Xen-devel] [PATCH 5/7] docs/build: Do not create directories if we are not going to use them

2015-04-20 Thread Andrew Cooper
and be quite about doing so; these are only intermediate directories. No practical change, but the build log is roughly halved. Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com CC: Wei Liu

[Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.

2015-04-20 Thread Chen Baozi
Make sure that xen_swiotlb_init allocates buffers that is DMA capable. Signed-off-by: Chen Baozi baoz...@gmail.com --- drivers/xen/swiotlb-xen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 810ad41..7345afd

Re: [Xen-devel] [PATCH 6/7] docs/build: Move install checks into individual build targets

2015-04-20 Thread Jan Beulich
On 20.04.15 at 12:49, andrew.coop...@citrix.com wrote: @@ -103,12 +88,20 @@ install: install-man-pages install-html # Individual file build targets man1/%.1: man/%.pod.1 Makefile +ifdef POD2MAN Perhaps better to use ifneq($(POD2MAN),) in such cases? @$(INSTALL_DIR) $(@D)

[Xen-devel] [PATCH v3 4/5] xen: arm: map child MMIO and IRQs to dom0 for PCI bus DT nodes.

2015-04-20 Thread Ian Campbell
This uses the dt_for_each_{irq_map,range} helpers to map the interrupt and child MMIO regions to dom0. Since PCI busses are enumerable these resources may not be otherwise described in the DT (although they can be). Although PCI is the only bus we handle this way the code should be generic enough

[Xen-devel] [PATCH v3 5/5] xen: arm: Import of_bus PCI entry from Linux (as a dt_bus entry)

2015-04-20 Thread Ian Campbell
This provides specific handlers for the PCI bus relating to matching and translating. It's mostly similar to the defaults but includes some additional error checks and other PCI specific bits. Functions/types renamed and reindented (because apparently we do that for these). Needs a selection of

[Xen-devel] [PATCH v3 3/5] xen: arm: slightly refactor gic DT node creation for domain 0

2015-04-20 Thread Ian Campbell
all gics. Although in principal #interrupt-cells can vary it must always be 3 for a GIC (and we only support GIC as a guest interrupt controller), so putting it in common code is OK. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- v3: Retitle and reword, was xen: arm: propagate gic's

[Xen-devel] [PATCH v3 2/5] xen: dt: add dt_for_each_range helper

2015-04-20 Thread Ian Campbell
This function iterates over a node's ranges property and calls a callback for each region. For now it only supplies the MMIO range (in terms of CPU addresses, i.e. already translated). Signed-off-by: Ian Campbell ian.campb...@citrix.com --- xen/common/device_tree.c | 85

[Xen-devel] [PATCH v3 1/5] xen: dt: add dt_for_each_irq_map helper

2015-04-20 Thread Ian Campbell
This function iterates over a nodes interrupt-map property and calls a callback for each interrupt. For now it only supplies the raw IRQ since my use case has no need of e.g. child unit address. These can be added as needed by any future users. This follows much the same logic as dt_irq_map_raw

Re: [Xen-devel] [PATCH 7/8] raisin: Rework component specification

2015-04-20 Thread George Dunlap
On 04/17/2015 11:37 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Allow COMPONENTS to be specified in the config (or on the command-line) Now you can keep all components enabled in your config but build only one like so: COMPONENTS=xen ./raise build

Re: [Xen-devel] [PATCH] Do not assume mtu the mtu of xnb and mtu interfaces on FreeBSD.

2015-04-20 Thread Gustau Pérez
On 20/04/2015 12:01, Wei Liu wrote: On Mon, Apr 20, 2015 at 11:25:36AM +0200, Roger Pau Monné wrote: El 20/04/15 a les 9.12, Gustau Perez ha escrit: On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check

[Xen-devel] [PATCH 6/7] docs/build: Move install checks into individual build targets

2015-04-20 Thread Andrew Cooper
For top-level targets which use more than a single program to produce content (txt already, pdf once pandoc is supported), these current checks are unsuitable. By moving the the install checks to the rules which actually use the programs, it is now possible to build a subset of a top-level target

[Xen-devel] osstest outage over the weekend

2015-04-20 Thread Ian Jackson
osstest service user writes ([qemu-mainline test] 50651: trouble: blocked/broken): flight 50651 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/50651/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could

[Xen-devel] [PATCH 0/7] docs/build fixes

2015-04-20 Thread Andrew Cooper
This is the results of shaving a yak which started while introducing a pandoc document in the Migration v2 libxc series Andrew Cooper (7): docs/build: Misc cleanup docs/build: Do not open-code $* docs/build: Move two rules for consistency, and comment sections docs/build: Do not use

[Xen-devel] [PATCH 7/7] docs/build: Support generation of pandoc documents

2015-04-20 Thread Andrew Cooper
pandoc is a superset of markdown Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com CC: Wei Liu wei.l...@citrix.com --- docs/Makefile | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-)

[Xen-devel] [PATCH 3/7] docs/build: Move two rules for consistency, and comment sections

2015-04-20 Thread Andrew Cooper
No functional change. Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com CC: Wei Liu wei.l...@citrix.com --- docs/Makefile | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff

[Xen-devel] [PATCH 2/7] docs/build: Do not open-code $*

2015-04-20 Thread Andrew Cooper
Sometimes there is already a round enough wheel to hand. No functional change. Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@eu.citrix.com CC: Wei Liu wei.l...@citrix.com --- docs/Makefile |6 ++ 1 file

[Xen-devel] [PATCH 1/7] docs/build: Misc cleanup

2015-04-20 Thread Andrew Cooper
* Use $(PANDOC) from ./configure * Swap '-N' for its less-obscure longer form * Don't explicitly echo about markdown. The call to markdown is emitted * Whitespace cleanup Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson

[Xen-devel] [PATCH 4/7] docs/build: Do not use move-if-changed

2015-04-20 Thread Andrew Cooper
Nothing expensive depends on these results. Also prefer $(INSTALL_DATA) over cp to get correct file attributes (see fb33b2b docs: make .txt files over-writable when building from r/o sources) Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Ian Campbell ian.campb...@citrix.com CC: Ian

Re: [Xen-devel] Question about DMA on 1:1 mapping dom0 of arm64

2015-04-20 Thread Ian Campbell
On Mon, 2015-04-20 at 11:38 +0100, Stefano Stabellini wrote: On Mon, 20 Apr 2015, Ian Campbell wrote: On Mon, 2015-04-20 at 10:58 +0100, Stefano Stabellini wrote: On Sat, 18 Apr 2015, Chen Baozi wrote: On Fri, Apr 17, 2015 at 05:13:16PM +0100, Stefano Stabellini wrote: On Fri, 17

Re: [Xen-devel] [PATCH 3/8] raisin: Use fakeroot for mkdeb so we can build the package as non-root

2015-04-20 Thread George Dunlap
On 04/17/2015 09:43 AM, Ian Campbell wrote: On Thu, 2015-04-16 at 17:19 +0100, George Dunlap wrote: Signed-off-by: George Dunlap george.dun...@eu.citrix.com AIUI raisin does build dependency handling/tracking. If so then fakeroot ought to be added to it I think? The Ubuntu docker image

Re: [Xen-devel] stable-4.4 still use QEMU_UPSTREAM_REVISION = qemu-xen-4.4.2

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, Jan Beulich wrote: On 17.04.15 at 20:50, zhigang.x.w...@oracle.com wrote: I see there are some commits in qemu-upstream-4.4-testing.git, but in xen.git, we still point QEMU_UPSTREAM_REVISION to qemu-xen-4.4.2. Should we update QEMU_UPSTREAM_REVISION to latest commit

Re: [Xen-devel] Question about DMA on 1:1 mapping dom0 of arm64

2015-04-20 Thread Stefano Stabellini
On Sat, 18 Apr 2015, Chen Baozi wrote: On Fri, Apr 17, 2015 at 05:13:16PM +0100, Stefano Stabellini wrote: On Fri, 17 Apr 2015, Ian Campbell wrote: On Fri, 2015-04-17 at 15:34 +0100, Stefano Stabellini wrote: If I set dom0_mem to a small value (e.g. 512M), which makes all

Re: [Xen-devel] [v2 06/11] vmx: add help functions to support PML

2015-04-20 Thread Tim Deegan
Hi, At 18:08 +0800 on 20 Apr (1429553282), Kai Huang wrote: Agreed. So this time for the PML patches, I'll always call both mark_dirty and p2m_change_type_one (and ignore return value) for all logged GPA. But I intend not to change current video ram tracking code (paging_log_dirty_range),

Re: [Xen-devel] [PATCH 7/8] raisin: Rework component specification

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, George Dunlap wrote: On 04/17/2015 11:37 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Allow COMPONENTS to be specified in the config (or on the command-line) Now you can keep all components enabled in your config but build only one like

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-20 Thread George Dunlap
On Thu, Apr 16, 2015 at 1:42 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-04-16 at 11:01 +0100, George Dunlap wrote: He suggested that after he'd been prodded by 4 more e-mails in which two of us guessed what he was trying to get at. That's what I was complaining about. My

Re: [Xen-devel] stable-4.4 still use QEMU_UPSTREAM_REVISION = qemu-xen-4.4.2

2015-04-20 Thread Jan Beulich
On 20.04.15 at 10:59, stefano.stabell...@eu.citrix.com wrote: On Mon, 20 Apr 2015, Jan Beulich wrote: On 17.04.15 at 20:50, zhigang.x.w...@oracle.com wrote: I see there are some commits in qemu-upstream-4.4-testing.git, but in xen.git, we still point QEMU_UPSTREAM_REVISION to

Re: [Xen-devel] [PATCH 3/8] raisin: Use fakeroot for mkdeb so we can build the package as non-root

2015-04-20 Thread Ian Campbell
On Mon, 2015-04-20 at 09:57 +0100, George Dunlap wrote: On 04/17/2015 09:43 AM, Ian Campbell wrote: On Thu, 2015-04-16 at 17:19 +0100, George Dunlap wrote: Signed-off-by: George Dunlap george.dun...@eu.citrix.com AIUI raisin does build dependency handling/tracking. If so then fakeroot

Re: [Xen-devel] [v2 06/11] vmx: add help functions to support PML

2015-04-20 Thread Kai Huang
On Mon, Apr 20, 2015 at 4:29 PM, Tim Deegan t...@xen.org wrote: At 17:29 +0800 on 17 Apr (1429291763), Kai Huang wrote: On 04/17/2015 04:36 PM, Tim Deegan wrote: At 11:32 +0800 on 17 Apr (1429270332), Kai Huang wrote: On 04/17/2015 08:10 AM, Tim Deegan wrote: At 22:57 + on 16 Apr

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-04-20 Thread Olaf Hering
On Mon, Apr 20, Ian Campbell wrote: If what you said were true then an assert would be a rather harsh overreaction to an application coding error. Currently both libxl and libvirt are coded that way. Since the sdl code path in libvirt was never executed the crash in libxlMakeVfbList was not

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-04-20 Thread Ian Campbell
On Mon, 2015-04-20 at 12:32 +0200, Olaf Hering wrote: On Mon, Apr 20, Ian Campbell wrote: It makes no sense to do that at init time, the whole purpose of a defbool is to allow the calling application to choose a value or to explicitly leave it as a request to for the default (which might

Re: [Xen-devel] Question about DMA on 1:1 mapping dom0 of arm64

2015-04-20 Thread Ian Campbell
On Sat, 2015-04-18 at 17:23 +0800, Chen Baozi wrote: On Sat, Apr 18, 2015 at 05:08:58PM +0800, Chen Baozi wrote: On Fri, Apr 17, 2015 at 05:13:16PM +0100, Stefano Stabellini wrote: On Fri, 17 Apr 2015, Ian Campbell wrote: On Fri, 2015-04-17 at 15:34 +0100, Stefano Stabellini wrote:

Re: [Xen-devel] stable-4.4 still use QEMU_UPSTREAM_REVISION = qemu-xen-4.4.2

2015-04-20 Thread Jan Beulich
On 20.04.15 at 11:24, stefano.stabell...@eu.citrix.com wrote: On Mon, 20 Apr 2015, Jan Beulich wrote: On 20.04.15 at 10:59, stefano.stabell...@eu.citrix.com wrote: On Mon, 20 Apr 2015, Jan Beulich wrote: On 17.04.15 at 20:50, zhigang.x.w...@oracle.com wrote: I see there are some

Re: [Xen-devel] [PATCH 1/8] raisin: Fix non-verbose case

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, George Dunlap wrote: On 04/17/2015 11:06 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Because we use set -e, we can't use the a b construct, as it will fail and stop the script. Signed-off-by: George Dunlap george.dun...@eu.citrix.com

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-04-20 Thread Olaf Hering
On Mon, Apr 20, Ian Campbell wrote: It makes no sense to do that at init time, the whole purpose of a defbool is to allow the calling application to choose a value or to explicitly leave it as a request to for the default (which might vary depending on other selections). Yes, and thats why

Re: [Xen-devel] [PATCH 5/8] raisin: Fix CentOS build

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, George Dunlap wrote: On 04/17/2015 11:14 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Add package dependencies for CentOS. Also use PKGTYPE rather than DISTRO to determine if we need rpm-build. I've tested this for xen but not for libvirt

Re: [Xen-devel] stable-4.4 still use QEMU_UPSTREAM_REVISION = qemu-xen-4.4.2

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, Jan Beulich wrote: On 20.04.15 at 11:24, stefano.stabell...@eu.citrix.com wrote: On Mon, 20 Apr 2015, Jan Beulich wrote: On 20.04.15 at 10:59, stefano.stabell...@eu.citrix.com wrote: On Mon, 20 Apr 2015, Jan Beulich wrote: On 17.04.15 at 20:50,

Re: [Xen-devel] Question about DMA on 1:1 mapping dom0 of arm64

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, Ian Campbell wrote: On Mon, 2015-04-20 at 10:58 +0100, Stefano Stabellini wrote: On Sat, 18 Apr 2015, Chen Baozi wrote: On Fri, Apr 17, 2015 at 05:13:16PM +0100, Stefano Stabellini wrote: On Fri, 17 Apr 2015, Ian Campbell wrote: On Fri, 2015-04-17 at 15:34

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

2015-04-20 Thread Jan Beulich
On 10.04.15 at 11:21, tiejun.c...@intel.com wrote: --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1665,6 +1665,46 @@ int xc_assign_device( return do_domctl(xch, domctl); } +struct xen_reserved_device_memory +*xc_device_get_rdm(xc_interface *xch, +

Re: [Xen-devel] [v2 06/11] vmx: add help functions to support PML

2015-04-20 Thread Tim Deegan
At 17:29 +0800 on 17 Apr (1429291763), Kai Huang wrote: On 04/17/2015 04:36 PM, Tim Deegan wrote: At 11:32 +0800 on 17 Apr (1429270332), Kai Huang wrote: On 04/17/2015 08:10 AM, Tim Deegan wrote: At 22:57 + on 16 Apr (1429225024), Tian, Kevin wrote: From: Kai Huang

Re: [Xen-devel] [PATCH 5/8] raisin: Fix CentOS build

2015-04-20 Thread George Dunlap
On 04/17/2015 11:14 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Add package dependencies for CentOS. Also use PKGTYPE rather than DISTRO to determine if we need rpm-build. I've tested this for xen but not for libvirt or grub. Signed-off-by: George Dunlap

Re: [Xen-devel] Question about DMA on 1:1 mapping dom0 of arm64

2015-04-20 Thread Ian Campbell
On Sat, 2015-04-18 at 00:41 +0800, Chen Baozi wrote: On Fri, Apr 17, 2015 at 02:21:45PM +0100, Ian Campbell wrote: On Fri, 2015-04-17 at 19:24 +0800, Chen Baozi wrote: Hi all, According to my recent experience, there might be some problems of swiotlb dma map on 1:1 mapping arm64

Re: [Xen-devel] [PATCH 6/8] raisin: Break build into components and allow the sub-steps to be called individually

2015-04-20 Thread George Dunlap
On 04/17/2015 11:18 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: This makes it easier to debug just one aspect of the build. Signed-off-by: George Dunlap george.dun...@eu.citrix.com --- CC: Stefano Stabellini stefano.stabell...@citrix.com --- lib/commands.sh |

Re: [Xen-devel] Is it ok to routing periperal irq to any Domain0's vCPU on Xen ARM 4.5.x?

2015-04-20 Thread Stefano Stabellini
In Xen 4.5 we rely on the fact that the physical irq is routed to the physical cpu running the vcpu of the domain that needs to receive the corresponding virq. So if you want to inject IRQ 100 to CPU 1, while Dom0 is set to receive vIRQ 100 (virtual irq corresponding to IRQ 100) to vcpu0, running

Re: [Xen-devel] [PATCH 0/2] raisin: build qemu-traditional and seabios

2015-04-20 Thread George Dunlap
On 04/17/2015 02:08 PM, Stefano Stabellini wrote: Hi all, This patch series builds qemu-traditional and seabios separately from the Xen tree. It also change the QEMU build to be more Xen specific, installing the QEMU binary under /usr/lib/xen/bin. Changes compared to the previous

Re: [Xen-devel] [PATCH V3 4/6] xl: add pvusb commands

2015-04-20 Thread Juergen Gross
On 04/19/2015 05:50 AM, Chunyan Liu wrote: Add pvusb commands: usb-ctrl-attach, usb-ctrl-detach, usb-list, usb-attach and usb-detach. To attach a usb device to guest through pvusb, one could follow following example: #xl usb-ctrl-attach test_vm version=1 num_ports=8 #xl usb-list test_vm

[Xen-devel] [PATCH] Do not assume mtu the mtu of xnb and mtu interfaces on FreeBSD.

2015-04-20 Thread Gustau Perez
On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new xnb or tap interface with the same value. The tools used are sed and ifconfig, both included on base. No need to

[Xen-devel] about xenmon

2015-04-20 Thread 蒋雄伟(蒋冲)
Hi, everyone, I would like to use xenmon to gain insight into xen environment. What I know about xenmon is that xentrace is used to catch events and xenbaked is used to processes events and xenmon is used to display and/or log the data. But I don’t know how to put them work together. I once

Re: [Xen-devel] stable-4.4 still use QEMU_UPSTREAM_REVISION = qemu-xen-4.4.2

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, Jan Beulich wrote: On 20.04.15 at 10:59, stefano.stabell...@eu.citrix.com wrote: On Mon, 20 Apr 2015, Jan Beulich wrote: On 17.04.15 at 20:50, zhigang.x.w...@oracle.com wrote: I see there are some commits in qemu-upstream-4.4-testing.git, but in xen.git, we still

Re: [Xen-devel] [PATCH] Do not assume mtu the mtu of xnb and mtu interfaces on FreeBSD.

2015-04-20 Thread Roger Pau Monné
El 20/04/15 a les 9.12, Gustau Perez ha escrit: On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new xnb or tap interface with the same value. The tools used are sed

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-04-20 Thread Olaf Hering
On Mon, Apr 20, Ian Campbell wrote: On Fri, 2015-04-17 at 13:40 -0600, Jim Fehlig wrote: On 04/17/2015 11:19 AM, Olaf Hering wrote: If the domU configu has sdl enabled libvirtd crashes: libvirtd[5158]: libvirtd: libxl.c:343: libxl_defbool_val: Assertion

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-04-20 Thread Ian Campbell
On Mon, 2015-04-20 at 11:32 +0200, Olaf Hering wrote: On Mon, Apr 20, Ian Campbell wrote: On Fri, 2015-04-17 at 13:40 -0600, Jim Fehlig wrote: On 04/17/2015 11:19 AM, Olaf Hering wrote: If the domU configu has sdl enabled libvirtd crashes: libvirtd[5158]: libvirtd: libxl.c:343:

Re: [Xen-devel] [PATCH 8/8] raisin: RFC Add blktap2 as an external tree

2015-04-20 Thread Stefano Stabellini
On Mon, 20 Apr 2015, George Dunlap wrote: On 04/17/2015 11:50 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Until we start hosting the blktap repo on xenbits, use the one from github. Also, we need to pass in the directories where to find the libblktapctl

Re: [Xen-devel] [PATCH] Do not assume mtu the mtu of xnb and mtu interfaces on FreeBSD.

2015-04-20 Thread Wei Liu
On Mon, Apr 20, 2015 at 11:25:36AM +0200, Roger Pau Monné wrote: El 20/04/15 a les 9.12, Gustau Perez ha escrit: On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new

Re: [Xen-devel] Question about DMA on 1:1 mapping dom0 of arm64

2015-04-20 Thread Ian Campbell
On Mon, 2015-04-20 at 10:58 +0100, Stefano Stabellini wrote: On Sat, 18 Apr 2015, Chen Baozi wrote: On Fri, Apr 17, 2015 at 05:13:16PM +0100, Stefano Stabellini wrote: On Fri, 17 Apr 2015, Ian Campbell wrote: On Fri, 2015-04-17 at 15:34 +0100, Stefano Stabellini wrote: If I set

Re: [Xen-devel] Question about DMA on 1:1 mapping dom0 of arm64

2015-04-20 Thread Chen Baozi
On Mon, Apr 20, 2015 at 10:58:52AM +0100, Stefano Stabellini wrote: On Sat, 18 Apr 2015, Chen Baozi wrote: On Fri, Apr 17, 2015 at 05:13:16PM +0100, Stefano Stabellini wrote: On Fri, 17 Apr 2015, Ian Campbell wrote: On Fri, 2015-04-17 at 15:34 +0100, Stefano Stabellini wrote: If I

Re: [Xen-devel] [PATCH 8/8] raisin: RFC Add blktap2 as an external tree

2015-04-20 Thread George Dunlap
On 04/17/2015 11:50 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Until we start hosting the blktap repo on xenbits, use the one from github. Also, we need to pass in the directories where to find the libblktapctl headers in the Xen build. Signed-off-by: George

Re: [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.

2015-04-20 Thread David Vrabel
On 20/04/15 11:48, Chen Baozi wrote: Make sure that xen_swiotlb_init allocates buffers that is DMA capable. Signed-off-by: Chen Baozi baoz...@gmail.com --- drivers/xen/swiotlb-xen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/xen/swiotlb-xen.c

Re: [Xen-devel] [PATCH 8/8] raisin: RFC Add blktap2 as an external tree

2015-04-20 Thread George Dunlap
On 04/17/2015 11:58 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, George Dunlap wrote: Until we start hosting the blktap repo on xenbits, use the one from github. Also, we need to pass in the directories where to find the libblktapctl headers in the Xen build. Signed-off-by: George

Re: [Xen-devel] [RFC][PATCH 10/13] tools: extend XENMEM_set_memory_map

2015-04-20 Thread Jan Beulich
On 10.04.15 at 11:22, tiejun.c...@intel.com wrote: --- a/tools/libxl/libxl_dom.c +++ b/tools/libxl/libxl_dom.c @@ -787,6 +787,70 @@ out: return rc; } +static int libxl__domain_construct_memmap(libxl_ctx *ctx, + libxl_domain_config

Re: [Xen-devel] [RFC][PATCH 12/13] hvmloader/pci: skip reserved ranges

2015-04-20 Thread Jan Beulich
On 10.04.15 at 11:22, tiejun.c...@intel.com wrote: --- a/tools/firmware/hvmloader/pci.c +++ b/tools/firmware/hvmloader/pci.c @@ -59,8 +59,8 @@ void pci_setup(void) uint32_t bar_reg; uint64_t bar_sz; } *bars = (struct bars *)scratch_start; -unsigned int i, nr_bars

[Xen-devel] [libvirt test] 50568: trouble: blocked/broken/pass

2015-04-20 Thread osstest service user
flight 50568 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/50568/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-xsm 3 host-install(3) broken REGR. vs. 50368

Re: [Xen-devel] [PATCH][XSA-126] xen: limit guest control of PCI command register

2015-04-20 Thread Jan Beulich
On 20.04.15 at 16:32, m...@redhat.com wrote: On Mon, Apr 20, 2015 at 03:08:09PM +0100, Jan Beulich wrote: On 20.04.15 at 15:43, m...@redhat.com wrote: did firmware reconfigure this device to report URs as fatal errors then? No, the Unsupported Request Error Serverity flag is zero. OK,

[Xen-devel] Regression: qemu crash of hvm domUs with spice (backtrace included)

2015-04-20 Thread Fabio Fantoni
I updated xen and qemu from xen 4.5.0 with its upstream qemu included to xen 4.5.1-pre with qemu upstream from stable-4.5 (changed Config.mk to use revision master). After few minutes I booted windows 7 64 bit domU qemu crash, tried 2 times with same result. In the domU's qemu log:

Re: [Xen-devel] [PATCH][XSA-126] xen: limit guest control of PCI command register

2015-04-20 Thread Michael S. Tsirkin
On Mon, Apr 20, 2015 at 03:08:09PM +0100, Jan Beulich wrote: On 20.04.15 at 15:43, m...@redhat.com wrote: On Mon, Apr 13, 2015 at 01:51:06PM +0100, Jan Beulich wrote: On 13.04.15 at 14:47, m...@redhat.com wrote: Can you check device capabilities register, offset 0x4 within pci express

Re: [Xen-devel] Intercepting page access

2015-04-20 Thread Andrew Cooper
On 20/04/15 16:01, HANNAS YAYA Issa wrote: Hi I really really need help. I continue trying to make it work but nothing change. Please I need help :( Please read an x86 architecture manual before trying to play blindly in the dark, and particularly the permission checks in paging mode.

[Xen-devel] [PATCH] tools/configure.ac: generate Paths.mk if it's not available

2015-04-20 Thread Wei Liu
Xen toolstack references many variables in Paths.mk when building and installing, so tools' configure should generate Paths.mk if it's not available. Also make inclusion of Paths.mk mandatory in Tools.mk. Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Ian

Re: [Xen-devel] [PATCH 2/2] libxl: set DISPLAY and XAUTHORITY if sdl is enabled

2015-04-20 Thread Olaf Hering
On Mon, Apr 20, Olaf Hering wrote: With this change the following domU.cfg will show the VM window on the local dom0 display, instead of the remote side (it via ssh -X login): vnc=0 sdl=1 display=:0 xauthority=/run/gdm/auth-for-olaf-nMXhOi/database libvirt works as well with this

Re: [Xen-devel] Intercepting page access

2015-04-20 Thread HANNAS YAYA Issa
Hi I really really need help. I continue trying to make it work but nothing change. Please I need help :( On Sat, 18 Apr 2015 19:25:52 +0200, HANNAS YAYA Issa wrote: Hi I am working in a research project I want to incercept pages access by guest virtual machine. My approach is setting

[Xen-devel] [PATCH V15 9/9] xen/arm: Enable mem_access on ARM

2015-04-20 Thread Tamas K Lengyel
Signed-off-by: Tamas K Lengyel tkleng...@sec.in.tum.de Acked-by: Ian Campbell ian.campb...@citrix.com Reviewed-by: Julien Grall julien.gr...@linaro.org --- config/arm32.mk | 1 + config/arm64.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/config/arm32.mk b/config/arm32.mk index

[Xen-devel] [PATCH V15 8/9] tools/tests: Enable xen-access on ARM

2015-04-20 Thread Tamas K Lengyel
Define the ARM specific test_and_set_bit functions and switch to use maximum gpfn as the limit to setting permissions. Also, move HAS_MEM_ACCESS definition into config. Signed-off-by: Tamas K Lengyel tkleng...@sec.in.tum.de --- v15: - Rebase on staging v6: - Just use xc_domain_maximum_gpfn to get

[Xen-devel] [PATCH V15 0/9] Mem_access for ARM

2015-04-20 Thread Tamas K Lengyel
The ARM virtualization extension provides 2-stage paging, a similar mechanisms to Intel's EPT, which can be used to trace the memory accesses performed by the guest systems. This series sets up the necessary infrastructure in the ARM code to deliver the event on R/W/X traps. Finally, we turn on

  1   2   >