[Xen-devel] [xen-unstable test] 88047: regressions - FAIL

2016-03-31 Thread osstest service owner
flight 88047 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/88047/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 86491 test-amd64-am

Re: [Xen-devel] Getting rid of inside_vm in intel8x0

2016-03-31 Thread Takashi Iwai
On Fri, 01 Apr 2016 00:26:18 +0200, Luis R. Rodriguez wrote: > > On Wed, Mar 30, 2016 at 08:07:04AM +0200, Takashi Iwai wrote: > > On Tue, 29 Mar 2016 23:37:32 +0200, > > Andy Lutomirski wrote: > > > > > > Would it be possible to revert: > > > > > > commit 228cf79376f13b98f2e1ac10586311312757675

[Xen-devel] [PATCH v9 for Xen 4.7 4/4] xl: enable per-VCPU parameter for RTDS

2016-03-31 Thread Chong Li
Change main_sched_rtds and related output functions to support per-VCPU settings. Signed-off-by: Chong Li Signed-off-by: Meng Xu Signed-off-by: Sisu Xi Acked-by: Wei Liu --- Changes on PATCH v8: 1) Improve the example in xl.pod.1 2) Add sched_rtds_vcpu_output_all() and sched_vcpu_get_all() to

[Xen-devel] [PATCH v9 for Xen 4.7 2/4] libxc: enable per-VCPU parameter for RTDS

2016-03-31 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 Acked-by: Wei Liu Reviewed-by: Dario Faggioli --- Changes on PATCH v7: 1) rc in xc_sched_rtds_vcpu_set() should not b

[Xen-devel] [PATCH v9 for Xen 4.7 3/4] libxl: enable per-VCPU parameter for RTDS

2016-03-31 Thread Chong Li
Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to support per-VCPU settings. Signed-off-by: Chong Li Signed-off-by: Meng Xu Signed-off-by: Sisu Xi Acked-by: Wei Liu Reviewed-by: Dario Faggioli --- Changes on PATCH v8: 1) Add libxl_vcpu_sched_params_get_all() and sc

[Xen-devel] [PATCH v9 for Xen 4.7 1/4] xen: enable per-VCPU parameter for RTDS

2016-03-31 Thread Chong Li
Add XEN_DOMCTL_SCHEDOP_getvcpuinfo and _putvcpuinfo hypercalls to independently get and set the scheduling parameters of each vCPU of a domain. Also fix a bug in XEN_DOMCTL_SCHEDOP_getinfo, where PERIOD and BUDGET are not divided by MICROSECS(1) before being retruned to the caller. Signed-off-by:

[Xen-devel] [PATCH v9 for Xen 4.7 0/4] Enable per-VCPU parameter for RTDS

2016-03-31 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] Fixed building with newer GNUTLS versions.

2016-03-31 Thread Sjoer van der Ploeg
Signed-off-by: Sjoer van der Ploeg --- vnc.c | 71 +-- 1 file changed, 48 insertions(+), 23 deletions(-) diff --git a/vnc.c b/vnc.c index 573af3b..61d1555 100644 --- a/vnc.c +++ b/vnc.c @@ -1925,9 +1925,9 @@ static int vnc_tls_initi

[Xen-devel] [PATCH] Fixed --enable-systemd on latest Debian stretch. Added xencommons as a systemd.service.

2016-03-31 Thread Sjoer van der Ploeg
Signed-off by: Sjoer van der Ploeg --- m4/systemd.m4 | 15 +-- tools/configure.ac| 1 + tools/hotplug/Linux/systemd/xencommons.service.in | 13 + 3 files changed, 23 insertions(+), 6 deletions(-) create

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

2016-03-31 Thread osstest service owner
flight 88034 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/88034/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ovmf-amd64 9 debian-hvm-install fail REGR. vs. 65543 test-amd64-amd64-xl-qemuu-ov

Re: [Xen-devel] [PATCH] tools: add missing header for xenctrl.h

2016-03-31 Thread Changlong Xie
My build machine is master:/etc # cat SuSE-release SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 3 You may not to reproduce the same errors on fedora or some other platforms. On 04/01/2016 10:46 AM, Changlong Xie wrote: Commit d275ec9c introduce ssize_t but not include rel

[Xen-devel] [PATCH] tools: add missing header for xenctrl.h

2016-03-31 Thread Changlong Xie
Commit d275ec9c introduce ssize_t but not include relevant header, it will cause compile errors just like below: ./include/xenctrl.h:1485: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xc_version_len' Signed-off-by: Wen Congyang Signed-off-by: Changlong Xie --- tools/libxc/in

