Re: [Xen-devel] xen-unstable build fails with XEN_DUMP_DIR undeclader in xl_cmdimpl.c

2015-06-09 Thread Olaf Hering
On Mon, Jun 08, Fabio Fantoni wrote: > I saw that config/Paths.mk contains: > XEN_DUMP_DIR := /var/lib/xen/dump > > But build fails with: > >xl_cmdimpl.c: In function âhandle_domain_deathâ: > >xl_cmdimpl.c:2330:33: error: âXEN_DUMP_DIRâ undeclared (first use in this > >function) > >xl

Re: [Xen-devel] save & restore failed when tmem enabled in Xen 4.1 & Xen 4.3

2015-06-09 Thread Yang Hongyang
On 06/08/2015 02:30 PM, yunfang tai wrote: Hi Andrew, Thank you for your reply! I do not know much about migration V2. Was it integrated to Xen? If integrated, from which version? It's intended to be integrated to Xen4.6. However, the libxc part has already been merged into upstream

Re: [Xen-devel] [PATCH v6 1/3] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-06-09 Thread Hans Verkuil
On 06/09/2015 02:56 AM, Mauro Carvalho Chehab wrote: > Em Mon, 08 Jun 2015 17:20:20 -0700 > "Luis R. Rodriguez" escreveu: > >> From: "Luis R. Rodriguez" >> >> 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

Re: [Xen-devel] [PATCH v6 COLO 06/15] libxc/save: support COLO save

2015-06-09 Thread Andrew Cooper
On 09/06/2015 04:15, Yang Hongyang wrote: > > > On 06/08/2015 09:04 PM, Andrew Cooper wrote: >> On 08/06/15 04:45, Yang Hongyang wrote: >>> call callbacks->get_dirty_pfn() after suspend primary vm to >>> get dirty pages on secondary vm, and send pages both dirty on >>> primary/secondary to secondar

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-09 Thread Andrew Cooper
On 09/06/2015 01:59, Yang Hongyang wrote: > > > On 06/08/2015 06:15 PM, Andrew Cooper wrote: >> On 08/06/15 10:58, Yang Hongyang wrote: >>> >>> >>> On 06/08/2015 05:46 PM, Andrew Cooper wrote: On 08/06/15 04:43, Yang Hongyang wrote: > ioreq page contains evtchn which will be set when we re

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

2015-06-09 Thread osstest service user
flight 58195 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/58195/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 9 windows-installfail REGR. vs. 57815 Regressions which a

Re: [Xen-devel] [PATCH v2 for Xen 4.6 4/4] xl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-09 Thread Dario Faggioli
On Mon, 2015-06-08 at 16:18 -0500, Chong Li wrote: > On Mon, Jun 8, 2015 at 11:21 AM, Dario Faggioli > wrote: > > On Mon, 2015-05-25 at 19:11 -0500, Chong Li wrote: > > I appreciate just now that this probably affect other bits of the > > interface, as well as other interfaces, and I think we sho

Re: [Xen-devel] [PATCH RFC 0/4] 'reset everything' approach to PVHVM guest kexec

2015-06-09 Thread Dave Scott
> On 8 Jun 2015, at 18:43, Wei Liu wrote: > > On Mon, Jun 08, 2015 at 04:53:46PM +0100, Wei Liu wrote: >> On Wed, Jun 03, 2015 at 03:35:18PM +0200, Vitaly Kuznetsov wrote: >>> Jan and Tim, >>> >>> last week you expressed some concerns about if the toolstack-based >>> approach to PVHVM guest kex

Re: [Xen-devel] [OSSTEST Nested PATCH v11 4/7] Changes on test step of Debian hvm guest install

2015-06-09 Thread Ian Campbell
On Tue, 2015-06-09 at 05:29 +, Pang, LongtaoX wrote: > > > > -Original Message- > > From: Ian Campbell [mailto:ian.campb...@citrix.com] > > Sent: Monday, June 08, 2015 6:31 PM > > To: Pang, LongtaoX > > Cc: xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; > > wei.l...@citrix.com;

Re: [Xen-devel] [xen-unstable test] 57852: regressions - FAIL

2015-06-09 Thread Ian Campbell
On Mon, 2015-06-08 at 13:16 +0100, Ian Campbell wrote: > The adhoc run passed, but that's not statistically significant. I ran a bunch more in this no-apicv configuration, the logs are at http://logs.test-lab.xenproject.org/osstest/logs/: Flight HostFailed at 58190 fiano0 ts-guest-stop 5

Re: [Xen-devel] [PATCH v6 COLO 06/15] libxc/save: support COLO save

2015-06-09 Thread Yang Hongyang
On 06/09/2015 03:20 PM, Andrew Cooper wrote: On 09/06/2015 04:15, Yang Hongyang wrote: On 06/08/2015 09:04 PM, Andrew Cooper wrote: On 08/06/15 04:45, Yang Hongyang wrote: call callbacks->get_dirty_pfn() after suspend primary vm to get dirty pages on secondary vm, and send pages both dirty

[Xen-devel] [PATCH] rangeset: "has" and "is" functions return boolean

2015-06-09 Thread Jan Beulich
Additionally rangeset_is_empty()'s sole parameter can be const. Signed-off-by: Jan Beulich --- a/xen/common/rangeset.c +++ b/xen/common/rangeset.c @@ -248,11 +248,11 @@ int rangeset_remove_range( return rc; } -int rangeset_contains_range( +bool_t rangeset_contains_range( struct rang

Re: [Xen-devel] [PATCH 3/3] xen/block: add multi-page ring support

