[Xen-devel] [PATCH 2/2] xen: introduce xsrestrict

2015-06-01 Thread Stefano Stabellini
Introduce a new command line option xenopts, with one boolean suboption xsrestrict. When xsrestrict=on is passed, QEMU will restrict the xenstore connection calling xs_restrict. Also it won't initialize the pv backends as they require higher privileges. It requires a toolstack change to allow it

[Xen-devel] [PATCH v4] run QEMU as non-root

2015-06-01 Thread Stefano Stabellini
Try to use xen-qemudepriv-$domname first, then xen-qemudepriv-domid$domid, finally xen-qemudepriv-shared and root if everything else fails. The uids need to be manually created by the user or, more likely, by the xen package maintainer. To actually secure QEMU when running in Dom0, we need at

Re: [Xen-devel] [PATCH v2] dmar: device scope mem leak fix

2015-06-01 Thread Elena Ufimtseva
On Mon, Jun 01, 2015 at 09:45:51AM +0100, Jan Beulich wrote: On 01.06.15 at 06:47, kevin.t...@intel.com wrote: From: Tian, Kevin Sent: Monday, June 01, 2015 12:43 PM and looks you dropped earlier changes to acpi_parse_one_rmrr. any elaboration why it's not required in this

Re: [Xen-devel] [PATCH] libxl: Don't insert PCI device into xenstore for HVM guests

2015-06-01 Thread Konrad Rzeszutek Wilk
On Mon, Jun 01, 2015 at 04:43:53PM +0100, Ross Lagerwall wrote: On 06/01/2015 04:26 PM, Konrad Rzeszutek Wilk wrote: On Fri, May 29, 2015 at 08:59:45AM +0100, Ross Lagerwall wrote: When doing passthrough of a PCI device for an HVM guest, don't insert the device into xenstore, otherwise pciback

Re: [Xen-devel] [PATCH RFC] hotplug/Linux: Add --wait to iptables calls.

2015-06-01 Thread Wei Liu
On Mon, Jun 01, 2015 at 05:09:56PM +0100, Anthony PERARD wrote: On Mon, Jun 01, 2015 at 04:17:51PM +0100, Ian Campbell wrote: On Mon, 2015-06-01 at 16:08 +0100, Jan Beulich wrote: On 01.06.15 at 16:59, anthony.per...@citrix.com wrote: --- a/tools/hotplug/Linux/vif-common.sh +++

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Ian Campbell
On Fri, 2015-05-29 at 14:40 +0100, Julien Grall wrote: Hi Ian, NIT: You used my Linaro email which I think is de-activated now :). I keep finding new address books with that address in them! ## ITS Translation Table Message signalled interrupts are translated into an LPI via an ITS

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

2015-06-01 Thread osstest service user
flight 57680 xen-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/57680/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 3 host-install(3) broken REGR. vs. 53768

Re: [Xen-devel] [PATCH RFC 2/5] blkif: document new blkback path xenstore node

2015-06-01 Thread Wei Liu
On Fri, May 22, 2015 at 11:18:55AM +0200, Roger Pau Monne wrote: FreeBSD blkback uses the path xenstore node in order to fetch the path to the underlying backing storage (either a block device or raw image). This node is set by the hotplug scripts. Signed-off-by: Roger Pau Monné

[Xen-devel] [PATCH RFC] hotplug/Linux: Add --wait to iptables calls.

2015-06-01 Thread Anthony PERARD
This help to avoid guest creation error when a downstream project is also updating the iptables at guest creation time. The error seen is this one: libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-bridge online [-1] exited with error status 4 Apparently,

[Xen-devel] [xen-4.5-testing test] 57676: regressions - trouble: broken/fail/pass