Re: [Xen-devel] [PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service

2016-03-31 Thread Changlong Xie
On 03/31/2016 10:22 PM, Wei Liu wrote: On Thu, Mar 31, 2016 at 10:28:47AM +0800, Changlong Xie wrote: I've checked all patches in this thread after Ian's comments, it seems we can give A-B to p12, p14, p20, p23, p25, p26 now. All in all, *all patches are acked-by*. Hello, can you rebase your

Re: [Xen-devel] [PATCH RFC v1 09/14] Makefile: delete STUBDOMPATH target

2016-03-31 Thread Xu, Quan
On March 31, 2016 9:50pm, Wei Liu wrote: > On Thu, Mar 31, 2016 at 10:21:22AM +, Xu, Quan wrote: > > On March 11, 2016 12:53am, Wei Liu wrote: > > > -build: $(STUBDOMPATH) > > > +build: $(STUBDOM_BUILD) > > > > Wei, > > in original code, in stubdom/vtpm and stubdom/vtpmmgr, the code style is

[Xen-devel] [linux-3.16 test] 88015: regressions - FAIL

2016-03-31 Thread osstest service owner
flight 88015 linux-3.16 real [real] http://logs.test-lab.xenproject.org/osstest/logs/88015/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 85048 Tests which are

Re: [Xen-devel] [PATCH] x86/hvm: separate ioreq server code from generic hvm code

2016-03-31 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Thursday, March 31, 2016 6:21 PM > > The code in hvm/hvm.c related to handling I/O emulation using the ioreq > server framework is large and mostly self-contained. > > This patch separates the ioreq server code into a new hvm/ioreq.c s

Re: [Xen-devel] abstract model of IOMMU unmaping/mapping failures

2016-03-31 Thread Tian, Kevin
Jan and others, I've reviewed below with Quan internally. Basically I'm OK with the proposal, but there does be several opens (8-11) which we'd like to know your opinions. Once they are cleared, next version of the patch should be made quickly... > From: Xu, Quan > Sent: Thursday, March 31, 2016

Re: [Xen-devel] Getting rid of inside_vm in intel8x0

2016-03-31 Thread Luis R. Rodriguez
On Wed, Mar 30, 2016 at 08:07:04AM +0200, Takashi Iwai wrote: > On Tue, 29 Mar 2016 23:37:32 +0200, > Andy Lutomirski wrote: > > > > Would it be possible to revert: > > > > commit 228cf79376f13b98f2e1ac10586311312757675c > > Author: Konstantin Ozerkov > > Date: Wed Oct 26 19:11:01 2011 +0400 >

Re: [Xen-devel] [PATCH v5 10/28] xsplice: Implement payload loading

2016-03-31 Thread Konrad Rzeszutek Wilk
> Also - how well will this O(n^2) lookup work once there are enough > payloads? I think this calls for the alternative vmap() extension I've > been suggesting earlier. Could you elaborate on the vmap extension a bit please? Your earlier email seems to say: drop the vmap API and just allocate th

[Xen-devel] [xen-4.5-testing test] 87998: tolerable FAIL - PUSHED

2016-03-31 Thread osstest service owner
flight 87998 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/87998/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-libvirt-qcow2 9 debian-di-install fail in 87892 pass in 87998 test-amd64-amd64-libvirt-pair 2

Re: [Xen-devel] [PATCH v8 for Xen 4.7 4/4] xl: enable per-VCPU parameter for RTDS

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 07:17:57PM +0200, Dario Faggioli wrote: [...] > > +3) Users can set the budget and period of multiple VCPUs of a  > > +specific domain with only one command,  >  It is possible to change the budget and the period of multiple VCPUs  >  of a domain with just one command, for i

[Xen-devel] Intel MID / CE4100 - platform support - pnpbios support ?

2016-03-31 Thread Luis R. Rodriguez
Andy S, Peter, Thomas, Jiang (or who might know), Do Intel MID platforms exist with PNP BIOS support? What abot CE4100? As it stands I don't see anything that would prevent this but I would suspect a possibility might be that it doesn't. I'm sanitizing some early boot code right now and pnpbios is

[Xen-devel] [seabios test] 88011: regressions - FAIL

2016-03-31 Thread osstest service owner
flight 88011 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/88011/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5 xen-build fail REGR. vs. 86832 build-i386

[Xen-devel] [xen-4.4-testing test] 87990: tolerable FAIL - PUSHED

2016-03-31 Thread osstest service owner
flight 87990 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/87990/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-qemut-rhel6hvm-intel 9 redhat-install fail in 87891 pass in 87990 test-armhf-armhf-xl-arndale

Re: [Xen-devel] ARMv8: New board bring up hangs in kernel start?

2016-03-31 Thread Dirk Behme
Hello Julien, On 29.03.2016 20:53, Julien Grall wrote: On 23/03/16 17:24, Dirk Behme wrote: Hi, Hello Dirk, Sorry for the late answer. Many thanks for answering at all :) trying to bring up Xen on a new ARMv8 64-bit Cortex A57 eval board, I get [1] and then its hanging there. The log

Re: [Xen-devel] [PATCH] Xen: update MAINTAINERS info

2016-03-31 Thread Peter Maydell
On 29 March 2016 at 11:02, Stefano Stabellini wrote: > Add Anthony Perard as Xen co-maintainer. > Update my email address. > > Signed-off-by: Stefano Stabellini > Acked-by: Anthony Perard > > diff --git a/MAINTAINERS b/MAINTAINERS > index afbe845..66abde8 100644 > --- a/MAINTAINERS > +++ b/MAINT

Re: [Xen-devel] [PATCH v8 for Xen 4.7 4/4] xl: enable per-VCPU parameter for RTDS

