[Xen-devel] [PATCH v6 09/19] xen/passthrough: iommu_deassign_device_dt: By default reassign device to nobody

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Currently, when the device is deassigned from a domain, we directly reassign to DOM0. As the device may not have been correctly reset, this may lead to corruption or expose some part of DOM0 memory. Also, we may have no way to reset some platform

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-28 Thread Vijay Kilari
On Tue, Apr 28, 2015 at 4:05 PM, Julien Grall julien.gr...@citrix.com wrote: Hi, On 28/04/15 10:56, Stefano Stabellini wrote: On Tue, 28 Apr 2015, Vijay Kilari wrote: Approach 1: (Using completion interrupt) 1) Create dummy device for each virtual ITS when virtual its is

Re: [Xen-devel] [PATCH 0/9] Porting the intel_pstate driver to Xen

2015-04-28 Thread Jan Beulich
Wang, Wei W wei.w.w...@intel.com 04/28/15 3:24 PM On 28/04/2015 21:14, Jan Beulich wrote On 25/04/2015 00:15, Konrad Rzeszutek Wilk wrote How will this affect AMD processors which can use the cpufreq? Would the ondemand feature go away? No, this won't affect them. When the

[Xen-devel] [PATCH v6 02/19] xen/arm: vgic: Add spi_to_pending

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Introduce spi_to_pending in order retrieve the irq_pending structure for a specific SPI. It's not possible to re-use irq_to_pending because it's required a VCPU and some call of the new function may during domain destruction after the VCPUs are freed.

Re: [Xen-devel] [PATCH 0/9] Porting the intel_pstate driver to Xen

2015-04-28 Thread Wang, Wei W
On 28/04/2015 21:29, Jan Beulich wrote Wang, Wei W wei.w.w...@intel.com 04/28/15 3:24 PM On 28/04/2015 21:14, Jan Beulich wrote On 25/04/2015 00:15, Konrad Rzeszutek Wilk wrote How will this affect AMD processors which can use the cpufreq? Would the ondemand feature go away? No,

[Xen-devel] [PATCH v6 07/19] xen/passthrough: Introduce iommu_construct

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org This new function will correctly initialize the IOMMU page table for the current domain. Also use it in iommu_assign_dt_device even though the current IOMMU implementation on ARM shares P2M with the processor. Signed-off-by: Julien Grall

[Xen-devel] [PATCH v6 04/19] xen/arm: Implement hypercall DOMCTL_{, un}bind_pt_pirq

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org On x86, an IRQ is assigned in 2 steps to an HVM guest: - The toolstack is calling PHYSDEVOP_map_pirq in order to create a guest PIRQ (IRQ bound to an event channel) - The emulator (QEMU) is calling DOMCTL_bind_pt_irq in order to bind the

[Xen-devel] [PATCH v6 05/19] xen: guestcopy: Provide an helper to safely copy string from guest

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Flask code already provides a helper to copy a string from guest. In a later patch, the new DT hypercalls will need a similar function. To avoid code duplication, copy the flask helper (flask_copying_string) to common code: - Rename into