2015-06-01 Thread osstest service user
flight 57676 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/57676/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 18 guest-start/debianhvm.repeat fail REGR. vs. 56941

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Ian Campbell
On Mon, 2015-06-01 at 13:24 +0100, Julien Grall wrote: On 01/06/15 13:11, Ian Campbell wrote: ### Device ID (`ID`) This parameter is used by commands which manage a specific device and the interrupts associated with that device. Checking if a device is present and retrieving the data

Re: [Xen-devel] [PATCH v4] xen: sched_rt: print useful affinity info when dumping

2015-06-01 Thread George Dunlap
On 05/12/2015 03:06 PM, Dario Faggioli wrote: In fact, printing the cpupool's CPU online mask for each vCPU is just redundant, as that is the same for all the vCPUs of all the domains in the same cpupool, while hard affinity is already part of the output of dumping domains info. Instead,

[Xen-devel] [PATCH] unmodified-drivers: tolerate IRQF_DISABLED being undefined

2015-06-01 Thread Jan Beulich
It's being removed in Linux 4.1. Signed-off-by: Jan Beulich jbeul...@suse.com --- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c @@ -350,11 +350,13 @@ int xen_irq_init(struct pci_dev *pdev) #if LINUX_VERSION_CODE

Re: [Xen-devel] [PATCH] unmodified-drivers: tolerate IRQF_DISABLED being undefined

2015-06-01 Thread Ian Campbell
On Mon, 2015-06-01 at 14:50 +0100, Jan Beulich wrote: It's being removed in Linux 4.1. Signed-off-by: Jan Beulich jbeul...@suse.com Not sure who should, but: Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list

[Xen-devel] [PATCHv2] frontswap: allow multiple backends

2015-06-01 Thread Dan Streetman
Change frontswap single pointer to a singly linked list of frontswap implementations. Update Xen tmem implementation as register no longer returns anything. Frontswap only keeps track of a single implementation; any implementation that registers second (or later) will replace the previously

Re: [Xen-devel] [PATCH] xen/arm: gic-hip04: Resync the driver with the GICv2

2015-06-01 Thread Zoltan Kiss
On 01/06/15 13:11, Julien Grall wrote: On 01/06/15 12:25, Zoltan Kiss wrote: Hi, Yes, we managed to test it, and it works. Then only thing I've found is this bit: +/* Only 1020 interrupts are supported */ +gicv2_info.nr_lines = min(1020U, nr_lines); This interrupt controller only

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Ian Campbell
On Fri, 2015-05-29 at 15:06 +0100, Julien Grall wrote: Hi Vijay, On 27/05/15 17:44, Vijay Kilari wrote: ## Command Translation Of the existing GICv3 ITS commands, `MAPC`, `MAPD`, `MAPVI`/`MAPI` are potentially time consuming commands as these commands creates entry in the Xen ITS

Re: [Xen-devel] [PATCH] tools: link executables with libtinfo explicitly

2015-06-01 Thread Wei Liu
On Mon, Jun 01, 2015 at 03:26:58PM +0200, Daniel Kiper wrote: [...] tools/misc/Makefile |2 +- tools/xenstat/xentop/Makefile |2 +- 5 files changed, 53 insertions(+), 2 deletions(-) diff --git a/config/Tools.mk.in b/config/Tools.mk.in index d67352e..aef9ed6

Re: [Xen-devel] [PATCH] unmodified-drivers: tolerate IRQF_DISABLED being undefined

2015-06-01 Thread Jan Beulich
On 01.06.15 at 15:56, ian.campb...@citrix.com wrote: On Mon, 2015-06-01 at 14:50 +0100, Jan Beulich wrote: It's being removed in Linux 4.1. Signed-off-by: Jan Beulich jbeul...@suse.com Not sure who should, but: I guess no-one really needs to for that old code. But thanks! Jan

Re: [Xen-devel] [PATCH] tools: link executables with libtinfo explicitly

