[Xen-devel] [linux-3.14 test] 55528: tolerable FAIL - PUSHED

2015-05-13 Thread osstest service user
flight 55528 linux-3.14 real [real] http://logs.test-lab.xenproject.org/osstest/logs/55528/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-freebsd10-amd64 13 guest-localmigrate fail like 53933 test-armhf-armhf-xl 6

[Xen-devel] qemu-upstream stubdom - Xen can put VENOM-type attacks to bed

2015-05-13 Thread Eric Shelton
Yesterday's public announcement of VENOM highlights a security concern I raised in January with not getting qemu-upstream moved over to stub domains. I have repeated my email below for your convenience. To summarize my earlier email: I believe running QEMU device emulation in dom0 is Xen's single

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

2015-05-13 Thread Chen, Tiejun
On 2015/5/11 18:57, Jan Beulich wrote: On 11.05.15 at 11:51, wrote: Hi, On 11/05/15 09:42, Chen, Tiejun wrote: diff --git a/xen/drivers/passthrough/arm/smmu.c b/xen/drivers/passthrough/arm/smmu.c index 8a9b58b..a3e6383 100644 --- a/xen/drivers/passthrough/arm/smmu.c +++ b/xen/drivers/passthro

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

2015-05-13 Thread Chen, Tiejun
On 2015/5/11 17:51, Julien Grall wrote: Hi, On 11/05/15 09:42, Chen, Tiejun wrote: diff --git a/xen/drivers/passthrough/arm/smmu.c b/xen/drivers/passthrough/arm/smmu.c index 8a9b58b..a3e6383 100644 --- a/xen/drivers/passthrough/arm/smmu.c +++ b/xen/drivers/passthrough/arm/smmu.c @@ -2599,7 +259

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Michael S. Tsirkin
On Thu, May 14, 2015 at 06:38:24AM +0200, Stefan Weil wrote: > Am 13.05.2015 um 20:15 schrieb Stefano Stabellini: > >On Wed, 13 May 2015, Daniel P. Berrange wrote: > >>On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: > >>>Do not emulate a floppy drive if no drives are supposed to

Re: [Xen-devel] [PATCH Remus v3 3/3] libxc/restore: implement Remus checkpointed restore

2015-05-13 Thread Yang Hongyang
On 05/14/2015 12:16 AM, Andrew Cooper wrote: On 13/05/15 09:35, Yang Hongyang wrote: With Remus, the restore flow should be: the first full migration stream -> { periodically restore stream } Signed-off-by: Yang Hongyang Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei

[Xen-devel] [V5] x86/cpuidle: get accurate C0 value with xenpm tool

2015-05-13 Thread Huaitong Han
When checking the ACPI funciton of C-status, after 100 seconds sleep, the sampling value of C0 status from the xenpm tool decreases. Because C0=NOW()-C1-C2-C3-C4, when NOW() value is during idle time, NOW() value is bigger than last C-status update time, and C0 value is also bigger than ture value.

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Stefan Weil
Am 13.05.2015 um 20:15 schrieb Stefano Stabellini: On Wed, 13 May 2015, Daniel P. Berrange wrote: On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: Do not emulate a floppy drive if no drives are supposed to be present. This fixes the behavior of -nodefaults, that should remov

Re: [Xen-devel] [PATCH] xenpm: Initialize cputopo pointer

2015-05-13 Thread Wei Liu
On Wed, May 13, 2015 at 01:37:35PM -0400, Boris Ostrovsky wrote: > Commit 250f0b43af1a ("libxl/libxc: Move libxl_get_cpu_topology()'s > hypercall buffer management to libxc") broke non-debug compilation: > on error path we may have uninitialized cputopo pointer. > > Signed-off-by: Boris Ostrovsky

[Xen-devel] [linux-next test] 55459: tolerable FAIL

2015-05-13 Thread osstest service user
flight 55459 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/55459/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-freebsd10-i386 9 freebsd-install fail like 55347 test-amd64-i386-freebsd10-amd64

Re: [Xen-devel] [PATCH] pvgrub: initialise p2m_size

2015-05-13 Thread Wei Liu
On Thu, May 14, 2015 at 01:51:18AM +0200, Samuel Thibault wrote: > Wei Liu, le Sun 10 May 2015 14:14:51 +0100, a écrit : > > In 84083790 ("libxc: add p2m_size to xc_dom_image") a new field is > > added. We should initialised this field in pvgrub as well, otherwise > > xc_dom_build_image won't work

Re: [Xen-devel] [PATCH v5 02/14] libxc/save: Adjust stream-position callbacks for checkpointed streams