2016-03-31 Thread Dario Faggioli
On Thu, 2016-03-31 at 18:00 +0100, Wei Liu wrote: > On Fri, Mar 18, 2016 at 04:26:25PM -0500, Chong Li wrote: > > > > Change main_sched_rtds and related output functions to support > > per-VCPU settings. > > > > Signed-off-by: Chong Li > > Signed-off-by: Meng Xu > > Signed-off-by: Sisu Xi > >

Re: [Xen-devel] [PATCH v8 for Xen 4.7 4/4] xl: enable per-VCPU parameter for RTDS

2016-03-31 Thread Dario Faggioli
On Fri, 2016-03-18 at 16:26 -0500, Chong Li wrote: > Change main_sched_rtds and related output functions to support > per-VCPU settings. > > Signed-off-by: Chong Li > Signed-off-by: Meng Xu > Signed-off-by: Sisu Xi > Ok, so, importing this patch tells me this: $ stg import -M /home/dario/[X

Re: [Xen-devel] [PATCH v8 for Xen 4.7 4/4] xl: enable per-VCPU parameter for RTDS

2016-03-31 Thread Wei Liu
On Fri, Mar 18, 2016 at 04:26:25PM -0500, Chong Li wrote: > Change main_sched_rtds and related output functions to support > per-VCPU settings. > > Signed-off-by: Chong Li > Signed-off-by: Meng Xu > Signed-off-by: Sisu Xi > > --- > Changes on PATCH v7: > 1) Add example to xl.pod.1 > So you'v

Re: [Xen-devel] [PATCH v8 for Xen 4.7 3/4] libxl: enable per-VCPU parameter for RTDS

2016-03-31 Thread Wei Liu
On Fri, Mar 18, 2016 at 04:26:24PM -0500, Chong Li wrote: > Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set > functions to support per-VCPU settings. > > Signed-off-by: Chong Li > Signed-off-by: Meng Xu > Signed-off-by: Sisu Xi > Acked-by: Wei Liu ___

Re: [Xen-devel] [PATCH v8 for Xen 4.7 2/4] libxc: enable per-VCPU parameter for RTDS

2016-03-31 Thread Wei Liu
On Fri, Mar 18, 2016 at 04:26:23PM -0500, Chong Li wrote: > 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 > Acked-by: Wei Liu __

Re: [Xen-devel] [PATCH] x86/hvm: separate ioreq server code from generic hvm code

2016-03-31 Thread George Dunlap
On Thu, Mar 31, 2016 at 11:20 AM, Paul Durrant wrote: > The code in hvm/hvm.c related to handling I/O emulation using the ioreq > server framework is large and mostly self-contained. > > This patch separates the ioreq server code into a new hvm/ioreq.c source > module and accompanying asm-x86/hvm/

Re: [Xen-devel] [PATCH v4 00/14] Load BIOS via toolstack instead of been embedded in hvmloader.

2016-03-31 Thread George Dunlap
On Thu, Mar 31, 2016 at 3:36 PM, Jim Fehlig wrote: > Jan Beulich wrote: > On 30.03.16 at 19:22, wrote: >>> Anthony PERARD wrote: Hi all, Few changes in V4: I leave the ACPI alone and only load the BIOS via libxl now. Detail of changes in each patches. >>

Re: [Xen-devel] [PATCH 6/6] xentrace: ARM platform timestamp support

2016-03-31 Thread Ben Sanda
Stefano, Thank you for the comments. In response: > Changing cycles_t to uint64_t sounds good, but why did you move > boot_count here from below? I had to move it up so it would be defined for use in the updated get_cycles() call: return READ_SYSREG64(CNTPCT_EL0) - boot_count; Should get_cyclc

Re: [Xen-devel] ARMv8: New board bring up hangs in kernel start?

2016-03-31 Thread Stefano Stabellini
On Wed, 23 Mar 2016, Konrad Rzeszutek Wilk wrote: > On Wed, Mar 23, 2016 at 06:24:40PM +0100, Dirk Behme wrote: > > Hi, > > Hey, > > CC-ing the ARM MAINTAINERs. > > > > > trying to bring up Xen on a new ARMv8 64-bit Cortex A57 eval board, I get > > [1] and then its hanging there. > > > > I'd g

Re: [Xen-devel] [PATCH 6/6] xentrace: ARM platform timestamp support

2016-03-31 Thread Stefano Stabellini
On Fri, 25 Mar 2016, Konrad Rzeszutek Wilk wrote: > On Wed, Mar 16, 2016 at 01:51:39PM -0700, Benjamin Sanda wrote: > > From: bensanda > > > > Modified to provide support for xentrace on the ARM platform. Changed > > get_cycles() to return the core timestamp tick count for use by the trace > >

Re: [Xen-devel] [PATCH v3 8/8] hotplug/FreeBSD: document disk hotplug interface

2016-03-31 Thread George Dunlap
On Thu, Mar 31, 2016 at 4:09 PM, Roger Pau Monne wrote: > Add the FreeBSD disk hotplug interface details to the block-scripts.txt > document. > > Signed-off-by: Roger Pau Monné Thanks! Reviewed-by: George Dunlap ___ Xen-devel mailing list Xen-devel@

Re: [Xen-devel] [PATCH] Extending XL console command to take -e option.

2016-03-31 Thread Wei Liu
The title should reference "xen console client" instead of "XL console". On Thu, Mar 31, 2016 at 12:46:11AM +0530, sabiya wrote: > By default, Character 0x1d i.e '^]' is used as escape character to terminate > logging. > Now,escape character can be passed with -escape option. Doesn't long option