2015-06-09 Thread Bob Liu
On 06/03/2015 01:40 PM, Bob Liu wrote: > Extend xen/block to support multi-page ring, so that more requests can be > issued by using more than one pages as the request ring between blkfront > and backend. > As a result, the performance can get improved significantly. > > We got some impressive im

Re: [Xen-devel] [PATCH v6 COLO 06/15] libxc/save: support COLO save

2015-06-09 Thread Andrew Cooper
On 09/06/15 09:45, Yang Hongyang wrote: > >>> Even if there are no dirty pages on secondary, pfn_list shouldn't be >>> NULL, it's just that pfn_list[0] will be 0. if pfn_list is NULL, >>> there might be unexpected error happened. >> >> get_dirty_pfn() should be declared alongside a >> >> struct pfn

Re: [Xen-devel] [linux-linus test] 58167: trouble: broken/fail/pass

2015-06-09 Thread Ian Campbell
On Tue, 2015-06-09 at 00:26 +, osstest service user wrote: > test-amd64-amd64-rumpuserxen-amd64 3 host-install(3) broken REGR. vs. > 58128 > test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm 3 host-install(3) broken REGR. > vs. 58128 > test-amd64-i386-qemuu-rhel6hvm-amd 3 host-install(3)

Re: [Xen-devel] [PATCH 3/3] xen/block: add multi-page ring support

2015-06-09 Thread Paul Durrant
> -Original Message- > From: Bob Liu [mailto:bob@oracle.com] > Sent: 09 June 2015 09:50 > To: Bob Liu > Cc: xen-devel@lists.xen.org; David Vrabel; just...@spectralogic.com; > konrad.w...@oracle.com; Roger Pau Monne; Paul Durrant; Julien Grall; linux- > ker...@vger.kernel.org > Subject:

Re: [Xen-devel] [PATCH] rangeset: "has" and "is" functions return boolean

2015-06-09 Thread Dario Faggioli
On Tue, 2015-06-09 at 09:47 +0100, Jan Beulich wrote: > Additionally rangeset_is_empty()'s sole parameter can be const. > > Signed-off-by: Jan Beulich > Reviewed-by: Dario Faggioli Regards, Dario -- <> (Raistlin Majere) - Dario

[Xen-devel] [PATCH] x86: adjust PV I/O emulation functions' types

2015-06-09 Thread Jan Beulich
admin_io_okay(), guest_io_read(), and guest_io_write() all don't need their current "regs" parameter at all, and they don't use the vCPU passed to them for other than obtaining its domain. Drop the former and replace the latter by a struct domain pointer. pci_cfg_okay() returns a boolean type, and

Re: [Xen-devel] [PATCH] rangeset: "has" and "is" functions return boolean

2015-06-09 Thread Ian Campbell
On Tue, 2015-06-09 at 09:47 +0100, Jan Beulich wrote: > Additionally rangeset_is_empty()'s sole parameter can be const. Isn't that true of all/most of the others touched here too? (Once the underlying range_* list manipulations are made const correct). If you do decide to go further then there is

Re: [Xen-devel] [PATCH] x86: adjust PV I/O emulation functions' types

2015-06-09 Thread Andrew Cooper
On 09/06/15 09:58, Jan Beulich wrote: > admin_io_okay(), guest_io_read(), and guest_io_write() all don't need > their current "regs" parameter at all, and they don't use the vCPU > passed to them for other than obtaining its domain. Drop the former and > replace the latter by a struct domain pointe

[Xen-devel] [PATCH XSA-59] VT-d: extend quirks to newer desktop chipsets

2015-06-09 Thread Jan Beulich
We're being told that while on the server side the issue we're trying to work around is fixed starting with IvyBridge (another round of double checking is going on before we're going to remove the one IvyBridge ID that we're currently applying the workaround for), on the desktop side even Skylake s