2015-06-01 Thread Daniel Kiper
On Mon, Jun 01, 2015 at 02:06:44PM +0100, Wei Liu wrote: On Sat, May 30, 2015 at 12:07:28AM +0200, Daniel Kiper wrote: binutils 2.22 changed ld default from --copy-dt-needed-entries to -no-copy-dt-needed-entries. This revealed that some objects are linked implicitly with libtinfo and newer

[Xen-devel] [PATCH 0/2] Two stubdom patches

2015-06-01 Thread Wei Liu
I discovered some problems as I played along with my OSSTest stubdom test case. Here are two patches to fix them. Wei. Wei Liu (2): libxl: remove code in stubdom creation failure path and callback libxl: clean up qemu-save and qemu-resume files tools/libxl/libxl.c| 9 +

Re: [Xen-devel] [PATCH] libxl: Don't insert PCI device into xenstore for HVM guests

2015-06-01 Thread Konrad Rzeszutek Wilk
On Mon, Jun 01, 2015 at 05:03:14PM +0100, Malcolm Crossley wrote: On 01/06/15 16:43, Ross Lagerwall wrote: On 06/01/2015 04:26 PM, Konrad Rzeszutek Wilk wrote: On Fri, May 29, 2015 at 08:59:45AM +0100, Ross Lagerwall wrote: When doing passthrough of a PCI device for an HVM guest, don't

Re: [Xen-devel] [Formal Vote] Changes to Xen Project Security Vulnerability Process - Open until June 8th, 2015

2015-06-01 Thread Konrad Rzeszutek Wilk
On Mon, Jun 01, 2015 at 10:36:25AM +0100, Lars Kurth wrote: Hi, in accordance with the project's governance, I would like to put the following text changes to a committer vote (committers are on the TO list). The discussion leading to the changes can be found at

[Xen-devel] [PATCH 2/2] libxl: clean up qemu-save and qemu-resume files

2015-06-01 Thread Wei Liu
These files are leaked when using qemu-trad stubdom. They are intermediate files created by libxc. Unfortunately they don't fit well in our userdata scheme. Clean them up after we destroy guest, we're sure they are not useful anymore at that point. Signed-off-by: Wei Liu wei.l...@citrix.com ---

Re: [Xen-devel] [PATCH v2 net] xen: netback: read hotplug script once at start of day.

2015-06-01 Thread David Miller
From: Ian Campbell ian.campb...@citrix.com Date: Mon, 1 Jun 2015 11:30:24 +0100 When we come to tear things down in netback_remove() and generate the uevent it is possible that the xenstore directory has already been removed (details below). In such cases netback_uevent() won't be able to

Re: [Xen-devel] [PATCH v2] xen: netback: fix printf format string warning

2015-06-01 Thread David Miller
From: Ian Campbell ian.campb...@citrix.com Date: Mon, 1 Jun 2015 11:30:04 +0100 drivers/net/xen-netback/netback.c: In function ‘xenvif_tx_build_gops’: drivers/net/xen-netback/netback.c:1253:8: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’

Re: [Xen-devel] [PATCH v3 3/4] libxc: rework vnuma bits in setup_guest

2015-06-01 Thread Boris Ostrovsky
On 06/01/2015 06:19 AM, Wei Liu wrote: Make the setup process similar to PV counterpart. That is, to allocate a P2M array that covers the whole memory range and start from there. This is clearer than using an array with no holes in it. Also the dummy layout should take MMIO hole into

Re: [Xen-devel] [PATCH v3 1/2] efi: Fix allocation problems if ExitBootServices() fails

2015-06-01 Thread Roy Franz
On Mon, Jun 1, 2015 at 4:24 AM, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-06-01 at 12:10 +0100, Jan Beulich wrote: On 01.06.15 at 12:17, ross.lagerw...@citrix.com wrote: If calling ExitBootServices() fails, the required memory map size may have increased. When initially

[Xen-devel] [qemu-mainline bisection] complete test-armhf-armhf-xl-multivcpu