Re: [Xen-devel] [Xen-users] different number of cpus

2016-03-31 Thread tutu sky
Thanks a lot. That works. I think all boot parameters can be found here: http://xenbits.xenproject.org/docs/unstable/misc/xen-command-line.html you may want to use them or not, and if i don't make mistake, it does not make difference which linux distro is used. Regards. _

Re: [Xen-devel] [PATCH v7] libxl: allow 'phy' backend to use empty files

2016-03-31 Thread Roger Pau Monné
On Thu, 3 Mar 2016, Ian Jackson wrote: > Roger Pau Monne writes ("[PATCH v7] libxl: allow 'phy' backend to use empty > files"): > > This was introduced by 97ee1f (~5 years ago), but was probably never > > surfaced because most people used regular files as CDROM images, so the PHY > > backend was a

Re: [Xen-devel] XEN 4.6.0 on arm64 Ubuntu Xenial 16.04: unable to start domU

2016-03-31 Thread Stefano Stabellini
I'll reply here too. The issue seems to be related to the version of QEMU installed, which doesn't have Xen support. But fortunately you don't actually need any QEMU to run Xen on ARM, so just comment out the $QEMU_XEN line in the xencommons script and everything should work. Just use losetup and

Re: [Xen-devel] what will happen for a floated vcpu?

2016-03-31 Thread tutu sky
Thanks Dario, Yeah, you are totally right, but software crashes are almost a result of hardware faults. I mean if a part of a core for example register file or maybe floating point unit or even ALU, suddenly stop working or does malfunction, what will happen for the corresponding vcpu which it i

Re: [Xen-devel] [PATCH v3 0/8] libxl: add support for FreeBSD block hotplug scripts

2016-03-31 Thread Roger Pau Monné
On Thu, 31 Mar 2016, George Dunlap wrote: > On Thu, Mar 31, 2016 at 4:09 PM, Roger Pau Monne wrote: > > This series enables using hotplug scripts with the FreeBSD blkback > > implementation. Since FreeBSD blkback can use both block devices and regular > > RAW files as disks, the physical-device

Re: [Xen-devel] [PATCH v3 1/8] blkif: document how FreeBSD uses the physical-device backend node

2016-03-31 Thread George Dunlap
On Thu, Mar 31, 2016 at 4:09 PM, Roger Pau Monne wrote: > FreeBSD blkback uses the physical-device-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. Also clarify the usage > of the phys

[Xen-devel] [PATCH 0/2] Remaining prerequisite patches for COLO

2016-03-31 Thread Wei Liu
Konrad Rzeszutek Wilk (1): libxc: Document xc_domain_resume Wen Congyang (1): libxc: support to resume uncooperative HVM guests tools/libxc/include/xenctrl.h | 50 +++ tools/libxc/xc_resume.c | 25 ++ 2 files changed, 71 inser

[Xen-devel] [PATCH 2/2] libxc: Document xc_domain_resume

2016-03-31 Thread Wei Liu
From: Konrad Rzeszutek Wilk Document the save and suspend mechanism. Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Wei Liu --- tools/libxc/include/xenctrl.h | 50 +++ 1 file changed, 50 insertions(+) diff --git a/tools/libxc/include/xenctrl.h b/t

[Xen-devel] [PATCH v6] libelf: rewrite symtab/strtab loading

2016-03-31 Thread Roger Pau Monne
Current implementation of elf_load_bsdsyms is broken when loading inside of a HVM guest, because it assumes elf_memcpy_safe is able to write into guest memory space, which it is not. Take the oportunity to do some cleanup and properly document how elf_{parse/load}_bsdsyms works. The new implementa

Re: [Xen-devel] what will happen for a floated vcpu?

2016-03-31 Thread Dario Faggioli
On Tue, 2016-03-29 at 20:06 +, tutu sky wrote: > Hi, > I need to know what happens while a cpu which is running a vcpu, > suddenly crash or down? I mean have xen any plane for such a > situation? > I don't understand the question: what does it mean for a cpu to "suddenly crash"? It's typically

[Xen-devel] [PATCH 1/2] libxc: support to resume uncooperative HVM guests

2016-03-31 Thread Wei Liu
From: Wen Congyang Before this patch: 1. Suspend a. PVHVM and PV: we use the same way to suspend the guest (send the suspend request to the guest). If the guest doesn't support evtchn, the xenstore variant will be used, suspending the guest via XenBus control node. b. Pure HVM:

Re: [Xen-devel] [PATCH v3 0/8] libxl: add support for FreeBSD block hotplug scripts

2016-03-31 Thread George Dunlap
On Thu, Mar 31, 2016 at 4:09 PM, Roger Pau Monne wrote: > This series enables using hotplug scripts with the FreeBSD blkback > implementation. Since FreeBSD blkback can use both block devices and regular > RAW files as disks, the physical-device-path xenstore backend node is used > in order to sto

Re: [Xen-devel] [PATCH] libxl: introduce LIBXL_VGA_INTERFACE_TYPE_UNKNOWN