2015-05-13 Thread Yang Hongyang
On 05/13/2015 11:56 PM, Ian Campbell wrote: On Wed, 2015-05-13 at 16:47 +0100, Andrew Cooper wrote: On 13/05/15 16:46, Ian Campbell wrote: On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: From: Andrew Cooper There are some records which should only be sent once in the stream, and no

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

2015-05-13 Thread osstest service user
flight 55883 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/55883/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-build fail REGR. vs. 55353 build-amd64

Re: [Xen-devel] [PATCH Remus v3 2/3] libxc/restore: add checkpointed flag to the restore context

2015-05-13 Thread Yang Hongyang
On 05/13/2015 11:15 PM, Andrew Cooper wrote: On 13/05/15 09:35, Yang Hongyang wrote: add checkpointed flag to the restore context. Signed-off-by: Yang Hongyang CC: Ian Campbell CC: Ian Jackson CC: Wei Liu CC: Andrew Cooper This appears unused, given the new restore code. This is used

Re: [Xen-devel] [PATCH Remus v3 1/3] libxc/save: implement Remus checkpointed save

2015-05-13 Thread Yang Hongyang
On 05/13/2015 11:14 PM, Andrew Cooper wrote: On 13/05/15 09:34, Yang Hongyang wrote: With Remus, the save flow should be: live migration->{ periodically save(checkpointed save) } Signed-off-by: Yang Hongyang CC: Ian Campbell CC: Ian Jackson CC: Wei Liu CC: Andrew Cooper --- tools/libxc

Re: [Xen-devel] [PATCH v5 05/14] tools/libxc: unused attribute in DECLARE_HYPERCALL_BUFFER_SHADOW

2015-05-13 Thread Yang Hongyang
On 05/13/2015 11:57 PM, Ian Campbell wrote: On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: There are cases that we only need to use the hypercall buffer data, "cases where" and do not use the xc_hypercall_buffer_t struct. DECLARE_HYPERCALL_BUFFER_SHADOW define a user pointer that c

Re: [Xen-devel] [PATCH v5 04/14] libxc/migration: Pass checkpoint information into the save algorithm.

2015-05-13 Thread Yang Hongyang
On 05/13/2015 11:49 PM, Ian Campbell wrote: On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: From: Andrew Cooper OOI how was this signalled to the old code? The old code check the callbacks "postcopy & checkpoint", if the callbacks exists, it will call them which I think is unrelia

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

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

Re: [Xen-devel] [PATCH] pvgrub: initialise p2m_size

2015-05-13 Thread Samuel Thibault
Wei Liu, le Sun 10 May 2015 14:14:51 +0100, a écrit : > In 84083790 ("libxc: add p2m_size to xc_dom_image") a new field is > added. We should initialised this field in pvgrub as well, otherwise > xc_dom_build_image won't work properly. > > Signed-off-by: Wei Liu > Cc: Ian Campbell > Cc: Ian Jack

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread John Snow
On 05/13/2015 02:15 PM, Stefano Stabellini wrote: > On Wed, 13 May 2015, Daniel P. Berrange wrote: >> On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: >>> Do not emulate a floppy drive if no drives are supposed to be present. >>> >>> This fixes the behavior of -nodefaults, that

[Xen-devel] [xen-unstable test] 55438: tolerable FAIL

2015-05-13 Thread osstest service user
flight 55438 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/55438/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-sedf-pin 15 guest-start/debian.repeat fail pass in 55368 Regressions which are regarded as