2015-06-01 Thread osstest service user
branch xen-unstable xen branch xen-unstable job test-armhf-armhf-xl-multivcpu test leak-check/check Tree: linux git://xenbits.xen.org/linux-pvops.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemuu git://git.qemu.org/qemu.git Tree: xen

Re: [Xen-devel] Xen/arm: Virtual ITS command queue handling

2015-06-01 Thread Manish Jaggi
On Tuesday 26 May 2015 06:04 AM, Ian Campbell wrote: On Thu, 2015-05-21 at 05:37 -0700, Manish Jaggi wrote: On Tuesday 19 May 2015 07:18 AM, Ian Campbell wrote: On Tue, 2015-05-19 at 19:34 +0530, Vijay Kilari wrote: On Tue, May 19, 2015 at 7:24 PM, Ian Campbell ian.campb...@citrix.com

Re: [Xen-devel] [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

2015-06-01 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Fri, 29 May 2015 19:18:47 +1000 Nothing in asm/io.h uses anything from vmalloc.h, so remove the include and fix up the build problems in an allmodconfig (64 bit and 32 bit) build. This may be the place where x86 builds get vmalloc.h

[Xen-devel] [xen-4.2-testing test] 57697: regressions - FAIL

2015-06-01 Thread osstest service user
flight 57697 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/57697/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xend-winxpsp3 16 guest-stop fail REGR. vs. 53018

Re: [Xen-devel] [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

2015-06-01 Thread Stephen Rothwell
Hi Dave, On Mon, 01 Jun 2015 15:59:31 -0700 (PDT) David Miller da...@davemloft.net wrote: From: Stephen Rothwell s...@canb.auug.org.au Date: Fri, 29 May 2015 19:18:47 +1000 Nothing in asm/io.h uses anything from vmalloc.h, so remove the include and fix up the build problems in an

Re: [Xen-devel] [PATCH v2 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-06-01 Thread Wang, Wei W
On 26/05/2015 21:58, Jan Beulich wrote On 13.05.16 at 09:50, wei.w.w...@intel.com wrote: +id = x86_match_cpu(intel_pstate_cpu_ids); +if (!id) +return -ENODEV; + +cpu_info = (struct cpu_defaults *)id-driver_data; + +copy_pid_params(cpu_info-pid_policy); +

[Xen-devel] [xen-unstable test] 57712: regressions - trouble: broken/fail/pass

2015-06-01 Thread osstest service user
flight 57712 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/57712/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-cubietruck 15 guest-start/debian.repeat fail REGR. vs. 57419 build-armhf-xsm

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

2015-06-01 Thread osstest service user
flight 57721 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/57721/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stopfail REGR. vs. 56492

Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-06-01 Thread Tian, Kevin
From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Monday, June 01, 2015 5:17 PM On 01.06.15 at 08:30, kevin.t...@intel.com wrote: From: elena.ufimts...@oracle.com [mailto:elena.ufimts...@oracle.com] --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown

[Xen-devel] [libvirt test] 57718: regressions - trouble: blocked/broken/fail/pass

2015-06-01 Thread osstest service user
flight 57718 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/57718/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 3 host-install(3) broken REGR. vs. 53854 test-amd64-i386-libvirt

[Xen-devel] [linux-3.18 test] 57713: regressions - FAIL

2015-06-01 Thread osstest service user
flight 57713 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/57713/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken in 57645 REGR. vs. 57312

[Xen-devel] [PATCH] nested EPT: fix the handling of nested EPT.

2015-06-01 Thread Liang Li
If the host EPT entry is changed, the nested EPT should be updated. The current code does not do this, and it's wrong. Reported-by: Tim Deegan t...@xen.org Signed-off-by: Liang Li liang.z...@intel.com Signed-off-by: Yang Zhang yang.z.zh...@intel.com --- xen/arch/x86/mm/p2m-ept.c | 4 1 file

<    1   2