2016-03-31 Thread Roger Pau Monné
On Thu, 3 Mar 2016, Wei Liu wrote: > On Wed, Mar 02, 2016 at 04:46:43PM +0100, Roger Pau Monne wrote: > > And use it as the default value for the VGA kind. This allows libxl to set > > it to the default value later on when the domain type is known. For HVM > > guests the default value is LIBXL_VGA_

Re: [Xen-devel] [PATCH v7 12/17] ARM64: ACPI: Check if it runs on Xen to enable or disable ACPI

2016-03-31 Thread Stefano Stabellini
On Thu, 31 Mar 2016, Mark Rutland wrote: > On Thu, Mar 31, 2016 at 01:44:08PM +0200, Ard Biesheuvel wrote: > > The heuristic is there to decide whether some DTB image contains a > > complete description of the platform, or only some data handed over by > > the bootloader. Arguably, a DT containing

[Xen-devel] [PATCH v3 3/8] libxl: refactor the FreeBSD hotplug script code

2016-03-31 Thread Roger Pau Monne
This factors out the nic hotplug specific code from the common code path in order to make it easier to add support for disk hotplug scripts. It shouldn't include any functional change. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson Cc: Wei Liu --- Changes since v2: - Split the refactoring

[Xen-devel] [PATCH v3 8/8] hotplug/FreeBSD: document disk hotplug interface

2016-03-31 Thread Roger Pau Monne
Add the FreeBSD disk hotplug interface details to the block-scripts.txt document. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson Cc: George Dunlap Cc: Wei Liu --- docs/misc/block-scripts.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/docs/misc/block-scripts.txt b/d

[Xen-devel] [PATCH v3 1/8] blkif: document how FreeBSD uses the physical-device backend node

2016-03-31 Thread Roger Pau Monne
FreeBSD blkback uses the physical-device-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. Also clarify the usage of the physical-device node. Signed-off-by: Roger Pau Monné --- Cc: Ian Ja

[Xen-devel] [PATCH v3 5/8] libxl: properly use vdev vs local device

2016-03-31 Thread Roger Pau Monne
The current code in libxl assumed that vdev is equal to local device, but this is only true for Linux systems. In other OSes the local device can use a nomenclature completely different from the virtual device one. Move the current libxl__devid_to_localdev Linux implementation out of the OS-specif

[Xen-devel] [PATCH v3 0/8] libxl: add support for FreeBSD block hotplug scripts