Re: [Xen-devel] [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq server

2015-06-09 Thread Paul Durrant
> -Original Message- > From: Don Slutz [mailto:dsl...@verizon.com] > Sent: 08 June 2015 22:19 > To: qemu-de...@nongnu.org; xen-devel@lists.xen.org > Cc: Michael S. Tsirkin; Paul Durrant; Stefano Stabellini; Don Slutz; Don Slutz > Subject: [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq

Re: [Xen-devel] [PATCH v6 COLO 06/15] libxc/save: support COLO save

2015-06-09 Thread Yang Hongyang
On 06/09/2015 04:51 PM, Andrew Cooper wrote: On 09/06/15 09:45, Yang Hongyang wrote: Even if there are no dirty pages on secondary, pfn_list shouldn't be NULL, it's just that pfn_list[0] will be 0. if pfn_list is NULL, there might be unexpected error happened. get_dirty_pfn() should be dec

Re: [Xen-devel] [PATCH v2 2/4] Extend device listener interface for PCI to PCI bridges

2015-06-09 Thread Paul Durrant
> -Original Message- > From: Don Slutz [mailto:dsl...@verizon.com] > Sent: 08 June 2015 22:19 > To: qemu-de...@nongnu.org; xen-devel@lists.xen.org > Cc: Michael S. Tsirkin; Paul Durrant; Stefano Stabellini; Don Slutz; Don Slutz > Subject: [PATCH v2 2/4] Extend device listener interface for

Re: [Xen-devel] [OSSTEST Nested PATCH v11 4/7] Changes on test step of Debian hvm guest install

2015-06-09 Thread Pang, LongtaoX
> -Original Message- > From: Ian Campbell [mailto:ian.campb...@citrix.com] > Sent: Tuesday, June 09, 2015 4:08 PM > To: Pang, LongtaoX > Cc: xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; wei.l...@citrix.com; > Hu, > Robert > Subject: Re: [OSSTEST Nested PATCH v11 4/7] Changes on te

Re: [Xen-devel] [PATCH v6 COLO 06/15] libxc/save: support COLO save

2015-06-09 Thread Andrew Cooper
On 09/06/15 10:09, Yang Hongyang wrote: > > >> >>> >> Shouldn't get_dirty_pfn be mandatory for COLO streams (even if it >> is a >> noop to start with) ? > > It should be mandatory, it shouldn't be noop under COLO. perhaps we > should > add sanity check at the beginning.

Re: [Xen-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Michael S. Tsirkin
On Mon, Jun 08, 2015 at 05:18:48PM -0400, Don Slutz wrote: > changes v1 to v2: > Split v1 patch into 3. > > Added a BUG FIX patch (#1: "exec: Do not use MemoryRegion after > free"). > > Technically this bug fix should be a separate patch, however this > issue only seems to reproduce

Re: [Xen-devel] [PATCH] rangeset: "has" and "is" functions return boolean

2015-06-09 Thread Jan Beulich
>>> On 09.06.15 at 11:00, wrote: > On Tue, 2015-06-09 at 09:47 +0100, Jan Beulich wrote: >> Additionally rangeset_is_empty()'s sole parameter can be const. > > Isn't that true of all/most of the others touched here too? (Once the > underlying range_* list manipulations are made const correct). N

Re: [Xen-devel] [PATCH v6 COLO 06/15] libxc/save: support COLO save

2015-06-09 Thread Yang Hongyang
On 06/09/2015 05:10 PM, Andrew Cooper wrote: On 09/06/15 10:09, Yang Hongyang wrote: Shouldn't get_dirty_pfn be mandatory for COLO streams (even if it is a noop to start with) ? It should be mandatory, it shouldn't be noop under COLO. perhaps we should add sanity check at the beginnin

Re: [Xen-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Paul Durrant
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: 09 June 2015 10:13 > To: Don Slutz > Cc: qemu-de...@nongnu.org; xen-devel@lists.xen.org; Paul Durrant; > Stefano Stabellini > Subject: Re: [PATCH v2 0/4] Fix device listener interface for PCI to PCI > bridges

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

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

Re: [Xen-devel] [xen-unstable test] 57852: regressions - FAIL

2015-06-09 Thread Jan Beulich
>>> On 09.06.15 at 10:26, wrote: > On Mon, 2015-06-08 at 13:16 +0100, Ian Campbell wrote: > >> The adhoc run passed, but that's not statistically significant. > > I ran a bunch more in this no-apicv configuration, the logs are at > http://logs.test-lab.xenproject.org/osstest/logs/: > > Flight

Re: [Xen-devel] [PATCH RFC 0/4] 'reset everything' approach to PVHVM guest kexec

2015-06-09 Thread Wei Liu
On Tue, Jun 09, 2015 at 09:19:19AM +0100, Dave Scott wrote: > > > On 8 Jun 2015, at 18:43, Wei Liu wrote: > > > > On Mon, Jun 08, 2015 at 04:53:46PM +0100, Wei Liu wrote: > >> On Wed, Jun 03, 2015 at 03:35:18PM +0200, Vitaly Kuznetsov wrote: > >>> Jan and Tim, > >>> > >>> last week you expresse

Re: [Xen-devel] [PATCH RFC 0/4] 'reset everything' approach to PVHVM guest kexec

2015-06-09 Thread Wei Liu
On Tue, Jun 09, 2015 at 10:29:56AM +0100, Wei Liu wrote: [...] > > > + con.next_tid <- initial_next_tid > > > > I couldn’t spot the part in the C version where the next transaction id is > > reset — is this a (minor) difference between the two implementations, or > > have I misread the code? >

Re: [Xen-devel] [Xen-security-issues-discuss] Assigning of CVEs to XSAs

2015-06-09 Thread Ian Jackson
A security predisclosure list member wrote, to the mailing list xen-security-issues-discuss, an enquiry about how CVEs are allocated (particularly, the timing). There followed a thread on that list. That message (and the subsequent thread) were off-topic for Xen-security-issues-discuss and should

Re: [Xen-devel] [PATCH v2 4/5] libxl: change xs path for pv qemu

2015-06-09 Thread Wei Liu
On Mon, Jun 08, 2015 at 04:27:26PM +0100, Stefano Stabellini wrote: > On Mon, 8 Jun 2015, Wei Liu wrote: > > On Thu, Jun 04, 2015 at 12:28:18PM +0100, Stefano Stabellini wrote: > > > If QEMU is ran just to provide PV backends, change the xenstore path to > > > /local/domain/0/device-model/$DOMID/pv

Re: [Xen-devel] Clarifying the state of ARINC653 scheduler (and other components) in Xen 4.5 and beyond

2015-06-09 Thread Jan Beulich
>>> On 08.06.15 at 22:59, wrote: > On Mon, 2015-06-08 at 14:01 +0100, Lars Kurth wrote: >> > On 8 Jun 2015, at 13:19, Ian Campbell wrote: >> > >> > In MAINTAINERS S: Supported means: >> > >> > "Someone is actually paid to look after this.", which I think is >> > distinct from "This works well e

[Xen-devel] [PATCH OSSTEST] Ignore guest-stop failures for windows 7 tests.

2015-06-09 Thread Ian Campbell
As described in <1432284841.10746.136.ca...@citrix.com> / http://lists.xen.org/archives/html/xen-devel/2015-05/msg03016.html Windows 7 does not appear to reliably actually shutdown when asked to via the ACPI power button. This test step has been failing forever until the "Toolstack::xl: Support fo

Re: [Xen-devel] [PATCH OSSTEST] Ignore guest-stop failures for windows 7 tests.

2015-06-09 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] Ignore guest-stop failures for windows 7 tests."): > As described in <1432284841.10746.136.ca...@citrix.com> / > http://lists.xen.org/archives/html/xen-devel/2015-05/msg03016.html > Windows 7 does not appear to reliably actually shutdown when asked to > via th

Re: [Xen-devel] QEMU bumping memory bug analysis

2015-06-09 Thread George Dunlap
On 06/08/2015 05:06 PM, Don Slutz wrote: > On 06/08/15 11:37, George Dunlap wrote: We already have the problem that the balloon driver at the moment doesn't actually know how big the guest RAM is, nor , but is being told to make a balloon exactly big enough to bring the total RAM do

Re: [Xen-devel] [PATCH v2 5/5] libxl: spawns two QEMUs for HVM guests

2015-06-09 Thread Ian Jackson
Stefano Stabellini writes ("Re: [PATCH v2 5/5] libxl: spawns two QEMUs for HVM guests"): > On Mon, 8 Jun 2015, Ian Jackson wrote: > > I think the right answer is probably to start all the qemus in > > parallel, and count (or otherwise record) the spawn outcomes. > > They are already started in pa

Re: [Xen-devel] [PATCH RFC 0/4] 'reset everything' approach to PVHVM guest kexec

2015-06-09 Thread Dave Scott
> On 9 Jun 2015, at 10:38, Wei Liu wrote: > > On Tue, Jun 09, 2015 at 10:29:56AM +0100, Wei Liu wrote: > [...] + con.next_tid <- initial_next_tid >>> >>> I couldn’t spot the part in the C version where the next transaction id is >>> reset — is this a (minor) difference between the two im

Re: [Xen-devel] [PATCH v2 5/5] libxl: spawns two QEMUs for HVM guests

2015-06-09 Thread Ian Jackson
Ian Jackson writes ("Re: [PATCH v2 5/5] libxl: spawns two QEMUs for HVM guests"): > The spawn_outcome function does something like this: > >int worst_rc = 0; > >libxl_report_child_exitstatus(...) >dcs->qemus[myself]->rc = status ? ERROR_QEMU_DIED : 0; > >for (i=0

[Xen-devel] [PATCH] oxenstored: implement XS_RESET_WATCHES

2015-06-09 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: David Scott --- tools/ocaml/libs/xb/op.ml | 6 -- tools/ocaml/libs/xb/xb.mli | 1 + tools/ocaml/xenstored/connection.ml | 7 +++ tools/ocaml/xenstored/logging.ml| 1 + tools/ocaml/xenstored/process.ml| 6 ++ 5 files changed,

Re: [Xen-devel] QEMU bumping memory bug analysis

2015-06-09 Thread Stefano Stabellini
On Mon, 8 Jun 2015, George Dunlap wrote: > I think that qemu needs to tell libxl how much memory it is using for > all of its needs -- including option ROMs. (See my example below.) For > older qemus we can just make some assumptions like we always have. I'll just note that I have still not seen

Re: [Xen-devel] QEMU bumping memory bug analysis

2015-06-09 Thread Wei Liu
On Tue, Jun 09, 2015 at 11:00:12AM +0100, George Dunlap wrote: > >> I think that qemu needs to tell libxl how much memory it is using for > >> all of its needs -- including option ROMs. (See my example below.) For > >> older qemus we can just make some assumptions like we always have. > >> > > >

Re: [Xen-devel] [PATCH v4 0/9] add xenalyze to staging

2015-06-09 Thread Olaf Hering
On Wed, Jun 03, Julien Grall wrote: > xentrace is not working as we don't have the infrastructure for ARM in Xen. Why is that? After a very quick look __trace_var is available unconditionally. Olaf ___ Xen-devel mailing list Xen-devel@lists.xen.org ht

Re: [Xen-devel] [PATCH v4] efi: Avoid calling boot services after ExitBootServices()

2015-06-09 Thread Ross Lagerwall
ping On 06/02/2015 10:38 AM, Ross Lagerwall wrote: After the first call to ExitBootServices(), avoid calling any boot services by setting setting efi_bs to NULL and halting in blexit(). Signed-off-by: Ross Lagerwall --- * Separated halt into an arch hook. * Applies on top of the first patch f

Re: [Xen-devel] [PATCH OSSTEST v2] Stubdom test case

2015-06-09 Thread Ian Campbell
On Mon, 2015-06-08 at 20:54 +0100, Wei Liu wrote: > Currently only QEMU traditional supports stubdom, so we only create > > test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64 > test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm > test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64 > test-amd64-i386

Re: [Xen-devel] [PATCH v4 7/9] xenalyze: handle more events in sched_process

2015-06-09 Thread Olaf Hering
On Tue, Jun 02, George Dunlap wrote: > On 05/23/2015 09:24 AM, Olaf Hering wrote: > > void sched_process(struct pcpu_info *p) > > +fprintf(warn, "%s: event:%x (min:%x sub:%x main:%x)\n", > > +__func__, ri->event, ri->evt.minor, ri->evt.sub, > > ri->evt.main); > W

Re: [Xen-devel] [PATCH OSSTEST v2] Stubdom test case

2015-06-09 Thread Wei Liu
On Tue, Jun 09, 2015 at 11:36:35AM +0100, Ian Campbell wrote: > On Mon, 2015-06-08 at 20:54 +0100, Wei Liu wrote: > > Currently only QEMU traditional supports stubdom, so we only create > > > > test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64 > > test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-

Re: [Xen-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 09:18:49AM +, Paul Durrant wrote: > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: 09 June 2015 10:13 > > To: Don Slutz > > Cc: qemu-de...@nongnu.org; xen-devel@lists.xen.org; Paul Durrant; > > Stefano Stabellini > > Subject:

Re: [Xen-devel] xen-unstable build fails with XEN_DUMP_DIR undeclader in xl_cmdimpl.c

2015-06-09 Thread Fabio Fantoni
Il 09/06/2015 09:02, Olaf Hering ha scritto: On Mon, Jun 08, Fabio Fantoni wrote: I saw that config/Paths.mk contains: XEN_DUMP_DIR := /var/lib/xen/dump But build fails with: xl_cmdimpl.c: In function âhandle_domain_deathâ: xl_cmdimpl.c:2330:33: error: âXEN_DUMP_DIRâ undeclared (f

Re: [Xen-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Paul Durrant
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: 09 June 2015 11:52 > To: Paul Durrant > Cc: Don Slutz; qemu-de...@nongnu.org; xen-devel@lists.xen.org; Stefano > Stabellini > Subject: Re: [PATCH v2 0/4] Fix device listener interface for PCI to PCI > bridges

Re: [Xen-devel] [edk2] Question about PEX boot on Xen with OVMF as bios

2015-06-09 Thread Anthony PERARD
On Sun, Jun 07, 2015 at 01:22:46PM +0100, Wei Liu wrote: > On Tue, May 26, 2015 at 12:02:22PM +0200, Laszlo Ersek wrote: > > (3) Spelling out a special case of (2) -- there's no xen-netfront driver > > in OVMF. > > > > This is also correct. IIRC there is only Xen PV disk driver in OVMF. > I think

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

2015-06-09 Thread Lars Kurth
The vote carries with 1 x 0 4x +1 I am going to update the text now Regards Lars > On 8 Jun 2015, at 11:40, Ian Jackson wrote: > > Ian Campbell writes ("Re: [Formal Vote] Changes to Xen Project Security > Vulnerability Process - Open until June 8th, 2015"): >> On Mon, 2015-06-01 at 10:36 +0100

Re: [Xen-devel] [PATCH v4 0/9] add xenalyze to staging

2015-06-09 Thread Olaf Hering
On Tue, Jun 09, Olaf Hering wrote: > On Wed, Jun 03, Ian Campbell wrote: > > > On Sat, 2015-05-23 at 08:24 +, Olaf Hering wrote: > > > Having xenalyze in the source tree makes it much easier to keep private > > > debug code in hypervisor and xenalyze in sync. It helped alot while > > > debugg

Re: [Xen-devel] QEMU bumping memory bug analysis

2015-06-09 Thread George Dunlap
On 06/09/2015 11:14 AM, Stefano Stabellini wrote: > On Mon, 8 Jun 2015, George Dunlap wrote: >> I think that qemu needs to tell libxl how much memory it is using for >> all of its needs -- including option ROMs. (See my example below.) For >> older qemus we can just make some assumptions like we

Re: [Xen-devel] xen-unstable build fails with XEN_DUMP_DIR undeclader in xl_cmdimpl.c

2015-06-09 Thread Fabio Fantoni
Il 09/06/2015 12:54, Fabio Fantoni ha scritto: Il 09/06/2015 09:02, Olaf Hering ha scritto: On Mon, Jun 08, Fabio Fantoni wrote: I saw that config/Paths.mk contains: XEN_DUMP_DIR := /var/lib/xen/dump But build fails with: xl_cmdimpl.c: In function âhandle_domain_deathâ: xl_cmdimp

[Xen-devel] [PATCH v5 0/8] add xenalyze to staging

2015-06-09 Thread Olaf Hering
Having xenalyze in the source tree makes it much easier to keep private debug code in hypervisor and xenalyze in sync. It helped alot while debugging the root cause for commit 607e8494c42397fb249191904066cace6ac9a880. changes between v4 and v5: - fix typo in commit msg (traling) - use xen/trace.

[Xen-devel] [PATCH v5 8/8] xenalyze: remove argp_program_version

2015-06-09 Thread Olaf Hering
Since xenalyze is now upstream its Open Source and part of the given release. Signed-off-by: Olaf Hering Acked-by: George Dunlap Acked-by: Wei Liu Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/xentrace/xenalyze.c | 1 - 1 file changed, 1 deletion(-) diff --

[Xen-devel] [PATCH v5 5/8] xenalyze: handle TRC_TRACE_WRAP_BUFFER

2015-06-09 Thread Olaf Hering
Signed-off-by: Olaf Hering Acked-by: George Dunlap Acked-by: Wei Liu Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/xentrace/xenalyze.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c index fef8aea..1

[Xen-devel] [PATCH v5 4/8] xenalyze: include odd mmio states in default output

2015-06-09 Thread Olaf Hering
Signed-off-by: Olaf Hering Acked-by: George Dunlap Acked-by: Wei Liu Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/xentrace/xenalyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c in

[Xen-devel] [PATCH v5 3/8] xenalyze: print newline after unknown hvm events

2015-06-09 Thread Olaf Hering
Signed-off-by: Olaf Hering Acked-by: George Dunlap Acked-by: Wei Liu Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/xentrace/xenalyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c in

[Xen-devel] [PATCH v5 7/8] xenalyze: remove trailing whitespaces

2015-06-09 Thread Olaf Hering
Result of "sed -i 's@[[:blank:]]\+$@@' tools/xentrace/xenalyze.c" Signed-off-by: Olaf Hering Acked-by: George Dunlap Acked-by: Wei Liu Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/xentrace/xenalyze.c | 350 +++--- 1 f

[Xen-devel] [PATCH v5 6/8] xenalyze: handle more events in sched_process

2015-06-09 Thread Olaf Hering
Signed-off-by: Olaf Hering Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/xentrace/xenalyze.c | 73 ++- 1 file changed, 66 insertions(+), 7 deletions(-) diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze

[Xen-devel] [PATCH v5 2/8] xenalyze: increase NR_CPUS to 256

2015-06-09 Thread Olaf Hering
To match the hypervisor default which was introduced in 9da0c5b63933b9912e3903190601661813954d0d, bump the limit. Signed-off-by: Olaf Hering Acked-by: George Dunlap Acked-by: Wei Liu Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/xentrace/analyze.h | 2 +- 1

Re: [Xen-devel] [PATCH v2 4/5] libxl: change xs path for pv qemu

2015-06-09 Thread Stefano Stabellini
On Tue, 9 Jun 2015, Wei Liu wrote: > On Mon, Jun 08, 2015 at 04:27:26PM +0100, Stefano Stabellini wrote: > > On Mon, 8 Jun 2015, Wei Liu wrote: > > > On Thu, Jun 04, 2015 at 12:28:18PM +0100, Stefano Stabellini wrote: > > > > If QEMU is ran just to provide PV backends, change the xenstore path to >

Re: [Xen-devel] [PATCH v4 0/9] add xenalyze to staging

2015-06-09 Thread Julien Grall
Hi Olaf, On 09/06/2015 06:18, Olaf Hering wrote: On Wed, Jun 03, Julien Grall wrote: xentrace is not working as we don't have the infrastructure for ARM in Xen. Why is that? After a very quick look __trace_var is available unconditionally. Multiple reasons, the shared page for trace is not

Re: [Xen-devel] [PATCH v4 0/9] add xenalyze to staging

2015-06-09 Thread George Dunlap
On 06/09/2015 12:31 PM, Julien Grall wrote: > Hi Olaf, > > On 09/06/2015 06:18, Olaf Hering wrote: >> On Wed, Jun 03, Julien Grall wrote: >> >>> xentrace is not working as we don't have the infrastructure for ARM >>> in Xen. >> >> Why is that? After a very quick look __trace_var is available >> un

Re: [Xen-devel] [PATCH v2 4/5] libxl: change xs path for pv qemu

2015-06-09 Thread Stefano Stabellini
On Tue, 9 Jun 2015, Stefano Stabellini wrote: > On Tue, 9 Jun 2015, Wei Liu wrote: > > On Mon, Jun 08, 2015 at 04:27:26PM +0100, Stefano Stabellini wrote: > > > On Mon, 8 Jun 2015, Wei Liu wrote: > > > > On Thu, Jun 04, 2015 at 12:28:18PM +0100, Stefano Stabellini wrote: > > > > > If QEMU is ran ju

Re: [Xen-devel] [PATCH v2 4/5] libxl: change xs path for pv qemu

2015-06-09 Thread Wei Liu
On Tue, Jun 09, 2015 at 12:24:35PM +0100, Stefano Stabellini wrote: > On Tue, 9 Jun 2015, Wei Liu wrote: > > On Mon, Jun 08, 2015 at 04:27:26PM +0100, Stefano Stabellini wrote: > > > On Mon, 8 Jun 2015, Wei Liu wrote: > > > > On Thu, Jun 04, 2015 at 12:28:18PM +0100, Stefano Stabellini wrote: > > >

[Xen-devel] April and May Advisory Board Minutes published

2015-06-09 Thread Lars Kurth
Available in the usual place: http://wiki.xenproject.org/wiki/Xen_Project_Advisory_Board_Meetings_Minutes Lars___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.x

Re: [Xen-devel] [PATCH v4] efi: Avoid calling boot services after ExitBootServices()

2015-06-09 Thread Jan Beulich
>>> On 09.06.15 at 12:36, wrote: > ping I'm still waiting for the ARM maintainers to ack ... >> --- a/xen/arch/arm/efi/efi-boot.h >> +++ b/xen/arch/arm/efi/efi-boot.h >> @@ -522,6 +522,11 @@ static void __init efi_arch_blexit(void) >> efi_bs->FreePool(memmap); >> } >> >> +static void

Re: [Xen-devel] Xen 4.6 Development Update (five months reminder, 5 WEEKS TO FREEZE)

2015-06-09 Thread Daniel Kiper
On Fri, Jun 05, 2015 at 02:53:54PM +0100, wei.l...@citrix.com wrote: [...] > * Xen multiboot2-EFI support (ok) >See http://lists.xen.org/archives/html/xen-devel/2015-01/msg03962.html > http://lists.xen.org/archives/html/xen-devel/2015-01/msg03982.html > - Daniel Kiper Last week I alm

[Xen-devel] [PATCH] kexec: add more pages to v1 environment

2015-06-09 Thread Jan Beulich
Destination pages need mappings to be added to the page tables in the v1 case (where nothing else calls machine_kexec_add_page() for them). Further, without the tools mapping the low 1Mb (expected by at least some Linux version), we need to do so in the hypervisor in the v1 case. Suggested-by: Da

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

2015-06-09 Thread osstest service user
flight 58222 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/58222/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop fail REGR. vs. 57312 Tests which are failin

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

2015-06-09 Thread Major Hayden
On 06/09/2015 06:06 AM, Lars Kurth wrote: > The vote carries with > 1 x 0 > 4x +1 > I am going to update the text now > Regards > Lars Thanks for everyone's time and consideration! :) -- Major Hayden ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 10:58:26AM +, Paul Durrant wrote: > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: 09 June 2015 11:52 > > To: Paul Durrant > > Cc: Don Slutz; qemu-de...@nongnu.org; xen-devel@lists.xen.org; Stefano > > Stabellini > > Subject:

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

2015-06-09 Thread osstest service user
flight 58200 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/58200/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 9 windows-install fail REGR. vs. 58151 Regressions which ar

Re: [Xen-devel] [PATCH 3/5] xen/vm_event: Support for guest-requested events

2015-06-09 Thread Razvan Cojocaru
On 05/08/2015 07:50 PM, Andrew Cooper wrote: > On 06/05/15 18:12, Razvan Cojocaru wrote: >> diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c >> index 86f9885..8ad03c6 100644 >> --- a/xen/arch/x86/hvm/hvm.c >> +++ b/xen/arch/x86/hvm/hvm.c >> @@ -6267,6 +6267,10 @@ long do_hvm_op(unsigned

Re: [Xen-devel] [PATCH] Modified RTDS scheduler to use an event-driven model instead of polling.

2015-06-09 Thread Dario Faggioli
Hello Dagaen, Thanks for doing this. The first question I have is whether you run any test/benchmark that you can show the result of here. For instance, a few weeks ago, Meng (while trying to do a completely different thing) sent here on the list some numbers about the frequency of the scheduler

Re: [Xen-devel] [PATCH v4] efi: Avoid calling boot services after ExitBootServices()

2015-06-09 Thread Ian Campbell
On Tue, 2015-06-09 at 12:51 +0100, Jan Beulich wrote: > >>> On 09.06.15 at 12:36, wrote: > > ping > > I'm still waiting for the ARM maintainers to ack ... > > >> --- a/xen/arch/arm/efi/efi-boot.h > >> +++ b/xen/arch/arm/efi/efi-boot.h > >> @@ -522,6 +522,11 @@ static void __init efi_arch_blexit(

Re: [Xen-devel] QEMU bumping memory bug analysis

2015-06-09 Thread Ian Campbell
On Tue, 2015-06-09 at 11:14 +0100, Stefano Stabellini wrote: > I don't think that the current solution is inherently racy. If we are > really interested in an honest evaluation of the current solution in > terms of races, I would be happy to do so. Consider a domain with 1M of RAM (==target and ma

Re: [Xen-devel] [PATCH] kexec: add more pages to v1 environment

2015-06-09 Thread David Vrabel
On 09/06/15 13:03, Jan Beulich wrote: > Destination pages need mappings to be added to the page tables in the > v1 case (where nothing else calls machine_kexec_add_page() for them). > > Further, without the tools mapping the low 1Mb (expected by at least > some Linux version), we need to do so in

Re: [Xen-devel] [PATCH] kexec: add more pages to v1 environment

2015-06-09 Thread Andrew Cooper
On 09/06/15 13:03, Jan Beulich wrote: > Destination pages need mappings to be added to the page tables in the > v1 case (where nothing else calls machine_kexec_add_page() for them). > > Further, without the tools mapping the low 1Mb (expected by at least > some Linux version), we need to do so in t

Re: [Xen-devel] [PATCH v4] efi: Avoid calling boot services after ExitBootServices()

2015-06-09 Thread Ross Lagerwall
On 06/09/2015 01:53 PM, Ian Campbell wrote: On Tue, 2015-06-09 at 12:51 +0100, Jan Beulich wrote: On 09.06.15 at 12:36, wrote: ping I'm still waiting for the ARM maintainers to ack ... --- a/xen/arch/arm/efi/efi-boot.h +++ b/xen/arch/arm/efi/efi-boot.h @@ -522,6 +522,11 @@ static void __in

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

2015-06-09 Thread Shameerali Kolothum Thodi
Hi Julien/Zoli, >http://xenbits.xen.org/gitweb/?p=people/julieng/xen-unstable.git;a=shortlog;h=refs/heads/for-huawei/gicv2-on-gicv3 I had a run of this staging on our D01 board. Xen fails to boot with below error: (XEN) domain 0: vGIC requested is not supported (XEN) CPU0: Unexpected Trap: Data A

Re: [Xen-devel] [PATCH v4] efi: Avoid calling boot services after ExitBootServices()

2015-06-09 Thread Ian Campbell
On Tue, 2015-06-09 at 14:05 +0100, Ross Lagerwall wrote: > On 06/09/2015 01:53 PM, Ian Campbell wrote: > > On Tue, 2015-06-09 at 12:51 +0100, Jan Beulich wrote: > > On 09.06.15 at 12:36, wrote: > >>> ping > >> > >> I'm still waiting for the ARM maintainers to ack ... > >> > --- a/xen/arch

Re: [Xen-devel] [PATCH v4] efi: Avoid calling boot services after ExitBootServices()

2015-06-09 Thread Andrew Cooper
On 09/06/15 14:24, Ian Campbell wrote: > On Tue, 2015-06-09 at 14:05 +0100, Ross Lagerwall wrote: >> On 06/09/2015 01:53 PM, Ian Campbell wrote: >>> On Tue, 2015-06-09 at 12:51 +0100, Jan Beulich wrote: >>> On 09.06.15 at 12:36, wrote: > ping I'm still waiting for the ARM maintainers

Re: [Xen-devel] [PATCH 3/3] xen/block: add multi-page ring support

2015-06-09 Thread Konrad Rzeszutek Wilk
On Tue, Jun 09, 2015 at 08:52:53AM +, Paul Durrant wrote: > > -Original Message- > > From: Bob Liu [mailto:bob@oracle.com] > > Sent: 09 June 2015 09:50 > > To: Bob Liu > > Cc: xen-devel@lists.xen.org; David Vrabel; just...@spectralogic.com; > > konrad.w...@oracle.com; Roger Pau Monn

Re: [Xen-devel] [PATCH v4] efi: Avoid calling boot services after ExitBootServices()

2015-06-09 Thread Ian Campbell
On Tue, 2015-06-09 at 14:26 +0100, Andrew Cooper wrote: > On 09/06/15 14:24, Ian Campbell wrote: > > On Tue, 2015-06-09 at 14:05 +0100, Ross Lagerwall wrote: > >> On 06/09/2015 01:53 PM, Ian Campbell wrote: > >>> In terms of the rest of the patch, are those two places changed to use > >>> SystemTab

Re: [Xen-devel] [PATCH v6 0/2] kconfig: add xenconfig

2015-06-09 Thread Konrad Rzeszutek Wilk
On Mon, Jun 08, 2015 at 04:35:35PM -0700, Luis R. Rodriguez wrote: > On Thu, May 28, 2015 at 2:50 PM, Luis R. Rodriguez > wrote: > > On Thu, May 21, 2015 at 11:32 AM, Luis R. Rodriguez wrote: > >> On Thu, May 21, 2015 at 04:20:27PM +0800, Michal Marek wrote: > >>> Dne 21.5.2015 v 02:53 Luis R. Ro

Re: [Xen-devel] [PATCH 3/3] xen/block: add multi-page ring support

2015-06-09 Thread Bob Liu
On 06/09/2015 09:39 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Jun 09, 2015 at 08:52:53AM +, Paul Durrant wrote: >>> -Original Message- >>> From: Bob Liu [mailto:bob@oracle.com] >>> Sent: 09 June 2015 09:50 >>> To: Bob Liu >>> Cc: xen-devel@lists.xen.org; David Vrabel; just...@spec

[Xen-devel] [PATCH 0/4] misc EFI adjustments

2015-06-09 Thread Jan Beulich
1: x86/EFI: fix EFI_MEMORY_WP handling 2: EFI/early: add /mapbs to map EfiBootServices{Code,Data} 3: EFI: support default attributes to map Runtime service areas with none given 4: x86/EFI: adjust EFI_MEMORY_WP handling for spec version 2.5 Patches 2 and 3 are based on earlier work by Konrad. Si

Re: [Xen-devel] [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq server

2015-06-09 Thread Don Slutz
On 06/09/15 05:05, Paul Durrant wrote: >> -Original Message- >> From: Don Slutz [mailto:dsl...@verizon.com] >> Sent: 08 June 2015 22:19 >> To: qemu-de...@nongnu.org; xen-devel@lists.xen.org >> Cc: Michael S. Tsirkin; Paul Durrant; Stefano Stabellini; Don Slutz; Don >> Slutz >> Subject: [PA

[Xen-devel] [PATCH 1/4] x86/EFI: fix EFI_MEMORY_WP handling

2015-06-09 Thread Jan Beulich
Signed-off-by: Jan Beulich --- a/xen/common/efi/boot.c +++ b/xen/common/efi/boot.c @@ -1195,7 +1195,7 @@ void __init efi_init_memory(void) } if ( desc->Attribute & EFI_MEMORY_WP ) -prot &= _PAGE_RW; +prot &= ~_PAGE_RW; if ( desc->Attribute & EF

[Xen-devel] [PATCH 2/4] EFI/early: add /mapbs to map EfiBootServices{Code, Data}

2015-06-09 Thread Jan Beulich
From: Konrad Rzeszutek Wilk To help on certain platforms to run. Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Jan Beulich --- a/xen/arch/x86/efi/efi-boot.h +++ b/xen/arch/x86/efi/efi-boot.h @@ -148,12 +148,16 @@ static void __init efi_arch_process_memo switch ( desc->Type )

Re: [Xen-devel] [PATCH v2 2/4] Extend device listener interface for PCI to PCI bridges

2015-06-09 Thread Don Slutz
On 06/09/15 05:08, Paul Durrant wrote: >> -Original Message- >> From: Don Slutz [mailto:dsl...@verizon.com] >> Sent: 08 June 2015 22:19 >> To: qemu-de...@nongnu.org; xen-devel@lists.xen.org >> Cc: Michael S. Tsirkin; Paul Durrant; Stefano Stabellini; Don Slutz; Don >> Slutz >> Subject: [PA

[Xen-devel] [PATCH 3/4] EFI: support default attributes to map Runtime service areas with none given

2015-06-09 Thread Jan Beulich
From: Konrad Rzeszutek Wilk For example on Dell machines we see: (XEN) 0fed18000-0fed19fff type=11 attr=8000 (XEN) Unknown cachability for MFNs 0xfed18-0xfed19 Let's allow them to be mapped as UC. We also alter the 'efi-rs' to be 'efi=rs' or 'efi=no-rs'. Signed-off-by: Ko

  1   2   >