Re: [Xen-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Michael S. Tsirkin
On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: > Do not emulate a floppy drive if no drives are supposed to be present. > > This fixes the behavior of -nodefaults, that should remove the floppy > drive (see docs/qdev-device-use.txt:Default Devices), but actually > doesn't. >

Re: [Xen-devel] [Pkg-xen-devel] Bug#785187: xen-hypervisor-4.5-amd64: Option ucode=scan is not working

2015-05-13 Thread Atom2
Am 13.05.15 um 15:41 schrieb Ian Campbell: I think I remember some discussion of something in this area not too long ago on xen-devel. CC-s added. I assume you refer to this discussion which happend to be on the xen-users mailing list: http://lists.xen.org/archives/html/xen-users/2014-05/msg000

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

2015-05-13 Thread osstest service user
flight 55443 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/55443/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 11 guest-start fail REGR. vs. 53854 test-amd64-i386-libvirt

[Xen-devel] [ovmf test] 55430: regressions - trouble: broken/fail/pass

2015-05-13 Thread osstest service user
flight 55430 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/55430/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-win7-amd64 3 host-install(3) broken REGR. vs. 55353 test-amd64-i386-xl-qemuu-win

[Xen-devel] [PATCH v9 3/6] tools/libxl: arm: Use an higher value for the GIC phandle

2015-05-13 Thread Julien Grall
From: Julien Grall 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. Signed-off-by: Julien Grall Acked-by

[Xen-devel] [PATCH v9 0/6] xen/arm: Add support for non-PCI passthrough

2015-05-13 Thread Julien Grall
Hi all, This is a resend of the last part of the non-PCI passthrough after another error found by Ian C. during build compilation on Debian Wheezy. Debian wheezy is using an old version of libfdt which doesn't export correcly fdt_first_property_offset, fdt_get_property_by_offset and fdt_next_prop

[Xen-devel] [PATCH v9 5/6] xl: Add new option dtdev

2015-05-13 Thread Julien Grall
From: Julien Grall The option "dtdev" will be used to passthrough a device described in the device tree to a guest. Signed-off-by: Julien Grall Acked-by: Ian Campbell Cc: Ian Jackson Cc: Wei Liu --- Changes in v5: - Drop "non-PCI" in the commit message - Add Ian's ack

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

2015-05-13 Thread Julien Grall
From: Julien Grall 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 Acked-by: Ian Campbell --- Changes in v6: - Typo in the doc

[Xen-devel] [PATCH v9 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-13 Thread Julien Grall
From: Julien Grall The functions fdt_{first,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 the dtc repo [1] When th

[Xen-devel] [PATCH v9 2/6] tools/(lib)xl: Add partial device tree support for ARM

2015-05-13 Thread Julien Grall
From: Julien Grall 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 define aliases which can b

[Xen-devel] [PATCH v9 4/6] libxl: Add support for Device Tree passthrough

2015-05-13 Thread Julien Grall
From: Julien Grall 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 device tree - Map manua

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Stefano Stabellini
On Wed, 13 May 2015, Daniel P. Berrange wrote: > On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: > > Do not emulate a floppy drive if no drives are supposed to be present. > > > > This fixes the behavior of -nodefaults, that should remove the floppy > > drive (see docs/qdev-dev

[Xen-devel] [rumpuserxen test] 55444: regressions - FAIL

2015-05-13 Thread osstest service user
flight 55444 rumpuserxen real [real] http://logs.test-lab.xenproject.org/osstest/logs/55444/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-rumpuserxen 5 rumpuserxen-build fail REGR. vs. 33866 build-i386-rumpuserxe

Re: [Xen-devel] [Pkg-xen-devel] Bug#785187: xen-hypervisor-4.5-amd64: Option ucode=scan is not working

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 11:57 -0400, Konrad Rzeszutek Wilk wrote: > > > according to the documentation the option ucode=scan should tell XEN to > > > look for a microcode update in an uncompressed initrd. > > > > > > While I don’t use the Debian kernel the tools to generate the initrd are > > > pa

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread George Dunlap
On Wed, May 13, 2015 at 4:12 PM, Ian Campbell wrote: > If that is not an option then we may need to follow the pvusb model > (Chunyan and George CC-d in case I've got it wrong) which is to have > explicit/separate host and device structs in the libxl API and > associated separate commands to add/r

Re: [Xen-devel] [PATCH OSSTEST] Toolstack::xl: Support for ACPI fallback for shutdown

2015-05-13 Thread Jim Fehlig
Ian Campbell wrote: > On Tue, 2015-05-12 at 14:36 -0600, Jim Fehlig wrote: > >>> Ian. >>> >>> From f560b7eed781a93567d69bcf90260c7475854766 Mon Sep 17 00:00:00 2001 >>> From: Ian Campbell >>> Date: Thu, 7 May 2015 16:37:18 +0100 >>> Subject: [PATCH] Toolstack::libvirt: Support for ACPI fallback

Re: [Xen-devel] [libvirt test] 55257: regressions - FAIL

2015-05-13 Thread Anthony PERARD
On Wed, May 13, 2015 at 09:46:28AM +0100, Ian Campbell wrote: > On Mon, 2015-05-11 at 10:36 -0600, Jim Fehlig wrote: > [...] > > > The qemu log is sadly empty so I've no clue why this timed out. > > > > > > > I guess qemu didn't run at all... > > > > > Perhaps there is something in > > > http

Re: [Xen-devel] [Qemu-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Daniel P. Berrange
On Wed, May 13, 2015 at 06:29:46PM +0100, Stefano Stabellini wrote: > Do not emulate a floppy drive if no drives are supposed to be present. > > This fixes the behavior of -nodefaults, that should remove the floppy > drive (see docs/qdev-device-use.txt:Default Devices), but actually > doesn't. Te

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread Olaf Hering
On Wed, May 13, Ian Campbell wrote: > You've represented this as a libxl_vscsi_dev which is actually a bus > containing an array of devices, which leads to an API where to remove a > device you have to provide libxl_device_scsi_remove with a > libxl_device_vscsi where the individual devices are ta

[Xen-devel] [PATCH] Do not emulate a floppy drive when -nodefaults

2015-05-13 Thread Stefano Stabellini
Do not emulate a floppy drive if no drives are supposed to be present. This fixes the behavior of -nodefaults, that should remove the floppy drive (see docs/qdev-device-use.txt:Default Devices), but actually doesn't. Signed-off-by: Stefano Stabellini diff --git a/hw/i386/pc.c b/hw/i386/pc.c ind

[Xen-devel] [PATCH] xenpm: Initialize cputopo pointer

2015-05-13 Thread Boris Ostrovsky
Commit 250f0b43af1a ("libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc") broke non-debug compilation: on error path we may have uninitialized cputopo pointer. Signed-off-by: Boris Ostrovsky Reported-by: Olaf Hering --- tools/misc/xenpm.c |4 ++-- 1 files cha

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

2015-05-13 Thread Anthony PERARD
On Tue, Apr 28, 2015 at 09:42:26AM +, Olaf Hering wrote: > From: Gerd Hoffmann > > 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

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

2015-05-13 Thread Anthony PERARD
On Tue, Apr 28, 2015 at 09:42:27AM +, Olaf Hering wrote: > From: Andre Przywara > > 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

[Xen-devel] Ping [PATCH 1/1] xen-hvm: Add trace to ioreq

2015-05-13 Thread Don Slutz
On 04/30/15 14:27, Don Slutz wrote: > Signed-off-by: Don Slutz > (cherry picked from commit b72adbe7510d0a30053d32334665ee887bec9e43) > --- > trace-events | 7 +++ > xen-hvm.c| 21 + > 2 files changed, 28 insertions(+) > > diff --git a/trace-events b/trace-events > i

Re: [Xen-devel] [PATCH v9 1/4] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-05-13 Thread Olaf Hering
On Wed, May 13, Boris Ostrovsky wrote: > Ian, do you want me to resubmit the series or send a fix for this? Not Ian, but: This change is in staging now, so a fix is needed. Olaf ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/x

Re: [Xen-devel] [PATCH Remus v3 3/3] libxc/restore: implement Remus checkpointed restore

2015-05-13 Thread Andrew Cooper
On 13/05/15 17:16, Andrew Cooper wrote: > >> + >> /* >> * Xenstore and Console parameters. >> * INPUT: evtchn & domid >> diff --git a/tools/libxc/xc_sr_restore.c b/tools/libxc/xc_sr_restore.c >> index 0e512ec..85534a8 100644 >> --- a/tools/libxc/xc_sr_resto

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

2015-05-13 Thread osstest service user
flight 55418 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/55418/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit2 15 guest-start/debian.repeat fail REGR. vs. 55331 Regressions which a

Re: [Xen-devel] [PATCH Remus v3 3/3] libxc/restore: implement Remus checkpointed restore

2015-05-13 Thread Andrew Cooper
On 13/05/15 09:35, Yang Hongyang wrote: > With Remus, the restore flow should be: > the first full migration stream -> { periodically restore stream } > > Signed-off-by: Yang Hongyang > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > --- > tools/libxc/xc_sr_c

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

2015-05-13 Thread Vijay Kilari
Hi Ian, Few thoughts.. On Tue, May 12, 2015 at 8:32 PM, Ian Campbell wrote: > On Tue, 2015-05-05 at 17:44 +0530, Vijay Kilari wrote: >> Hi, >> >>As discussed, here is the design doc/txt. > > There seems to be no consideration of multiple guests or VCPUs all > accessing one or more vITS in

Re: [Xen-devel] [PATCH OSSTEST v5 00/24] add distro domU testing flight

2015-05-13 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [PATCH OSSTEST v5 00/24] add distro domU testing flight"): > I think you have acked all of the ones I identified as being an > initially commitable chunk except one "TestSupport: Add helper to fetch > a URL on a host" which I think is not used by the nested vi

Re: [Xen-devel] [PATCH v5] OSSTEST: introduce a raisin build test

2015-05-13 Thread Ian Jackson
Stefano Stabellini writes ("Re: [PATCH v5] OSSTEST: introduce a raisin build test"): > On Tue, 12 May 2015, Ian Jackson wrote: > > I don't understand what the \\ are doing here. Perhaps you should use > > '' like in ts-xen-build ? > > I need to retain the " in the output raisin doesn't cope wit

Re: [Xen-devel] [PATCH v8 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-13 Thread Julien Grall
Hi Ian, On 13/05/15 16:39, Ian Campbell wrote: > On Wed, 2015-05-13 at 16:22 +0100, Julien Grall wrote: > >> :(. Both the distribution are using an old version of libfdt where the 3 >> prototypes are defined but the implementation is not exposed in the >> library (this is because they use a white

Re: [Xen-devel] [PATCH v5 05/14] tools/libxc: unused attribute in DECLARE_HYPERCALL_BUFFER_SHADOW

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: > There are cases that we only need to use the hypercall buffer data, "cases where" > and do not use the xc_hypercall_buffer_t struct. > DECLARE_HYPERCALL_BUFFER_SHADOW define a user pointer that can allow "defines a user pointer" > us to a

Re: [Xen-devel] [PATCH v5 02/14] libxc/save: Adjust stream-position callbacks for checkpointed streams

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 16:47 +0100, Andrew Cooper wrote: > On 13/05/15 16:46, Ian Campbell wrote: > > On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: > >> From: Andrew Cooper > >> > >> There are some records which should only be sent once in the stream, and > >> not > >> repeated for each

Re: [Xen-devel] [PATCH v5 04/14] libxc/migration: Pass checkpoint information into the save algorithm.

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: > From: Andrew Cooper OOI how was this signalled to the old code? > > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > CC: Yang Hongyang > --- > tools/libxc/include/xenguest.h | 1 + > tools/libxc/xc_

Re: [Xen-devel] [PATCH v9 1/4] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-05-13 Thread Boris Ostrovsky
On 05/13/2015 11:46 AM, Olaf Hering wrote: On Mon, May 11, Boris Ostrovsky wrote: xc_cputopoinfo() is not expected to be used on a hot path and therefore hypercall buffer management can be pushed into libxc. This will simplify life for callers. This got just merged and cause a compile error. L

Re: [Xen-devel] [Pkg-xen-devel] Bug#785187: xen-hypervisor-4.5-amd64: Option ucode=scan is not working

2015-05-13 Thread Konrad Rzeszutek Wilk
> > according to the documentation the option ucode=scan should tell XEN to > > look for a microcode update in an uncompressed initrd. > > > > While I don’t use the Debian kernel the tools to generate the initrd are > > part of Debian. The command „cpio -i < /boot/initrd.img-4.0.2-Dom0” > > cre

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Wei Liu
On Wed, May 13, 2015 at 02:26:33PM +0100, Ian Campbell wrote: > On Wed, 2015-05-13 at 14:06 +0100, Wei Liu wrote: > > On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: > > > On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: > > > > Hi, > > > > > > > > while trying to build a pvus

Re: [Xen-devel] [PATCH v5 02/14] libxc/save: Adjust stream-position callbacks for checkpointed streams

2015-05-13 Thread Andrew Cooper
On 13/05/15 16:46, Ian Campbell wrote: > On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: >> From: Andrew Cooper >> >> There are some records which should only be sent once in the stream, and not >> repeated for each checkpoint. {start,end}_of_stream() become per-checkpoint, >> and a new s

Re: [Xen-devel] [PATCH v5 03/14] libxc/migration: Specification update for CHECKPOINT records

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: > From: Andrew Cooper > > Checkpointed streams need to signal the end of a consistent view of VM state, > and the start of the libxl data. > > Signed-off-by: Andrew Cooper > Signed-off-by: David Vrabel > Signed-off-by: Yang Hongyang Ack

Re: [Xen-devel] [PATCH v5 02/14] libxc/save: Adjust stream-position callbacks for checkpointed streams

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: > From: Andrew Cooper > > There are some records which should only be sent once in the stream, and not > repeated for each checkpoint. {start,end}_of_stream() become per-checkpoint, > and a new start_of_stream() is introduced. > > There is

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Wei Liu
On Wed, May 13, 2015 at 04:44:03PM +0200, Juergen Gross wrote: > On 05/13/2015 03:06 PM, Wei Liu wrote: > >On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: > >>On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: > >>>Hi, > >>> > >>>while trying to build a pvusb backend in qemu I th

Re: [Xen-devel] [PATCH v5 01/14] libxc/migration: Be rather stricter with illformed callers

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 09:53 +0800, Yang Hongyang wrote: > From: Andrew Cooper > > The migration code itself should be able to validly assume all mandatory > callbacks are set up. > > Signed-off-by: Andrew Cooper Acked-by: Ian Campbell ___ Xen-dev

Re: [Xen-devel] [PATCH v8 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 16:22 +0100, Julien Grall wrote: > :(. Both the distribution are using an old version of libfdt where the 3 > prototypes are defined but the implementation is not exposed in the > library (this is because they use a whitelist for building it) > > I gave look to see if we can

Re: [Xen-devel] [PATCH v9 1/4] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-05-13 Thread Olaf Hering
On Mon, May 11, Boris Ostrovsky wrote: > xc_cputopoinfo() is not expected to be used on a hot path and therefore > hypercall buffer management can be pushed into libxc. This will simplify > life for callers. This got just merged and cause a compile error. Looks like gcc is right, if xc_cputopoinf

Re: [Xen-devel] [PATCH v8 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-13 Thread Julien Grall
Hi Ian, On 13/05/15 15:07, Ian Campbell wrote: > On Tue, 2015-05-12 at 15:33 +0100, Julien Grall wrote: >> From: Julien Grall >> >> The functions fdt_{fisrt,next}_subnode may not be available because: > > "first" > >> * It has been introduced in 2013 => Doesn't work on Wheezy >> * The p

Re: [Xen-devel] [PATCH Remus v3 2/3] libxc/restore: add checkpointed flag to the restore context

2015-05-13 Thread Andrew Cooper
On 13/05/15 09:35, Yang Hongyang wrote: > add checkpointed flag to the restore context. > > Signed-off-by: Yang Hongyang > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > CC: Andrew Cooper This appears unused, given the new restore code. ~Andrew > --- > tools/libxc/xc_sr_common.h | 3 +

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 15:44 +0100, Ian Campbell wrote: > > #define COMPARE_PCI(a, b) ((a)->func == (b)->func &&\ > > (a)->bus == (b)->bus && \ > > (a)->dev == (b)->dev) > > libxl_vscsi_dev = Struct("vscsi_dev", [ > > +("vscsi_dev

Re: [Xen-devel] [PATCH Remus v3 1/3] libxc/save: implement Remus checkpointed save

2015-05-13 Thread Andrew Cooper
On 13/05/15 09:34, Yang Hongyang wrote: > With Remus, the save flow should be: > live migration->{ periodically save(checkpointed save) } > > Signed-off-by: Yang Hongyang > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > CC: Andrew Cooper > --- > tools/libxc/xc_sr_save.c | 73 > ++

Re: [Xen-devel] [BUG] Centos 7 shutdown can cause dom0 kernel panic

2015-05-13 Thread Armin Zentai
On 13/05/15 12:58, Ian Campbell wrote: On Wed, 2015-05-13 at 11:03 +0200, Armin Zentai wrote: Dear Xen Developers! I'd like to report you a bug, that can cause HV reboot. Thanks. FWIW this is a dom0 kernel panic somewhere in either the network or iscsi stack, not a panic in the hypervisor

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread Olaf Hering
On Wed, May 13, Ian Campbell wrote: > Just looking at the API functions on this pass. > > @@ -3628,6 +3643,7 @@ static inline void > > libxl__update_config_vtpm(libxl__gc *gc, > > * devices have same identifier. */ > > #define COMPARE_DEVID(a, b) ((a)->devid == (b)->devid) > > #define COMPAR

Re: [Xen-devel] [PATCH v9 3/4] libxc: Provide set_xen_guest_handle_offset macro

2015-05-13 Thread Ian Campbell
On Mon, 2015-05-11 at 12:31 -0400, Boris Ostrovsky wrote: > Add set_xen_guest_handle_offset() macro that can be used for setting > xen_guest_handle to an offset into hypercall buffer. > > Signed-off-by: Boris Ostrovsky Acked + applied along with the rest of the series, thanks. ___

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

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

Re: [Xen-devel] [PATCH] Document '-F' option of create subcommand.

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 14:51 +, Giuseppe Mazzotta wrote: > Other options are still missing and not part of this patch. > > Signed-off-by: Giuseppe Mazzotta Acked + applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.x

Re: [Xen-devel] [PATCH v6 0/3] Set SMMU s2 input-size based on p2m tables

2015-05-13 Thread Ian Campbell
On Fri, 2015-05-08 at 17:10 +1000, Edgar E. Iglesias wrote: > From: "Edgar E. Iglesias" > > Hi, > > This is a fix for the issue I'm seeing on ZynqMP with missmatched > setup of the SMMU and the shared p2m page-tables with the CPU. > > This implements a global p2m_ipa_bits cap for S2 input-size

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread Ian Campbell
Just looking at the API functions on this pass. General comment though: Please go through and rewrap any lines longer than 75-80, I saw quite a few as I was scrolling. > @@ -3628,6 +3643,7 @@ static inline void libxl__update_config_vtpm(libxl__gc > *gc, > * devices have same identifier. */ >

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Juergen Gross
On 05/13/2015 03:06 PM, Wei Liu wrote: On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: Hi, while trying to build a pvusb backend in qemu I think I've found a general issue in xl: qemu for pv-domains is started only at domain

Re: [Xen-devel] [PATCH v5 5/5] Scripts to create and delete xen-scsiback nodes in Linux target framework

2015-05-13 Thread Olaf Hering
On Wed, May 13, Ian Campbell wrote: > On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: > > Just to make them public, not meant for merging: > > The scripts used during development to create a bunch of SCSI devices in > > dom0 using the Linux target framework. targetcli3 and rtslib3 is used. >

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

2015-05-13 Thread Julien Grall
Hi Ian, On 13/05/15 14:23, Ian Campbell wrote: > On Tue, 2015-05-12 at 18:35 +0100, Julien Grall wrote: >>> On read from the virtual `CREADR` iff the vits_cq is such that >> >> s/iff/if/ > > "iff" is a shorthand for "if and only if". Apparently not as common as I > think it is though! Oh ok. I w

Re: [Xen-devel] [PATCH v5 3/5] libxl: add support for vscsi

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: > Port pvscsi support from xend to libxl: > > vscsi=['pdev,vdev{,options}'] > xl scsi-attach > xl scsi-detach > xl scsi-list > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu >

Re: [Xen-devel] [PATCH v5 5/5] Scripts to create and delete xen-scsiback nodes in Linux target framework

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: > Just to make them public, not meant for merging: > The scripts used during development to create a bunch of SCSI devices in > dom0 using the Linux target framework. targetcli3 and rtslib3 is used. I'm not sure what this is all about, but is

Re: [Xen-devel] [PATCH v5 4/5] vscsiif.h: add some notes about xenstore layout

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: > Signed-off-by: Olaf Hering I'm not sure how much of this really belongs in an ABI document, but I don't think there's really anywhere else so Acked-by: Ian Campbell > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Keir Fraser > Cc: Tim Deegan

Re: [Xen-devel] [PATCH v5 1/5] vscsiif.h: fix WWN notation for p-dev property

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: > The pvops kernel expects either "naa.WWN:LUN" or "h:c:t:l" in the p-dev > property. Add the missing :LUN part to the comment. > > Signed-off-by: Olaf Hering Acked-by: Ian Campbell > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Keir Fraser >

Re: [Xen-devel] [PATCH v5 2/5] docs: add vscsi to xenstore-paths.markdown

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-06 at 13:28 +, Olaf Hering wrote: > Signed-off-by: Olaf Hering Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v8 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 15:33 +0100, Julien Grall wrote: > From: Julien Grall > > The functions fdt_{fisrt,next}_subnode may not be available because: "first" > * It has been introduced in 2013 => Doesn't work on Wheezy > * The prototype exists but the functions are not exposed. Don't ask

Re: [Xen-devel] [PATCH] libxl: fix "xl mem-set" regression from 0c029c4da2

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 08:18 +0100, Jan Beulich wrote: > >>> On 22.04.15 at 19:55, wrote: > > On Wed, 2015-04-22 at 17:33 +0100, Jan Beulich wrote: > >> >>> On 22.04.15 at 17:36, wrote: > >> > On Wed, 2015-04-22 at 15:41 +0100, Jan Beulich wrote: > >> >> >>> On 22.04.15 at 16:01, wrote: > >> >> >

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

2015-05-13 Thread Daniel Kiper
Hey Wei, On Wed, May 13, 2015 at 06:01:57AM +0100, wei.l...@citrix.com wrote: [...] > * Xen multiboot2-EFI support (fair) I think that it could be ok. >See http://lists.xen.org/archives/html/xen-devel/2013-05/msg02281.html Change above link to http://lists.xen.org/archives/html/xen-deve

Re: [Xen-devel] [PATCH] IOMMU/x86: avoid pages without GFN in page table creation/updating

2015-05-13 Thread Suravee Suthikulanit
Acked-by: Suravee Suthikulpanit Thanks, Suravee On 5/7/2015 7:59 AM, Jan Beulich wrote: Handing INVALID_GFN to functions like hd->platform_ops->map_page() just can't do any good, and the ioreq server code results in such pages being on the list of ones owned by a guest. While - as suggested

Re: [Xen-devel] [Pkg-xen-devel] Bug#785187: xen-hypervisor-4.5-amd64: Option ucode=scan is not working

2015-05-13 Thread Ian Campbell
I think I remember some discussion of something in this area not too long ago on xen-devel. CC-s added. Konrad, do you know of any issues with ucode=scan in 4.4? On Wed, 2015-05-13 at 10:27 +0200, Stephan Seitz wrote: > Package: xen-hypervisor-4.5-amd64 > Version: 4.5.0-1 > Severity: normal > >

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

2015-05-13 Thread Fabio Fantoni
Il 12/05/2015 16:44, Stefano Stabellini ha scritto: On Tue, 12 May 2015, Stefano Stabellini wrote: On Tue, 12 May 2015, Fabio Fantoni wrote: Il 12/05/2015 12:26, Fabio Fantoni ha scritto: Il 12/05/2015 11:23, Fabio Fantoni ha scritto: Il 11/05/2015 17:04, Fabio Fantoni ha scritto: Il 21/04/2

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

2015-05-13 Thread Ian Campbell
On Tue, 2015-05-12 at 18:35 +0100, Julien Grall wrote: > > Message signalled interrupts are translated into an LPI via a > > translation table which must be configured for each device which can > > generate an MSI. The ITS uses the device id of the originating device > > to lookup the corresponding

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Ian Campbell
On Wed, 2015-05-13 at 14:06 +0100, Wei Liu wrote: > On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: > > On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: > > > Hi, > > > > > > while trying to build a pvusb backend in qemu I think I've found a > > > general issue in xl: qemu for

Re: [Xen-devel] qemu device model question

2015-05-13 Thread Wei Liu
On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote: > On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote: > > Hi, > > > > while trying to build a pvusb backend in qemu I think I've found a > > general issue in xl: qemu for pv-domains is started only at domain > > creation and only if

[Xen-devel] Ping: [PATCH] IOMMU/x86: avoid pages without GFN in page table creation/updating

2015-05-13 Thread Jan Beulich
Still waiting for AMD IOMMU maintainer feedback... Thanks, Jan >>> On 07.05.15 at 14:59, wrote: > Handing INVALID_GFN to functions like hd->platform_ops->map_page() > just can't do any good, and the ioreq server code results in such pages > being on the list of ones owned by a guest. > > While

Re: [Xen-devel] [RFC PATCH 00/13] Persistent grant maps for xen net drivers

2015-05-13 Thread Joao Martins
On 13 May 2015, at 12:50, David Vrabel wrote: > On 12/05/15 18:18, Joao Martins wrote: >> >> Packet I/O Tests: >> >> Measured on a Intel Xeon E5-1650 v2, Xen 4.5, no HT. Used pktgen "burst 1" >> and "clone_skbs 10" (to avoid alloc skb overheads) with various pkt >> sizes. All tests are Dom

[Xen-devel] [PATCH][RFC] libxl: Add AHCI support for upstream qemu

2015-05-13 Thread Fabio Fantoni
Usage: ahci=0|1 (default=0) If enabled adds ich9 disk controller in ahci mode and uses it with upstream qemu to emulate disks instead of ide. It doesn't support cdroms which still use ide (cdroms will use "-device ide-cd" as new qemu parameters) Ahci requires new qemu parameters but for now other

Re: [Xen-devel] [RFC 00/22] xen/arm: Add support for GICv2 on GICv3

2015-05-13 Thread Chen Baozi
Hi Julien, On Fri, May 08, 2015 at 02:29:21PM +0100, Julien Grall wrote: > Hi all, > > This patch series adds support for GICv2 on GICv3. This feature is available > only when the GICv3 hardware is compatible with GICv2. > > When it's the case, the same interface is provided in order to use a >

Re: [Xen-devel] More on kexec/purgatory handover

2015-05-13 Thread Jan Beulich
>>> On 13.05.15 at 14:12, wrote: > On Wed, 13 May 2015 11:01:24 +0100 > "Jan Beulich" wrote: >> Okay, if the tools do this in v2, then I think the compatibility v1 >> path should indeed do so too (in the hypervisor). > > Are you working on a patch? Not yet, but I'm going to as soon as I can fin

Re: [Xen-devel] [PATCH 5/5] xen: Write CR0, CR3 and CR4 in arch_set_info_guest()

2015-05-13 Thread Boris Ostrovsky
On 05/06/2015 01:12 PM, Razvan Cojocaru wrote: Arch_set_info_guest() doesn't set CR0, CR3 or CR4. Added code that does that. Signed-off-by: Razvan Cojocaru --- xen/arch/x86/domain.c |3 +++ xen/arch/x86/hvm/emulate.c|6 +++--- xen/arch/x86/hvm/hvm.c|

  1   2   >