[Xen-devel] [PATCH v6 03/19] xen/arm: Release IRQ routed to a domain when it's destroying

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Xen has to release IRQ routed to a domain in order to reuse later. Currently only SPIs can be routed to the guest so we only need to browse SPIs for a specific domain. Furthermore, a guest can crash and leave the IRQ in an incorrect state (i.e has not

[Xen-devel] [PATCH v6 00/19] xen/arm: Add support for non-PCI passthrough

2015-04-28 Thread Julien Grall
Hello all, This is the sixth version of this patch series to add support for platform device passthrough on ARM. In order to passthrough a non-PCI device, the user will have to: - Map manually MMIO/IRQ - Describe the device in the newly partial device tree support - Specify the list

[Xen-devel] [PATCH v6 06/19] xen/dts: Provide an helper to get a DT node from a path provided by a guest

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org The maximum size of the copied string has been chosen based on the value use by XSM in similar case. Furthermore, Linux seems to allow path up to 4096 characters. Though this could vary from one OS to another. Signed-off-by: Julien Grall

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

2015-04-28 Thread osstest service user
flight 52627 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/52627/ 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. 36764 build-amd64-pvops

[Xen-devel] [PATCH v6 19/19] docs/misc: arm: Add documentation about Device Tree passthrough

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Note that the example is done on Midway whose SMMU driver is not supported on Xen upstream. Currently, I don't have other platform where I can test Device Tree passthrough. Signed-off-by: Julien Grall julien.gr...@linaro.org Acked-by: Ian Campbell

[Xen-devel] [PATCH v6 18/19] xl: Add new option dtdev

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org The option dtdev will be used to passthrough a device described in the device tree to a guest. Signed-off-by: Julien Grall julien.gr...@linaro.org Acked-by: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Wei Liu

[Xen-devel] [PATCH v6 14/19] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org The functions fdt_{fisrt,next}_subnode may not be available because: * It has been introduced in 2013 = Doesn't work on Wheezy * The prototype exists but the functions are not exposed. Don't ask why... The later has been fixed recently in

[Xen-devel] [PATCH v6 16/19] tools/libxl: arm: Use an higher value for the GIC phandle

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org The partial device tree may contains phandle. The Device Tree Compiler tends to allocate the phandle from 1. Reserve the ID 65000 for the GIC phandle. I think we can safely assume that the partial device tree will never contain a such ID.

[Xen-devel] [PATCH v6 11/19] xen/xsm: Add helpers to check permission for device tree passthrough

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org This is a follow-up of commit 525ee49 xsm: add device tree labeling support which add support for device tree labelling in flask. Those helpers will be use latter when non-pci passthrough (i.e device tree) will be added. Signed-off-by: Julien Grall

[Xen-devel] [PATCH v6 17/19] libxl: Add support for Device Tree passthrough

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org On ARM, every non-PCI device are described in the device tree. Each of them can be found via a path. This patch introduces a very basic support, only the IOMMU will be set up correctly. The user will have to: - Describe the device in the partial

[Xen-devel] [PATCH v6 15/19] tools/(lib)xl: Add partial device tree support for ARM

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Allow the user to pass additional nodes to the guest device tree. For this purpose, everything in the node /passthrough from the partial device tree will be copied into the guest device tree. The node /aliases will be also copied to allow the user to

[Xen-devel] [PATCH v6 13/19] tools/libxl: Create a per-arch function to map IRQ to a domain

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org ARM and x86 use a different hypercall to map an IRQ to a domain. The hypercall to give IRQ permission to the domain has also been moved to be an x86 specific function as ARM guest won't be able to manage the IRQ. We may want to support it later.

[Xen-devel] [PATCH v6 12/19] xen/passthrough: Extend XEN_DOMCTL_*assign_device to support DT device

2015-04-28 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org A device node is described by a path. It will be used to retrieve the node in the device tree and assign the related device to the domain. Only non-PCI devices protected by an IOMMU can be assigned to a guest. Also document the behavior of

Re: [Xen-devel] about xenalyze

2015-04-28 Thread Olaf Hering
On Tue, Apr 28, Dario Faggioli wrote: On Tue, 2015-04-28 at 11:26 +0800, 蒋雄伟(蒋冲) wrote: The xen we used is 4.0.1, but xenalyze –version tells me “xenalyze - Open-source xen-unstable (3.4)” . can I use it? This version string is just cosmetic. Olaf

Re: [Xen-devel] 32-bit ARM guest on 64-bit ARM Xen

2015-04-28 Thread Julien Grall
On 28/04/2015 20:14, Robert VanVossen wrote: Hello, Hi Robert, I was wondering, what is the current state of running a 32-bit ARM guest running on a 64-bit Xen for ARM. I was working on getting the minios from https://github.com/talex5/xen/commits/next built and running as a guest on an

[Xen-devel] [PATCH v3] xen: Suspend ticks on all CPUs during suspend

2015-04-28 Thread Boris Ostrovsky
Commit 77e32c89a711 (clockevents: Manage device's state separately for the core) decouples clockevent device's modes from states. With this change when a Xen guest tries to resume, it won't be calling its set_mode op which needs to be done on each VCPU in order to make the hypervisor aware that we

Re: [Xen-devel] [PATCH OSSTEST v5 04/24] Debian: refactor code to add preseed commands to the preseed file

2015-04-28 Thread Ian Campbell
On Wed, 2015-04-15 at 11:35 +0100, Ian Campbell wrote: diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install index cfd5144..95fce9a 100755 --- a/ts-debian-hvm-install +++ b/ts-debian-hvm-install @@ -77,6 +77,9 @@ d-i preseed/late_command string \\ in-target mkdir -p

Re: [Xen-devel] [PATCH 0/9] Porting the intel_pstate driver to Xen

2015-04-28 Thread Jan Beulich
Wang, Wei W wei.w.w...@intel.com 04/28/15 4:38 PM On 28/04/2015 21:29, Jan Beulich wrote Wang, Wei W wei.w.w...@intel.com 04/28/15 3:24 PM On 28/04/2015 21:14, Jan Beulich wrote On 25/04/2015 00:15, Konrad Rzeszutek Wilk wrote How will this affect AMD processors which can use the

Re: [Xen-devel] [RFC 0/2] Cap SMMU s2 input-size based on p2m tables

2015-04-28 Thread Edgar E. Iglesias
On Tue, Apr 28, 2015 at 05:50:43PM +0100, Julien Grall wrote: On 27/04/15 10:24, Edgar E. Iglesias wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Hi, Hi Edgar, This is a first try at fixing the issue I'm seeing on ZynqMP with missmatched setup of the SMMU and the shared

Re: [Xen-devel] 32-bit ARM guest on 64-bit ARM Xen

2015-04-28 Thread Edgar E. Iglesias
On Tue, Apr 28, 2015 at 03:14:51PM -0400, Robert VanVossen wrote: Hello, I was wondering, what is the current state of running a 32-bit ARM guest running on a 64-bit Xen for ARM. I was working on getting the minios from https://github.com/talex5/xen/commits/next built and running as a

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-28 Thread Vijay Kilari
On Tue, Apr 28, 2015 at 9:45 PM, Julien Grall julien.gr...@citrix.com wrote: Hi Vijay, On 28/04/15 12:36, Vijay Kilari wrote: On Tue, Apr 28, 2015 at 4:05 PM, Julien Grall julien.gr...@citrix.com wrote: If you properly manage the device with struct pci_dev or struct device (which is, as

Re: [Xen-devel] [PATCH 2/3] x86/hvm: introduce functions for HVMOP_get/set_param allowance checks

2015-04-28 Thread Paul Durrant
-Original Message- From: Andrew Cooper [mailto:andrew.coop...@citrix.com] Sent: 25 April 2015 01:19 To: Paul Durrant; xen-de...@lists.xenproject.org Cc: Keir (Xen.org); Jan Beulich Subject: Re: [PATCH 2/3] x86/hvm: introduce functions for HVMOP_get/set_param allowance checks On

[Xen-devel] [linux-3.4 test] 52628: regressions - FAIL

2015-04-28 Thread osstest service user
flight 52628 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/52628/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-rumpuserxen 6 xen-build fail REGR. vs. 30511

Re: [Xen-devel] [PATCH 0/9] Porting the intel_pstate driver to Xen

2015-04-28 Thread Jan Beulich
Wang, Wei W wei.w.w...@intel.com 04/28/15 3:41 PM Please have a check my conclusion of the changes. These look all correct, with ... NO.2 The xenpm get-cpufreq-para will display the following things: cpu id: 0 affected_cpus : 0 cpuinfo frequency : max

Re: [Xen-devel] [PATCH 0/9] Porting the intel_pstate driver to Xen

2015-04-28 Thread Wang, Wei W
On 29/04/2015 07:10, Jan Beulich wrote Wang, Wei W wei.w.w...@intel.com 04/28/15 4:38 PM On 28/04/2015 21:29, Jan Beulich wrote Wang, Wei W wei.w.w...@intel.com 04/28/15 3:24 PM On 28/04/2015 21:14, Jan Beulich wrote On 25/04/2015 00:15, Konrad Rzeszutek Wilk wrote How will this

Re: [Xen-devel] [PATCH v6 07/19] xen/passthrough: Introduce iommu_construct

2015-04-28 Thread Manish Jaggi
On 28/04/15 8:02 pm, Julien Grall wrote: From: Julien Grall julien.gr...@linaro.org This new function will correctly initialize the IOMMU page table for the current domain. Also use it in iommu_assign_dt_device even though the current IOMMU implementation on ARM shares P2M with the

Re: [Xen-devel] [PATCH 1/3] x86/hvm: give HVMOP_set_param and HVMOP_get_param their own functions

2015-04-28 Thread Paul Durrant
-Original Message- From: Andrew Cooper [mailto:andrew.coop...@citrix.com] Sent: 25 April 2015 01:12 To: Paul Durrant; xen-de...@lists.xenproject.org Cc: Keir (Xen.org); Jan Beulich Subject: Re: [PATCH 1/3] x86/hvm: give HVMOP_set_param and HVMOP_get_param their own functions On

Re: [Xen-devel] [PATCH 0/9] Porting the intel_pstate driver to Xen

2015-04-28 Thread Wang, Wei W
On 28/04/2015 21:14, Jan Beulich wrote On 25/04/2015 00:15, Konrad Rzeszutek Wilk wrote How will this affect AMD processors which can use the cpufreq? Would the ondemand feature go away? No, this won't affect them. When the intel_pstate=disable is added to the booting parameter list,

Re: [Xen-devel] [PATCH v5 p2 15/19] tools/(lib)xl: Add partial device tree support for ARM

2015-04-28 Thread Julien Grall
Hi Ian, On 09/04/15 17:13, Ian Jackson wrote: Julien Grall writes ([PATCH v5 p2 15/19] tools/(lib)xl: Add partial device tree support for ARM): Let the user to pass additional nodes to the guest device tree. For this purpose, everything in the node /passthrough from the partial device tree

Re: [Xen-devel] [PATCH 0/9] Porting the intel_pstate driver to Xen

2015-04-28 Thread Jan Beulich
Wang, Wei W wei.w.w...@intel.com 04/24/15 6:32 PM On 25/04/2015 00:15, Konrad Rzeszutek Wilk wrote How will this affect AMD processors which can use the cpufreq? Would the ondemand feature go away? No, this won't affect them. When the intel_pstate=disable is added to the booting parameter

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

2015-04-28 Thread Jan Beulich
Julien Grall julien.gr...@citrix.com 04/26/15 7:33 PM On 26/04/2015 05:32, Wang, Wei W wrote: Thanks for your comments. But I saw int powernow_cpufreq_init(void); is put there. FWIW, this prototype doesn't have any implementation even on x86. While currently some drivers (such as the x86

Re: [Xen-devel] [PATCHv3 3/4] xen: use ticket locks for spin locks

2015-04-28 Thread Jan Beulich
David Vrabel david.vra...@citrix.com 04/28/15 6:16 PM On 23/04/15 12:58, Jan Beulich wrote: +typedef union { +u32 head_tail; +struct { +u16 head; +u16 tail; +}; +} spinlock_tickets_t; + typedef struct spinlock { -raw_spinlock_t raw; +

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

2015-04-28 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é roger@citrix.com Cc: Jan Beulich jbeul...@suse.com Cc:

[Xen-devel] [PATCH 4/4] xen/events: Set irq_info-evtchn before binding the channel to CPU in __startup_pirq()

2015-04-28 Thread Boris Ostrovsky
.. because bind_evtchn_to_cpu(evtchn, cpu) will map evtchn to 'info' and pass 'info' down to xen_evtchn_port_bind_to_cpu(). Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com Tested-by: Annie Li annie...@oracle.com --- drivers/xen/events/events_base.c |2 +- 1 files changed, 1

[Xen-devel] [PATCH 2/4] xen/xenbus: Update xenbus event channel on resume

2015-04-28 Thread Boris Ostrovsky
After a resume the hypervisor/tools may change xenbus event channel number. We should re-query it. Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com --- drivers/xen/xenbus/xenbus_probe.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git

[Xen-devel] [PATCH 0/4] A few event channel-related fixes

2015-04-28 Thread Boris Ostrovsky
Fixes for issues that we discovered during live migration when source and target systems have different event channel assignments for guests. Boris Ostrovsky (4): xen/events: Clear cpu_evtchn_mask before resuming xen/xenbus: Update xenbus event channel on resume xen/console: Update console

Re: [Xen-devel] [PATCH 2/4] xen/xenbus: Update xenbus event channel on resume

2015-04-28 Thread David Vrabel
On 28/04/15 16:52, Boris Ostrovsky wrote: After a resume the hypervisor/tools may change xenbus event channel number. We should re-query it. [...] @@ -793,6 +818,9 @@ static int __init xenbus_init(void) goto out_error; } + if (!xen_initial_domain()) +

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-28 Thread Julien Grall
Hi Vijay, On 28/04/15 12:36, Vijay Kilari wrote: On Tue, Apr 28, 2015 at 4:05 PM, Julien Grall julien.gr...@citrix.com wrote: If you properly manage the device with struct pci_dev or struct device (which is, as talked earlier, obviously required for security) you should avoid your so-called

Re: [Xen-devel] [PATCHv3 3/4] xen: use ticket locks for spin locks

2015-04-28 Thread David Vrabel
On 23/04/15 12:58, Jan Beulich wrote: +typedef union { +u32 head_tail; +struct { +u16 head; +u16 tail; +}; +} spinlock_tickets_t; + typedef struct spinlock { -raw_spinlock_t raw; +spinlock_tickets_t tickets; At least for x86 this means a growth

Re: [Xen-devel] [PATCH 3/4] xen/console: Update console event channel on resume

2015-04-28 Thread David Vrabel
On 28/04/15 16:52, Boris Ostrovsky wrote: After a resume the hypervisor/tools may change console event channel number. We should re-query it. Reviewed-by: David Vrabel david.vra...@citrix.com David ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH 4/4] xen/events: Set irq_info-evtchn before binding the channel to CPU in __startup_pirq()

2015-04-28 Thread David Vrabel
On 28/04/15 16:52, Boris Ostrovsky wrote: .. because bind_evtchn_to_cpu(evtchn, cpu) will map evtchn to 'info' and pass 'info' down to xen_evtchn_port_bind_to_cpu(). Reviewed-by: David Vrabel david.vra...@citrix.com David ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH 1/4] xen/events: Clear cpu_evtchn_mask before resuming

2015-04-28 Thread David Vrabel
On 28/04/15 16:52, Boris Ostrovsky wrote: When a guest is resumed, the hypervisor may change event channel assignments. If this happens and the guest uses 2-level events it is possible for the interrupt to be claimed by wrong VCPU since cpu_evtchn_mask bits may be stale. This can happen even

Re: [Xen-devel] [RFC 0/2] Cap SMMU s2 input-size based on p2m tables

2015-04-28 Thread Julien Grall
On 27/04/15 10:24, Edgar E. Iglesias wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Hi, Hi Edgar, This is a first try at fixing the issue I'm seeing on ZynqMP with missmatched setup of the SMMU and the shared page-tables with p2m. I've only handled the case of having an SMMU

Re: [Xen-devel] Xen 4.6 Development Update (three months reminder)

2015-04-28 Thread Jim Fehlig
Jim Fehlig wrote: wei.l...@citrix.com wrote: Hi all We are now three months into 4.6 development window. This is an email to keep track of all the patch series I gathered. It is by no means complete and / or acurate. Feel free to reply this email with new projects or correct my

[Xen-devel] [PATCH v2] xen: Suspend ticks on all CPUs during suspend

2015-04-28 Thread Boris Ostrovsky
Commit 77e32c89a711 (clockevents: Manage device's state separately for the core) decouples clockevent device's modes from states. With this change when a Xen guest tries to resume, it won't be calling its set_mode op which needs to be done on each VCPU in order to make the hypervisor aware that we

[Xen-devel] [PATCH 1/2] x86_emulate: fix emulation of CMPXCHG

2015-04-28 Thread Eugene Korenevsky
CMPXCHG sets CF, PF, AF, SF, and OF flags according to the results of the comparison the rAX with the operand of the instruction. rAX must be the first argument of the comparison (a minuend), the operand must be the second one (a subtrahend). Due to improper order of comparison arguments, CF, PF,

[Xen-devel] [PATCH 2/2] test_x86_emulate: adjust CMPXCHG test

2015-04-28 Thread Eugene Korenevsky
CMPXCHG: in the case of inequality of the rAX and the operand, need to check CF, PF, AF, SF and OF flags as well. This adjustment covers the fix of incorrect comparison during CMPXCHG emulation. Signed-off-by: Eugene Korenevsky ekorenev...@gmail.com ---

Re: [Xen-devel] [OSSTEST Nested PATCH v8 5/7] Add new script to customize nested test configuration

2015-04-28 Thread Ian Campbell
On Fri, 2015-04-24 at 08:45 +, Pang, LongtaoX wrote: -Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: Thursday, April 23, 2015 7:30 PM To: Hu, Robert Cc: Pang, LongtaoX; xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; wei.l...@citrix.com

Re: [Xen-devel] Xen 4.6 Development Update (three months reminder)

2015-04-28 Thread Jim Fehlig
wei.l...@citrix.com wrote: Hi all We are now three months into 4.6 development window. This is an email to keep track of all the patch series I gathered. It is by no means complete and / or acurate. Feel free to reply this email with new projects or correct my misunderstanding. [...] *

Re: [Xen-devel] [PATCH 1/4] xen/events: Clear cpu_evtchn_mask before resuming

2015-04-28 Thread Boris Ostrovsky
On 04/28/2015 12:28 PM, David Vrabel wrote: On 28/04/15 16:52, Boris Ostrovsky wrote: When a guest is resumed, the hypervisor may change event channel assignments. If this happens and the guest uses 2-level events it is possible for the interrupt to be claimed by wrong VCPU since

Re: [Xen-devel] [PATCH v2] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-04-28 Thread Andy Walls
On Mon, 2015-04-27 at 09:43 -0700, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC,

[Xen-devel] about xenalyze

2015-04-28 Thread 蒋雄伟(蒋冲)
Hi, everyone The xen we used is 4.0.1, but xenalyze �Cversion tells me “xenalyze - Open-source xen-unstable (3.4)” . can I use it? Is the latest version of xenalyze available? Thanks a lot . ___ Xen-devel mailing list

[Xen-devel] [PATCH] libxl: include a XLU_Config in _libxlDriverConfig

2015-04-28 Thread Olaf Hering
Upcoming changes for vscsi will use libxlutil.so to prepare the configuration for libxl. The helpers needs a xlu struct for logging. Provide one and reuse the existing output as log target. Signed-off-by: Olaf Hering o...@aepfle.de Cc: Jim Fehlig jfeh...@suse.com --- src/libxl/libxl_conf.c | 6

[Xen-devel] [PATCH] libxl: support vscsi

2015-04-28 Thread Olaf Hering
This uses the API version of the proposed vscsi support in libxl (v4): http://lists.xenproject.org/archives/html/xen-devel/2015-04/msg01949.html Is there anything else that needs to be done in libvirt? Right now libvirt scsi support is very simple minded, no support at all to describe host

Re: [Xen-devel] about xenalyze

2015-04-28 Thread Dario Faggioli
On Tue, 2015-04-28 at 11:26 +0800, 蒋雄伟(蒋冲) wrote: Hi, everyone Hi, The xen we used is 4.0.1, but xenalyze –version tells me “xenalyze - Open-source xen-unstable (3.4)” . can I use it? You can. Or, at least, I've always been able to, although it may depend on what you're tracing. Have you

Re: [Xen-devel] [PATCH] xen/arm: gic-v3: Implement correctly the callback send_SGI

2015-04-28 Thread Julien Grall
Hi Stefano, On 28/04/15 11:00, Stefano Stabellini wrote: On Mon, 27 Apr 2015, Julien Grall wrote: diff --git a/xen/include/asm-arm/gic_v3_defs.h b/xen/include/asm-arm/gic_v3_defs.h index b8a1c2e..556f114 100644 --- a/xen/include/asm-arm/gic_v3_defs.h +++ b/xen/include/asm-arm/gic_v3_defs.h

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-28 Thread Julien Grall
Hi, On 28/04/15 10:56, Stefano Stabellini wrote: On Tue, 28 Apr 2015, Vijay Kilari wrote: Approach 1: (Using completion interrupt) 1) Create dummy device for each virtual ITS when virtual its is created for a domain OR Allocate one interrupt number for each virtual ITS

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-28 Thread Vijay Kilari
On Thu, Apr 2, 2015 at 7:17 PM, Julien Grall julien.grall@gmail.com wrote: Hi Ian, On 02/04/2015 12:18, Ian Campbell wrote: On Thu, 2015-04-02 at 12:06 +0100, Julien Grall wrote: Can we just enqueue with the hardware and use the guest vcpu polling loop to trigger us to check for

[Xen-devel] [PATCH 1/2] vns/tls: don't use depricated gnutls functions

2015-04-28 Thread Olaf Hering
From: Gerd Hoffmann kra...@redhat.com Avoid using deprecated gnutls functions with recent gnutls versions. Fixes build failure on Fedora 16. Keep the old way for compatibility with old installations such as RHEL-5 (gnutls 1.4.x). Based on a patch from Raghavendra D Prabhu

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-28 Thread Stefano Stabellini
On Tue, 28 Apr 2015, Vijay Kilari wrote: On Thu, Apr 2, 2015 at 7:17 PM, Julien Grall julien.grall@gmail.com wrote: Hi Ian, On 02/04/2015 12:18, Ian Campbell wrote: On Thu, 2015-04-02 at 12:06 +0100, Julien Grall wrote: Can we just enqueue with the hardware and use the guest

Re: [Xen-devel] [PATCH] xen/arm: gic-v3: Implement correctly the callback send_SGI

2015-04-28 Thread Stefano Stabellini
On Mon, 27 Apr 2015, Julien Grall wrote: Currently, the GICv3 drivers is only able to send an SGI when the cpumask is provided. Although with the modes SGI_TARGET_OTHERS and SGI_TARGET_SELF, no cpumask is provided. Any usage of those modes will crash the hypersivor. Move the rename

[Xen-devel] [PATCH Part2 v11 2/2] PCI: Remove deprecated pci_scan_bus_parented()

2015-04-28 Thread Yijing Wang
No one uses pci_scan_bus_parented() any more, remove it. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/probe.c | 19 --- include/linux/pci.h |2 -- 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c

[Xen-devel] [PATCH Part2 v11 1/2] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-04-28 Thread Yijing Wang
From: Arnd Bergmann a...@arndb.de Use pci_scan_root_bus() instead of deprecated function pci_scan_bus_parented(). Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: xen-de...@lists.xenproject.org ---

[Xen-devel] [PATCH 0/2] qemu-trad: fix build with recent gnutls

2015-04-28 Thread Olaf Hering
Building qemu-traditional fails with current gnutls: ../libqemu_common.a(vnc.o): In function `vnc_start_tls': /home/abuild/rpmbuild/BUILD/xen-4.6.30745/non-dbg/tools/qemu-xen-traditional-dir/vnc.c:2164: undefined reference to `gnutls_kx_set_priority'

[Xen-devel] [PATCH 2/2] vnc-tls: Fix compilation with newer versions of GNU-TLS

2015-04-28 Thread Olaf Hering
From: Andre Przywara andre.przyw...@amd.com In my installation of GNU-TLS (v3.0.23) the type gnutls_anon_server_credentials is marked deprecated, so -Werror breaks compilation. Simply replacing it with the newer ..._t version fixed the compilation on my machine (Slackware 14.0). I cannot tell how

Re: [Xen-devel] [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-04-28 Thread Christoph Hellwig
What happened to this patchset? ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [OSSTEST Nested PATCH v8 3/7] Edit some APIs in TestSupport.pm for nested test

2015-04-28 Thread Ian Campbell
On Mon, 2015-04-27 at 17:36 +0800, Robert Hu wrote: On Thu, 2015-04-23 at 00:34 +, Hu, Robert wrote: -Original Message- From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] Sent: Wednesday, April 22, 2015 8:50 PM To: Ian Campbell Cc: Pang, LongtaoX;

Re: [Xen-devel] [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-04-28 Thread Arianna Avanzini
Hello Christoph, Il 28/04/2015 09:36, Christoph Hellwig ha scritto: What happened to this patchset? It was passed on to Bob Liu, who published a follow-up patchset here: https://lkml.org/lkml/2015/2/15/46 Thanks, Arianna ___ Xen-devel mailing

[Xen-devel] [PATCH 3/4] xen/console: Update console event channel on resume

2015-04-28 Thread Boris Ostrovsky
After a resume the hypervisor/tools may change console event channel number. We should re-query it. Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com --- drivers/tty/hvc/hvc_xen.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git