2016-03-31 Thread Roger Pau Monne
This series enables using hotplug scripts with the FreeBSD blkback implementation. Since FreeBSD blkback can use both block devices and regular RAW files as disks, the physical-device-path xenstore backend node is used in order to store the absolute path to the virtual disk image (either a block

[Xen-devel] [PATCH v3 7/8] libxl: fix error message in local_device_attach_cb

2016-03-31 Thread Roger Pau Monne
The fields that are printed might not be set in the case of a failure, which generates a segmentation fault. Signed-off-by: Roger Pau Monné Acked-by: Wei Liu --- Cc: Ian Jackson Cc: Wei Liu --- tools/libxl/libxl.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/l

[Xen-devel] [PATCH v3 4/8] libxl: add support for disk hotplug scripts on FreeBSD

2016-03-31 Thread Roger Pau Monne
Allow FreeBSD to execute hotplug scripts when attaching disk devices. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson Cc: Wei Liu --- Changes since v2: - Split the refactoring in a separate patch. --- tools/libxl/libxl_freebsd.c | 36 1 file changed, 36

[Xen-devel] [PATCH v3 2/8] hotplug/FreeBSD: add block hotplug script

2016-03-31 Thread Roger Pau Monne
This is the default hotplug script for block devices. Its only job is to copy the "params" blkback xenstore node to "physical-device". Signed-off-by: Roger Pau Monné Acked-by: Wei Liu --- Cc: Ian Jackson Cc: Wei Liu --- tools/hotplug/FreeBSD/Makefile | 2 +- tools/hotplug/FreeBSD/block|

[Xen-devel] [PATCH v3 6/8] libxl: add a FreeBSD implementation of libxl__devid_to_localdev

2016-03-31 Thread Roger Pau Monne
This code is extracted from the FreeBSD blkfront implementation. Signed-off-by: Roger Pau Monné Acked-by: Wei Liu --- Cc: Ian Jackson Cc: Wei Liu --- tools/libxl/libxl_freebsd.c | 54 +++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/

Re: [Xen-devel] [PATCH 00/11] Return failure on failure for more xl commands

2016-03-31 Thread Wei Liu
On Wed, Mar 30, 2016 at 07:19:41PM +0200, Paulina Szubarczyk wrote: > Yes, I was looking at wrong branch, I am sorry. The patches > > * {01-04,08,11} were not attached in the previous patch [0]. > > * {05,06} are applied in the version made by George Dunlap. > I added the changes to return 0/1

[Xen-devel] [xen-4.6-testing test] 87986: trouble: blocked/broken/fail/pass

2016-03-31 Thread osstest service owner
flight 87986 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/87986/ 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. 866

[Xen-devel] [xen-unstable-smoke test] 88144: tolerable all pass - PUSHED

2016-03-31 Thread osstest service owner
flight 88144 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/88144/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

Re: [Xen-devel] [PATCH v4 00/14] Load BIOS via toolstack instead of been embedded in hvmloader.

2016-03-31 Thread Jim Fehlig
Jan Beulich wrote: On 30.03.16 at 19:22, wrote: >> Anthony PERARD wrote: >>> Hi all, >>> >>> Few changes in V4: >>> I leave the ACPI alone and only load the BIOS via libxl now. >>> >>> Detail of changes in each patches. >>> >>> I've look at loading the BIOS via the toolstack instead of ha

Re: [Xen-devel] [PATCH v6 6/6] libxl: check for dynamic device model start required

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 07:49:06AM +0200, Juergen Gross wrote: > Add a service routine checking whether a device model must be started > after adding a device to a domain. > > Signed-off-by: Juergen Gross > Acked-by: Ian Jackson Acked-by: Wei Liu __

Re: [Xen-devel] [PATCH v6 4/6] libxl: add new pvusb backend "qusb" provided by qemu

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 07:49:04AM +0200, Juergen Gross wrote: > Add a new pvusb backend type "qusb" which is provided by qemu. It can > be selected either by specifying the type directly in the configuration > or it is selected automatically by libxl in case there is no "usbback" > driver loaded.

Re: [Xen-devel] [PATCH v6 3/6] libxl: add query function for backend support by device model

2016-03-31 Thread Wei Liu
Actually CC Anthony On Thu, Mar 31, 2016 at 03:33:59PM +0100, Wei Liu wrote: > On Thu, Mar 31, 2016 at 07:49:03AM +0200, Juergen Gross wrote: > > Add a function to query whether the device model is supporting a > > specific backend type. The device model is writing the supported > > backend types

Re: [Xen-devel] [PATCH v2] tools/libxc: Fix build error when using xc_version_len

2016-03-31 Thread Olaf Hering
On Thu, Mar 31, Konrad Rzeszutek Wilk wrote: > On Thu, Mar 31, 2016 at 01:25:30PM +0200, Olaf Hering wrote: > > Tools fails to build with gcc 4.5, it does not provide ssize_t. > > Which version of SLES/OpenSuSE had that? I had been using 4.4.4 and > 5.3 and the compiler didn't hit that. SLE11 an

Re: [Xen-devel] [PATCH v6 3/6] libxl: add query function for backend support by device model

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 07:49:03AM +0200, Juergen Gross wrote: > Add a function to query whether the device model is supporting a > specific backend type. The device model is writing the supported > backend types to Xenstore on startup. The new query function checks > for the appropriate entry to b

Re: [Xen-devel] [PATCH v6 2/6] libxl: make libxl__need_xenpv_qemu() operate on domain config

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 07:49:02AM +0200, Juergen Gross wrote: > libxl__need_xenpv_qemu() is called with configuration data for console, > vfbs, disks and channels today in order to evaluate the need for > starting a device model for a pv domain. > > The console data is local to the caller and set

Re: [Xen-devel] [PATCH v6 1/6] libxl: handle error from libxl__need_xenpv_qemu() correctly

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 07:49:01AM +0200, Juergen Gross wrote: > In case libxl__need_xenpv_qemu() returns an error let domain creation > fail. > > Signed-off-by: Juergen Gross Acked-by: Wei Liu Ian, this is a backport candidate. Wei. ___ Xen-devel

Re: [Xen-devel] [PATCH v2] tools/libxc: Fix build error when using xc_version_len

2016-03-31 Thread Konrad Rzeszutek Wilk
On Thu, Mar 31, 2016 at 01:25:30PM +0200, Olaf Hering wrote: > Tools fails to build with gcc 4.5, it does not provide ssize_t. Which version of SLES/OpenSuSE had that? I had been using 4.4.4 and 5.3 and the compiler didn't hit that. > > Fixes d275ec9 ("libxc/libxl/python/xenstat/ocaml: Use new X

Re: [Xen-devel] [PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 10:28:47AM +0800, Changlong Xie wrote: > I've checked all patches in this thread after Ian's comments, it seems > we can give A-B to p12, p14, p20, p23, p25, p26 now. > > All in all, *all patches are acked-by*. > Hello, can you rebase your branch on top of staging branch

Re: [Xen-devel] [PATCH RFC v1 09/14] Makefile: delete STUBDOMPATH target

2016-03-31 Thread Wei Liu
On Thu, Mar 31, 2016 at 10:21:22AM +, Xu, Quan wrote: > On March 11, 2016 12:53am, Wei Liu wrote: > > -build: $(STUBDOMPATH) > > +build: $(STUBDOM_BUILD) > > Wei, > in original code, in stubdom/vtpm and stubdom/vtpmmgr, the code style is > inconsistent and ugly. > Do you have any plan to fix

[Xen-devel] REST MAINTAINERS feedback requested Was:Re: [PATCH v5 01/28] HYPERCALL_version_op. New hypercall mirroring XENVER_ but sane.

2016-03-31 Thread Jan Beulich
>>> On 31.03.16 at 15:28, wrote: > On Thu, Mar 31, 2016 at 06:07:58AM -0600, Jan Beulich wrote: >> >>> On 31.03.16 at 13:43, wrote: >> > it should not really be there but in a new hypercall that can do >> > three arguments (the length) and be able to return -EPERM. A sane >> > one, not the cobble

Re: [Xen-devel] [PATCH v5 10/28] xsplice: Implement payload loading

2016-03-31 Thread Jan Beulich
>>> On 24.03.16 at 21:00, wrote: > --- a/xen/arch/x86/setup.c > +++ b/xen/arch/x86/setup.c > @@ -100,6 +100,9 @@ unsigned long __read_mostly xen_phys_start; > > unsigned long __read_mostly xen_virt_end; > > +unsigned long __read_mostly avail_virt_start; > +unsigned long __read_mostly avail_vi

[Xen-devel] REST MAINTAINERS feedback requested Was:Re: [PATCH v5 01/28] HYPERCALL_version_op. New hypercall mirroring XENVER_ but sane.

2016-03-31 Thread Konrad Rzeszutek Wilk
On Thu, Mar 31, 2016 at 06:07:58AM -0600, Jan Beulich wrote: > >>> On 31.03.16 at 13:43, wrote: > > On Thu, Mar 31, 2016 at 12:30:09AM -0600, Jan Beulich wrote: > >> >>> On 30.03.16 at 17:43, wrote: > >> > Since they're all cosmetic, if you take care of all of them, feel free > >> > to stick my a

[Xen-devel] [PATCH] libxl: fix POLLHUP handling

2016-03-31 Thread Roger Pau Monne
The current code in bootloader_copyfail will error out on expected POLLHUPs because of a missing "else" in the if clause. The behaviour that triggers this bug has only been seen on FreeBSD so far. Signed-off-by: Roger Pau Monné Suggested-by: Ian Jackson --- Cc: Ian Jackson Cc: Wei Liu --- to

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

2016-03-31 Thread osstest service owner
flight 87980 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/87980/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-i386 10 guest-start fail REGR. vs. 86454 test-amd64-i386-fre

Re: [Xen-devel] [PATCH v7 12/17] ARM64: ACPI: Check if it runs on Xen to enable or disable ACPI

2016-03-31 Thread Mark Rutland
On Thu, Mar 31, 2016 at 01:44:08PM +0200, Ard Biesheuvel wrote: > The heuristic is there to decide whether some DTB image contains a > complete description of the platform, or only some data handed over by > the bootloader. Arguably, a DT containing both /chosen and /hypervisor > but nothing else c

Re: [Xen-devel] [PATCH v5 01/28] HYPERCALL_version_op. New hypercall mirroring XENVER_ but sane.

2016-03-31 Thread Jan Beulich
>>> On 31.03.16 at 13:43, wrote: > On Thu, Mar 31, 2016 at 12:30:09AM -0600, Jan Beulich wrote: >> >>> On 30.03.16 at 17:43, wrote: >> > Since they're all cosmetic, if you take care of all of them, feel free >> > to stick my ack on the result. >> >> Actually - no, please don't. While the patch i

Re: [Xen-devel] [PATCH v5 09/28] xsplice: Add helper elf routines

2016-03-31 Thread Jan Beulich
>>> On 24.03.16 at 21:00, wrote: > --- /dev/null > +++ b/xen/common/xsplice_elf.c > @@ -0,0 +1,294 @@ > +/* > + * Copyright (C) 2016 Citrix Systems R&D Ltd. > + */ > + > +#include > +#include > +#include > +#include > + > +struct xsplice_elf_sec *xsplice_elf_sec_by_name(const struct xsplice_el

Re: [Xen-devel] [PATCH v9 01/17] Xen: ACPI: Hide UART used by Xen

2016-03-31 Thread Rafael J. Wysocki
On Thu, Mar 31, 2016 at 1:23 PM, Shannon Zhao wrote: > From: Shannon Zhao > > ACPI 6.0 introduces a new table STAO to list the devices which are used > by Xen and can't be used by Dom0. On Xen virtual platforms, the physical > UART is used by Xen. So here it hides UART from Dom0. > > CC: "Rafael

Re: [Xen-devel] [PATCH v5 04/28] vmap: Add vmalloc_cb and vfree_cb

2016-03-31 Thread Konrad Rzeszutek Wilk
On Thu, Mar 31, 2016 at 12:46:24AM -0600, Jan Beulich wrote: > >>> On 30.03.16 at 18:44, wrote: > > On Wed, Mar 30, 2016 at 10:24:41AM -0600, Jan Beulich wrote: > >> >>> On 24.03.16 at 21:00, wrote: > >> > @@ -266,16 +275,15 @@ void *vzalloc(size_t size) > >> > return p; > >> > } > >> > >

[Xen-devel] [PATCH 0/2] doc: Update docs/misc/xenstore-paths.markdown

2016-03-31 Thread Juergen Gross
Update some Xenstore path related stuff. Juergen Gross (2): doc: correct hyperlinks in docs/misc/xenstore-paths.markdown doc: document pvusb Xenstore paths docs/misc/xenstore-paths.markdown | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) -- 2.6.2

[Xen-devel] [PATCH 1/2] doc: correct hyperlinks in docs/misc/xenstore-paths.markdown

2016-03-31 Thread Juergen Gross
The hyperlinks for the different I/O protocols are wrong. Correct them. Signed-off-by: Juergen Gross --- docs/misc/xenstore-paths.markdown | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/misc/xenstore-paths.markdown b/docs/misc/xenstore-paths.markdow

[Xen-devel] [PATCH 2/2] doc: document pvusb Xenstore paths

2016-03-31 Thread Juergen Gross
The patches adding Xen tools support for paravirtualized USB devices (pvUSB) omitted documenting the introduced Xenstore paths. Add the paths to docs/misc/xenstore-paths.markdown Signed-off-by: Juergen Gross --- docs/misc/xenstore-paths.markdown | 11 +++ 1 file changed, 11 insertions(+

Re: [Xen-devel] [PATCH v7 12/17] ARM64: ACPI: Check if it runs on Xen to enable or disable ACPI

2016-03-31 Thread Ard Biesheuvel
On 31 March 2016 at 13:04, Stefano Stabellini wrote: > On Wed, 30 Mar 2016, Shannon Zhao wrote: >> Hi Will, Mark, >> >> On 2016/3/30 0:31, Mark Rutland wrote: >> > On Tue, Mar 29, 2016 at 05:18:38PM +0100, Will Deacon wrote: >> >> > On Thu, Mar 24, 2016 at 10:44:31PM +0800, Shannon Zhao wrote: >>

Re: [Xen-devel] [PATCH v5 01/28] HYPERCALL_version_op. New hypercall mirroring XENVER_ but sane.

2016-03-31 Thread Konrad Rzeszutek Wilk
On Thu, Mar 31, 2016 at 12:30:09AM -0600, Jan Beulich wrote: > >>> On 30.03.16 at 17:43, wrote: > > Since they're all cosmetic, if you take care of all of them, feel free > > to stick my ack on the result. > > Actually - no, please don't. While the patch is fine content wise > then from my perspe

[Xen-devel] [PATCH v9 17/17] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Add a new function to parse DT parameters for Xen specific UEFI just like the way for normal UEFI. Then it could reuse the existing codes. If Xen supports EFI, initialize runtime services. CC: Matt Fleming Signed-off-by: Shannon Zhao Reviewed-by: Matt Fleming Reviewed-by:

[Xen-devel] [PATCH v9 16/17] FDT: Add a helper to get the subnode by given name

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Sometimes it needs to check if there is a subnode of given node in FDT by given name. Introduce this helper to get the subnode if it exists. CC: Rob Herring Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini Acked-by: Rob Herring --- drivers/of/fdt.c | 13

[Xen-devel] [PATCH v9 13/17] ARM: Xen: Document UEFI support on Xen ARM virtual platforms

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could scan this to get the UEFI information. CC: Rob Herring Signed-off-by: Shannon Zhao Acked-by: Rob Herring Reviewed-by: Stefano Stabellini --- Documentation/devicetree/bindings/arm/xen.txt | 35 +++

[Xen-devel] [PATCH v9 01/17] Xen: ACPI: Hide UART used by Xen

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao ACPI 6.0 introduces a new table STAO to list the devices which are used by Xen and can't be used by Dom0. On Xen virtual platforms, the physical UART is used by Xen. So here it hides UART from Dom0. CC: "Rafael J. Wysocki" (supporter:ACPI) CC: Len Brown (supporter:ACPI) CC:

[Xen-devel] [PATCH v9 11/17] ARM: XEN: Move xen_early_init() before efi_init()

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Move xen_early_init() before efi_init(), then when calling efi_init() could initialize Xen specific UEFI. Check if it runs on Xen hypervisor through the flat dts. Cc: Russell King Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/arm/kernel/setup.c |

[Xen-devel] [PATCH v9 05/17] xen: memory : Add new XENMAPSPACE type XENMAPSPACE_dev_mmio

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Add a new type of Xen map space for Dom0 to map device's MMIO region. Signed-off-by: Shannon Zhao --- include/xen/interface/memory.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h index 2ecfe4f..9aa8988 100

[Xen-devel] [PATCH v9 02/17] xen/grant-table: Move xlated_setup_gnttab_pages to common place

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Move xlated_setup_gnttab_pages to common place, so it can be reused by ARM to setup grant table. Rename it to xen_xlate_map_ballooned_pages. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/x86/xen/grant-table.c | 57 +---

[Xen-devel] [PATCH v2] tools/libxc: Fix build error when using xc_version_len

2016-03-31 Thread Olaf Hering
Tools fails to build with gcc 4.5, it does not provide ssize_t. Fixes d275ec9 ("libxc/libxl/python/xenstat/ocaml: Use new XEN_VERSION hypercall") Signed-off-by: Olaf Hering Cc: Ian Jackson Cc: Wei Liu --- v2: use correct summary tools/libxc/include/xenctrl.h | 1 + 1 file changed, 1 insert

[Xen-devel] [PATCH v9 14/17] XEN: EFI: Move x86 specific codes to architecture directory

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Move x86 specific codes to architecture directory and export those EFI runtime service functions. This will be useful for initializing runtime service on ARM later. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/x86/xen/efi.c| 112 +

[Xen-devel] [PATCH v9 04/17] arm/xen: Use xen_xlate_map_ballooned_pages to setup grant table

2016-03-31 Thread Shannon Zhao
From: Shannon Zhao Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't rely on DT or ACPI to pass the start address and size of grant table. Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- arch/arm/xen/enlighten.c | 13 - 1 file changed, 4 insertio

  1   2   >