Re: [Xen-devel] [PATCH 01/44] kernel: Add support for poweroff handler call chain

2015-06-17 Thread Frans Klaver
On Thu, Jun 18, 2015 at 3:04 AM, Stephen Boyd wrote: > On 10/06/2014 10:28 PM, Guenter Roeck wrote: >> Various drivers implement architecture and/or device specific means to >> remove power from the system. For the most part, those drivers set the >> global variable pm_power_off to point to a fun

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

2015-06-17 Thread osstest service user
flight 58693 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/58693/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumpuserxen-amd64 15 rumpuserxen-demo-xenstorels/xenstorels.repeat fail REGR. vs.

Re: [Xen-devel] [v3][PATCH 07/16] hvmloader/pci: skip reserved ranges

2015-06-17 Thread Jan Beulich
>>> On 18.06.15 at 08:17, wrote: > On 2015/6/17 17:24, Jan Beulich wrote: > On 17.06.15 at 11:18, wrote: >>> On 2015/6/17 17:02, Jan Beulich wrote: >>> On 17.06.15 at 10:26, wrote: > Something hits me to generate another idea, > > #1. Still allocate all devices as before. >>>

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API [and 1 more messages]

2015-06-17 Thread Chun Yan Liu
>>> On 6/17/2015 at 06:27 PM, in message <55814b9f.6070...@eu.citrix.com>, >>> George Dunlap wrote: > On 06/17/2015 04:59 AM, Juergen Gross wrote: > > On 06/16/2015 06:34 PM, George Dunlap wrote: > >> On Tue, Jun 16, 2015 at 4:59 PM, Ian Jackson > >> wrote: > >>> George Dunlap writes ("Re

Re: [Xen-devel] [v3][PATCH 03/16] xen/vtd: create RMRR mapping

2015-06-17 Thread Chen, Tiejun
On 2015/6/17 18:03, Jan Beulich wrote: On 11.06.15 at 03:15, wrote: --- a/xen/arch/x86/mm/p2m.c +++ b/xen/arch/x86/mm/p2m.c @@ -927,10 +927,16 @@ int set_identity_p2m_entry(struct domain *d, unsigned long gfn, } gfn_unlock(p2m, gfn, 0); -return ret; } +el

Re: [Xen-devel] [PATCH v2 05/17] x86/hvm: unify stdvga mmio intercept with standard mmio intercept

2015-06-17 Thread Jan Beulich
>>> On 17.06.15 at 18:30, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 17 June 2015 16:51 >> >>> On 11.06.15 at 17:42, wrote: >> > --- a/xen/arch/x86/hvm/emulate.c >> > +++ b/xen/arch/x86/hvm/emulate.c >> > @@ -273,6 +273,15 @@ static int hvmemul_acquire_page(unsigned long >> g

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-17 Thread Chun Yan Liu
>>> On 6/17/2015 at 07:34 PM, in message >>> <1434540857.13744.334.ca...@citrix.com>, Ian Campbell wrote: > On Tue, 2015-06-16 at 16:20 +0200, Juergen Gross wrote: > > My point was to avoid the sysfs accesses in libxl in order to support > > BSD as well and to reduce the complexity. > > A

Re: [Xen-devel] [v3][PATCH 07/16] hvmloader/pci: skip reserved ranges

2015-06-17 Thread Chen, Tiejun
On 2015/6/17 17:24, Jan Beulich wrote: On 17.06.15 at 11:18, wrote: On 2015/6/17 17:02, Jan Beulich wrote: On 17.06.15 at 10:26, wrote: Something hits me to generate another idea, #1. Still allocate all devices as before. #2. Lookup all actual bars to check if they're conflicting RMRR We c

Re: [Xen-devel] [PATCH RFC v1] libxl: Introduce a template for devices with a controller

2015-06-17 Thread Olaf Hering
On Wed, Jun 17, Ian Campbell wrote: > So, Olaf, ping... I will return to pvscsi work next week. Olaf ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH RFC v1] libxl: Introduce a template for devices with a controller

2015-06-17 Thread Chun Yan Liu
>>> On 6/17/2015 at 07:06 PM, in message >>> <1434539195.13744.321.ca...@citrix.com>, Ian Campbell wrote: > On Thu, 2015-05-21 at 18:07 +0100, George Dunlap wrote: > > We have several outstanding patch series which add devices that have > > two levels: a controller and individual devices att

[Xen-devel] [ovmf test] 58681: tolerable FAIL - PUSHED

2015-06-17 Thread osstest service user
flight 58681 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/58681/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail like 58640 test-amd64-i386-xl-qemuu-win7-amd64 1

[Xen-devel] [xen-4.2-testing test] 58678: FAIL

2015-06-17 Thread osstest service user
flight 58678 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/58678/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 3 host-install(3) broken in 58584 REGR. vs. 584

Re: [Xen-devel] [PATCH 3.4 000/172] 3.4.108-rc1 review

2015-06-17 Thread Zefan Li
On 2015/6/16 23:13, Ian Campbell wrote: > On Tue, 2015-06-16 at 16:33 +0800, l...@kernel.org wrote: >> From: Zefan Li >> >> This is the start of the stable review cycle for the 3.4.108 release. >> There are 172 patches in this series, all will be posted as a response >> to this one. If anyone has

Re: [Xen-devel] [PATCH 23/27] tools/libxl: [RFC] Write checkpoint records into the stream

2015-06-17 Thread Wen Congyang
On 06/15/2015 09:44 PM, Andrew Cooper wrote: > when signalled to do so by libxl__remus_domain_checkpoint_callback() > > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > --- > tools/libxl/libxl_dom.c | 16 +++--- > tools/libxl/libxl_internal.h |

Re: [Xen-devel] [PATCH 03/27] tools/libxl: Stash all restore parameters in domain_create_state

2015-06-17 Thread Yang Hongyang
On 06/15/2015 09:44 PM, Andrew Cooper wrote: Shortly more parameters will appear, and this saves unboxing each one. No functional change. Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Reviewed-by: Yang Hongyang --- tools/libxl/libxl_create.c | 12

Re: [Xen-devel] [PATCH 01/44] kernel: Add support for poweroff handler call chain

2015-06-17 Thread Stephen Boyd
On 10/06/2014 10:28 PM, Guenter Roeck wrote: > Various drivers implement architecture and/or device specific means to > remove power from the system. For the most part, those drivers set the > global variable pm_power_off to point to a function within the driver. > > This mechanism has a number of

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

2015-06-17 Thread osstest service user
flight 58676 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/58676/ 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

[Xen-devel] [qemu-mainline test] 58672: regressions - trouble: blocked/broken/fail/pass

2015-06-17 Thread osstest service user
flight 58672 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/58672/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 4 host-build-prep fail REGR. vs. 58551 test-amd64-i386-xl-

Re: [Xen-devel] [PATCH 1/2 linux-next] Revert "ufs: fix deadlocks introduced by sb mutex merge"

2015-06-17 Thread Al Viro
On Wed, Jun 17, 2015 at 10:57:15AM +0200, Jan Kara wrote: > > Joy... Folks, is anybody actively maintaining fs/ufs these days? > > Looking into the changelog there wasn't anyone seriously looking into UFS > for at least 5-6 years... Fabian did some cleanups recently but they were > mostly cosmeti

Re: [Xen-devel] [PATCH] oxenstored: fix del_watches and del_transactions

2015-06-17 Thread Dave Scott
> On 17 Jun 2015, at 20:39, Wei Liu wrote: > > The statement to reset nb_watches should be in del_watches, not > del_transactions. > > Signed-off-by: Wei Liu > Cc: David Scott > --- > It was only until Ian applied previous patch that I discovered this > copy-n-paste error. Sorry about this.

[Xen-devel] race condition in xen-gntdev (was: Re: gntdev/gntalloc and fork? - crash in gntdev)

2015-06-17 Thread Marek Marczykowski-Górecki
On Thu, May 28, 2015 at 01:45:08AM +0200, Marek Marczykowski-Górecki wrote: > On Thu, Apr 30, 2015 at 04:47:44PM +0200, Marek Marczykowski-Górecki wrote: > > Hi, > > > > What is the proper way to handle shared pages (either side - using > > gntdev or gntalloc) regarding fork and possible exec late

[Xen-devel] [PATCH] oxenstored: fix del_watches and del_transactions

2015-06-17 Thread Wei Liu
The statement to reset nb_watches should be in del_watches, not del_transactions. Signed-off-by: Wei Liu Cc: David Scott --- It was only until Ian applied previous patch that I discovered this copy-n-paste error. Sorry about this. --- tools/ocaml/xenstored/connection.ml | 2 +- 1 file changed,

[Xen-devel] [linux-next test] 58666: regressions - FAIL

2015-06-17 Thread osstest service user
flight 58666 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/58666/ 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. 58620 Regressions which are

[Xen-devel] [xen-unstable test] 58663: tolerable FAIL - PUSHED

2015-06-17 Thread osstest service user
flight 58663 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/58663/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-credit2 6 xen-boot fail in 58618 pass in 58663 test-amd64-i386-xl-qemuu-win7-amd6

[Xen-devel] [qemu-mainline bisection] complete build-amd64

2015-06-17 Thread osstest service user
branch xen-unstable xen branch xen-unstable job build-amd64 test xen-build Tree: qemu git://xenbits.xen.org/staging/qemu-xen-unstable.git Tree: qemuu git://git.qemu.org/qemu.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: qemuu git://

[Xen-devel] [OSSTEST PATCH 25/25] cri-args-hostlists: Run sg-report-host-history

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson --- cri-args-hostlists |5 + 1 file changed, 5 insertions(+) diff --git a/cri-args-hostlists b/cri-args-hostlists index 08e733d..a4e57b3 100644 --- a/cri-args-hostlists +++ b/cri-args-hostlists @@ -108,6 +108,7 @@ start_email () { local flight_html_di

[Xen-devel] [OSSTEST PATCH 23/25] sg-report-host-history: Show "running" jobs as "incomplete"

2015-06-17 Thread Ian Jackson
Since they may in fact be abandoned. Signed-off-by: Ian Jackson --- sg-report-host-history |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sg-report-host-history b/sg-report-host-history index cd9ec61..ad9f248 100755 --- a/sg-report-host-history +++ b/sg-report-host-histor

[Xen-devel] [OSSTEST PATCH 14/25] reporting: sg-report-flight should ignore missing jobs

2015-06-17 Thread Ian Jackson
The function findaflight should not, when the caller specifies a job, find a flight which does not contain that job at all. One effect of allowing it to find such flights is that it might find a bisection flight and try to use it as a basis for claiming a regression, or as a justification for some

[Xen-devel] [OSSTEST PATCH 22/25] sg-report-host-history: Move per-row endedq query into per-host transaction

2015-06-17 Thread Ian Jackson
No substantial change, but reduces the work done in the main transaction. Signed-off-by: Ian Jackson --- sg-report-host-history | 46 -- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/sg-report-host-history b/sg-report-host-history i

[Xen-devel] [OSSTEST PATCH 16/25] sg-report-host-history: Break out computeflightsrange

2015-06-17 Thread Ian Jackson
To do database locking coherently, it will be convenient to have this in a function. No functional change. Signed-off-by: Ian Jackson --- sg-report-host-history | 65 +--- 1 file changed, 34 insertions(+), 31 deletions(-) diff --git a/sg-report-hos

[Xen-devel] [OSSTEST PATCH 10/25] reporting: Add colours as optional export tag, and provide $blue

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- Osstest/Executive.pm |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index 90c615a..6edbfee 100644 --- a/Osstest/Executive.pm +++ b/Osstest/Executive.pm @@ -52,9 +52,9 @@

[Xen-devel] [OSSTEST PATCH 24/25] sg-report-host-history: Make --html-dir have to be host/

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson --- sg-report-host-history |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sg-report-host-history b/sg-report-host-history index ad9f248..f4e73e9 100755 --- a/sg-report-host-history +++ b/sg-report-host-history @@ -136,7 +136,7 @@ sub reporthost (

[Xen-devel] [OSSTEST PATCH 20/25] sg-report-host-history: Support flight:FLIGHT

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson --- sg-report-host-history | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/sg-report-host-history b/sg-report-host-history index 8a4d40f..b3ef63e 100755 --- a/sg-report-host-history +++ b/sg-report-host-history @@ -162,6 +162

[Xen-devel] [OSSTEST PATCH 02/25] sg-report-job-history: Use db_prepare

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- sg-report-job-history | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sg-report-job-history b/sg-report-job-history index 409e3d5..e285caa 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@

[Xen-devel] [OSSTEST PATCH 11/25] reporting: Show slightly better info for broken jobs

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson --- Osstest/Executive.pm |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index 6edbfee..6c16fdd 100644 --- a/Osstest/Executive.pm +++ b/Osstest/Executive.pm @@ -204,7 +204,8 @@ sub report_run_ge

[Xen-devel] [OSSTEST PATCH 17/25] sg-report-host-history: Move query preparation into jobquery

2015-06-17 Thread Ian Jackson
To get the scope of database locking, and of the SET LOCAL workaround, right, it is convenient to move these query preparations into the jobquery function. No functional change. Signed-off-by: Ian Jackson --- sg-report-host-history | 68 1 file

[Xen-devel] [OSSTEST PATCH 08/25] sg-report-job-history: Show start time

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- sg-report-job-history |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sg-report-job-history b/sg-report-job-history index 76cb146..bbb85fd 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -251,7 +

[Xen-devel] [OSSTEST PATCH 00/25] Reporting improvements

2015-06-17 Thread Ian Jackson
Most of the early part of this series is straightforward (and acked) and could go in whenever. Patches 15-24 introduce sg-report-host-history. It's probably easiest to simply review the final version of the script, which can be found below. The history is preserved mostly for archeological purpo

[Xen-devel] [OSSTEST PATCH 19/25] sg-report-host-history: Use a hash for hosts

2015-06-17 Thread Ian Jackson
This will allow deduplication. No functional change other than a change to the order of processing. Signed-off-by: Ian Jackson --- sg-report-host-history |6 ++ 1 file changed, 6 insertions(+) diff --git a/sg-report-host-history b/sg-report-host-history index 5a3f8be..8a4d40f 100755 --

[Xen-devel] [OSSTEST PATCH 15/25] sg-report-host-history: Introduce new script

2015-06-17 Thread Ian Jackson
This script is still a work in progress. It does currently mostly work and can generate a useful report. However, it needs: * Some database locking (to avoid deadlock errors) * A --flight= option to make it automatically report host usage for all hosts touched in a flight, for the use of cr

[Xen-devel] [OSSTEST PATCH 21/25] sg-report-host-history: Aggregate runvars query for all hosts

2015-06-17 Thread Ian Jackson
This is much faster. It might short-change unpopular hosts rather; hence the change of the limit fudge factor from 2 to 3. Signed-off-by: Ian Jackson --- sg-report-host-history | 96 +++- 1 file changed, 55 insertions(+), 41 deletions(-) diff --git

[Xen-devel] [OSSTEST PATCH 06/25] sg-report-job-history: Slightly prettify sql

2015-06-17 Thread Ian Jackson
No functional change apart from slightly better debug output. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- sg-report-job-history |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sg-report-job-history b/sg-report-job-history index f5f3496..e4f35bf 100755 --- a/s

[Xen-devel] [OSSTEST PATCH 13/25] reporting: Move bisection report outputs

2015-06-17 Thread Ian Jackson
Replace some `.'s in filenames with `/'s, making the directory listings easier to deal with. (I haven't been able to conveniently do a proper test of this change, but I have dry-run the critical parts.) Signed-off-by: Ian Jackson --- cri-bisect |3 ++- 1 file changed, 2 insertions(+), 1 del

[Xen-devel] [OSSTEST PATCH 18/25] sg-report-host-history: Move database manipulations

2015-06-17 Thread Ian Jackson
Arrange for the SET LOCAL to have the right scope. Run computeflightsrange, and reporthost, each within a db transaction, with an appropriate lock. Signed-off-by: Ian Jackson --- sg-report-host-history | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/

[Xen-devel] [OSSTEST PATCH 04/25] sg-report-flight: Use db_prepare

2015-06-17 Thread Ian Jackson
And do away with two commented-out ad-hoc statement dumps. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- sg-report-flight | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index 80777af..bdaf1c8 10075

[Xen-devel] [OSSTEST PATCH 12/25] reporting: Move job histories into history/

2015-06-17 Thread Ian Jackson
Replace some `.'s in HTML filenames with `/'s, making the directory listings easier to deal with. Signed-off-by: Ian Jackson --- sg-report-flight |4 ++-- sg-report-job-history | 10 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sg-report-flight b/sg-report

[Xen-devel] [OSSTEST PATCH 01/25] Osstest.pm: Provide new db_prepare helper with built-in debugging

2015-06-17 Thread Ian Jackson
No callers, so no functional change, as yet. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- Osstest.pm |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index e8bd77b..7d6949f 100644 --- a/Osstest.pm +++ b/Osstest.pm @@ -35,7 +35,7 @@

[Xen-devel] [OSSTEST PATCH 03/25] cs-bisection-step: Use db_prepare

2015-06-17 Thread Ian Jackson
And do away with one ad-hoc statement dump. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- cs-bisection-step | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/cs-bisection-step b/cs-bisection-step index 67a92b7..bf41f81 100755 --- a/cs-bisectio

[Xen-devel] [OSSTEST PATCH 07/25] sg-report-job-history: Cope if history too short

2015-06-17 Thread Ian Jackson
If there have been less than 99 relevant flights, the inner SELECT (to determine the minimum flight number) would return NULL. And anything > NULL is NULL and NULL is treated as false. So the host runvar identification would break. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- sg-repo

[Xen-devel] [OSSTEST PATCH 05/25] sg-report-job-history: Add a debugging statement

2015-06-17 Thread Ian Jackson
Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- sg-report-job-history |2 ++ 1 file changed, 2 insertions(+) diff --git a/sg-report-job-history b/sg-report-job-history index e285caa..f5f3496 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -150,6 +150,8 @@ sub altcolo

[Xen-devel] [OSSTEST PATCH 09/25] reporting: Move report_run_getinfo and some colours into Executive.pm

2015-06-17 Thread Ian Jackson
This is to support a forthcoming sg-report-host-history. No functional change. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- Osstest/Executive.pm | 45 + sg-report-job-history | 48 2 file

Re: [Xen-devel] [PATCH v2 05/17] x86/hvm: unify stdvga mmio intercept with standard mmio intercept

2015-06-17 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 17 June 2015 16:51 > To: Paul Durrant > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v2 05/17] x86/hvm: unify stdvga mmio intercept with > standard mmio intercept > > >>>

Re: [Xen-devel] [PATCH v2 05/17] x86/hvm: unify stdvga mmio intercept with standard mmio intercept

2015-06-17 Thread Jan Beulich
>>> On 11.06.15 at 17:42, wrote: > It's clear from the following check in hvmemul_rep_movs: > > if ( sp2mt == p2m_mmio_direct || dp2mt == p2m_mmio_direct || > (sp2mt == p2m_mmio_dm && dp2mt == p2m_mmio_dm) ) > return X86EMUL_UNHANDLEABLE; > > that mmio <-> mmio copy is not h

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

2015-06-17 Thread Chong Li
On Wed, Jun 17, 2015 at 7:32 AM, Dario Faggioli wrote: > On Wed, 2015-06-17 at 13:08 +0100, Ian Campbell wrote: >> On Tue, 2015-06-09 at 18:18 +0200, Dario Faggioli wrote: >> > On Mon, 2015-06-08 at 15:55 -0500, Chong Li wrote: >> > > On Mon, Jun 8, 2015 at 10:56 AM, Dario Faggioli >> > > >> For s

Re: [Xen-devel] [PATCH v2 0/7] xen: Clean up

2015-06-17 Thread David Vrabel
On 17/06/15 15:28, Julien Grall wrote: > Hi, > > Thoses patches was originally part of the Xen 64KB series [1]. Although, > I think they can go without waiting the rest of the 64KB series. > > Patch #1-#4 should go through the Xen tree, even though patch #1 touches > multiple part. > > Patch #5-

Re: [Xen-devel] [PATCH] gnttab: fix out of range shift count

2015-06-17 Thread Andrew Cooper
On 17/06/15 16:26, Jan Beulich wrote: > Commit 213f145114 ("gnttab: fix/adjust gnttab_transfer()") wasn't > careful enough in this regard. > > Coverity ID: 1306859 > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper > > --- a/xen/common/grant_table.c > +++ b/xen/common/grant_table.c > @@ -1

[Xen-devel] [PATCH] gnttab: fix out of range shift count

2015-06-17 Thread Jan Beulich
Commit 213f145114 ("gnttab: fix/adjust gnttab_transfer()") wasn't careful enough in this regard. Coverity ID: 1306859 Signed-off-by: Jan Beulich --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -1726,7 +1726,8 @@ gnttab_transfer( max_bitsize = domain_clamp_alloc_bitsize(

Re: [Xen-devel] [PATCH v2 04/17] x86/hvm: unify dpci portio intercept with standard portio intercept

2015-06-17 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 17 June 2015 15:58 > To: Paul Durrant > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: RE: [PATCH v2 04/17] x86/hvm: unify dpci portio intercept with > standard portio intercept > > >>

Re: [Xen-devel] [PATCH] xen/efi: Add /mapres to map EfiReservedMemoryType for runtime services

2015-06-17 Thread Jan Beulich
>>> On 17.06.15 at 15:46, wrote: > @@ -763,6 +764,8 @@ static int __init __maybe_unused set_color(u32 mask, int > bpp, u8 *pos, u8 *sz) > base_video = 1; > else if ( wstrcmp(ptr + 1, L"mapbs") == 0 ) > map_bs = 1; > +else

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

2015-06-17 Thread Stefano Stabellini
On Wed, 13 May 2015, Ian Jackson wrote: > 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

Re: [Xen-devel] [PATCH OSSTEST v3 06/11] Cope with Jessie's d-i vg name

2015-06-17 Thread Wei Liu
On Wed, Jun 17, 2015 at 03:42:57PM +0100, Wei Liu wrote: > On Wed, Jun 17, 2015 at 03:22:09PM +0100, Ian Campbell wrote: > > On Wed, 2015-06-17 at 14:06 +0100, Wei Liu wrote: > > > In Jessie the default vg name is changed to "$hostname-vg". Make that > > > default case and check for wheezy, squeeze

Re: [Xen-devel] xen on J6 evm - console not responding

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 15:55 +0100, Ian Campbell wrote: > On Wed, 2015-06-17 at 14:42 +, Korupol, Naveen (EXT) wrote: > > Does Xen see the keypresses, i.e. can you press Ctrl-A three times and > > get a response? > > No: Ctrl-A does not work either. > > OK, that indicates an issue with the ser

Re: [Xen-devel] xen on J6 evm - console not responding

2015-06-17 Thread Korupol, Naveen (EXT)
Hi Ian Here is the complete boot up log: Thanks Naveen U-Boot SPL 2015.04-rc1 (Mar 10 2015 - 13:35:08) DRA752 ES1.1 reading args spl_load_image_fat_os: error reading image args, err - -1 reading u-boot.img reading u-boot.img U-Boot 2015.04-rc1 (Mar 10 2015 - 13:35:08) CPU : DRA752 ES1.1 Boar

Re: [Xen-devel] [PATCH v2 01/17] x86/hvm: simplify hvmemul_do_io()

2015-06-17 Thread Jan Beulich
>>> On 17.06.15 at 16:55, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 17 June 2015 15:48 >> >>> On 17.06.15 at 15:54, wrote: >> >> -Original Message- >> >> From: Jan Beulich [mailto:jbeul...@suse.com] >> >> Sent: 17 June 2015 14:31 >> >> >>> On 11.06.15 at 17:42, wro

Re: [Xen-devel] [PATCH v2 04/17] x86/hvm: unify dpci portio intercept with standard portio intercept

2015-06-17 Thread Jan Beulich
>>> On 17.06.15 at 16:46, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 17 June 2015 15:37 >> >>> On 11.06.15 at 17:42, wrote: >> > + found: >> > +mport = (gport - start) + g2m_ioport->mport; >> > + >> > +if ( !ioports_access_permitted(current->domain, mport, >> >> Isn'

Re: [Xen-devel] [PATCH RFC 5/5] libxl/FreeBSD: add support for disk hotplug scripts

2015-06-17 Thread Roger Pau Monné
El 17/06/15 a les 15.23, Ian Campbell ha escrit: > On Fri, 2015-05-22 at 11:18 +0200, Roger Pau Monne wrote: >> Allow FreeBSD to execute hotplug scripts when attaching disk devices. >> >> Signed-off-by: Roger Pau Monné > > This looks rather similar to the code for Linux, is there any chance > the

[Xen-devel] [libvirt test] 58643: tolerable FAIL - PUSHED

2015-06-17 Thread osstest service user
flight 58643 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/58643/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-libvirt-xsm 11 guest-start fail like 58510 test-amd64-i386-libvirt 11 gu

Re: [Xen-devel] [PATCH v2 01/17] x86/hvm: simplify hvmemul_do_io()

2015-06-17 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 17 June 2015 15:48 > To: Paul Durrant > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: RE: [PATCH v2 01/17] x86/hvm: simplify hvmemul_do_io() > > >>> On 17.06.15 at 15:54, wrote: > >>

Re: [Xen-devel] [PATCH v2 03/17] x86/hvm: unify internal portio and mmio intercepts

2015-06-17 Thread Jan Beulich
>>> On 17.06.15 at 16:40, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 17 June 2015 15:23 >> >>> On 11.06.15 at 17:42, wrote: >> > +case IOREQ_TYPE_COPY: >> > +if ( p->df ) >> > { >> > -if ( vio->mmio_large_read_bytes != p->size

Re: [Xen-devel] xen on J6 evm - console not responding

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 14:42 +, Korupol, Naveen (EXT) wrote: > Does Xen see the keypresses, i.e. can you press Ctrl-A three times and > get a response? > No: Ctrl-A does not work either. OK, that indicates an issue with the serial port rather than anything to do with the dom0 configuration. I

Re: [Xen-devel] [PATCH v2 01/17] x86/hvm: simplify hvmemul_do_io()

2015-06-17 Thread Jan Beulich
>>> On 17.06.15 at 15:54, wrote: >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 17 June 2015 14:31 >> >>> On 11.06.15 at 17:42, wrote: >> > @@ -190,7 +141,12 @@ static int hvmemul_do_io( >> > p.count = *reps; >> > >> > if ( dir == IOREQ_WRITE ) >

Re: [Xen-devel] xen on J6 evm - console not responding

2015-06-17 Thread Korupol, Naveen (EXT)
Hi Ian, hvc0::respawn:/sbin/getty 115200 hvc0 is on a new line in /etc/inittab Naveen ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v2 04/17] x86/hvm: unify dpci portio intercept with standard portio intercept

2015-06-17 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 17 June 2015 15:37 > To: Paul Durrant > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v2 04/17] x86/hvm: unify dpci portio intercept with > standard portio intercept > > >>

Re: [Xen-devel] xen on J6 evm - console not responding

2015-06-17 Thread Korupol, Naveen (EXT)
Hi Ian Here is the information: /etc/inittab # Boot-time system configuration/initialization script. # This is run first except when booting in single-user mode. # ::sysinit:/etc/rc # /bin/sh invocations on selected ttys # # Note below that we prefix the shell commands with a "-" to indicate to

Re: [Xen-devel] [PATCH OSSTEST v3 06/11] Cope with Jessie's d-i vg name

2015-06-17 Thread Wei Liu
On Wed, Jun 17, 2015 at 03:22:09PM +0100, Ian Campbell wrote: > On Wed, 2015-06-17 at 14:06 +0100, Wei Liu wrote: > > In Jessie the default vg name is changed to "$hostname-vg". Make that > > default case and check for wheezy, squeeze and lenny for backward > > compatibility. > > > > Signed-off-by

Re: [Xen-devel] [PATCH v2 03/17] x86/hvm: unify internal portio and mmio intercepts

2015-06-17 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 17 June 2015 15:23 > To: Paul Durrant > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v2 03/17] x86/hvm: unify internal portio and mmio > intercepts > > >>> On 11.06.15 at

Re: [Xen-devel] [PATCH v2 04/17] x86/hvm: unify dpci portio intercept with standard portio intercept

2015-06-17 Thread Jan Beulich
>>> On 11.06.15 at 17:42, wrote: > --- a/xen/arch/x86/hvm/io.c > +++ b/xen/arch/x86/hvm/io.c > @@ -208,185 +208,113 @@ void hvm_io_assist(ioreq_t *p) > } > } > > -static int dpci_ioport_read(uint32_t mport, ioreq_t *p) > +static bool_t dpci_portio_accept(struct hvm_io_handler *io_handler,

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1

2015-06-17 Thread Stefano Stabellini
On Wed, 17 Jun 2015, Ian Campbell wrote: > On Wed, 2015-06-17 at 07:14 -0700, Manish Jaggi wrote: > > > > On Wednesday 17 June 2015 06:43 AM, Ian Campbell wrote: > > > On Wed, 2015-06-17 at 13:58 +0100, Stefano Stabellini wrote: > > >> Yes, pciback is already capable of doing that, see > > >> driv

Re: [Xen-devel] xen on J6 evm - console not responding

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 14:04 +, Korupol, Naveen (EXT) wrote: > Hi Ian > > I have Xen and Dom-0 booting up in a stable state on a J6 evm board. > I can see xl commands responding correctly from the scripts too, > But I cannot enter the login name at the login prompt from a getty setup in > init

[Xen-devel] [ovmf test] 58640: tolerable FAIL - PUSHED

2015-06-17 Thread osstest service user
flight 58640 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/58640/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail like 58433 test-amd64-i386-xl-qemuu-win7-amd64 1

[Xen-devel] [PATCH v2 2/7] xen/xenbus: client: Fix call of virt_to_mfn in xenbus_grant_ring

2015-06-17 Thread Julien Grall
virt_to_mfn should take a void* rather an unsigned long. While it doesn't really matter now, it would throw a compiler warning later when virt_to_mfn will enforce the type. At the same time, avoid to compute new virtual address every time in the loop and directly increment the parameter as we don'

[Xen-devel] [PATCH v2 5/7] block/xen-blkfront: Remove unused macro MAXIMUM_OUTSTANDING_BLOCK_REQS

2015-06-17 Thread Julien Grall
From: Julien Grall Signed-off-by: Julien Grall Acked-by: Roger Pau Monné Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Cc: David Vrabel --- Changes in v2: - Add Roger's Acked-by --- drivers/block/xen-blkfront.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/block/

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 07:14 -0700, Manish Jaggi wrote: > > On Wednesday 17 June 2015 06:43 AM, Ian Campbell wrote: > > On Wed, 2015-06-17 at 13:58 +0100, Stefano Stabellini wrote: > >> Yes, pciback is already capable of doing that, see > >> drivers/xen/xen-pciback/conf_space.c > >> > >>> I am not

[Xen-devel] [PATCH v2 7/7] block/xen-blkback: s/nr_pages/nr_segs/

2015-06-17 Thread Julien Grall
From: Julien Grall Make the code less confusing to read now that Linux may not have the same page size as Xen. Signed-off-by: Julien Grall Acked-by: Roger Pau Monné Cc: Konrad Rzeszutek Wilk --- Changes in v2: - Add Roger's Acked-by --- drivers/block/xen-blkback/blkback.c | 10 +

[Xen-devel] [PATCH v2 4/7] arm/xen: Drop duplicate define mfn_to_virt

2015-06-17 Thread Julien Grall
From: Julien Grall Signed-off-by: Julien Grall Cc: Stefano Stabellini --- arch/arm/include/asm/xen/page.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/xen/page.h b/arch/arm/include/asm/xen/page.h index 0b579b2..1bee8ca 100644 --- a/arch/arm/include/asm/xen/page.h +++

[Xen-devel] [PATCH v2 1/7] xen: Include xen/page.h rather than asm/xen/page.h

2015-06-17 Thread Julien Grall
Using xen/page.h will be necessary later for using common xen page helpers. As xen/page.h already include asm/xen/page.h, always use the later. Signed-off-by: Julien Grall Reviewed-by: David Vrabel Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu Cc: Konrad Rzeszutek Wilk Cc: Boris Ostro

[Xen-devel] [PATCH v2 0/7] xen: Clean up

2015-06-17 Thread Julien Grall
Hi, Thoses patches was originally part of the Xen 64KB series [1]. Although, I think they can go without waiting the rest of the 64KB series. Patch #1-#4 should go through the Xen tree, even though patch #1 touches multiple part. Patch #5-#7 should go through the Block tree. Regards, [1] http:

[Xen-devel] [PATCH v2 6/7] block/xen-blkfront: Remove invalid comment

2015-06-17 Thread Julien Grall
From: Julien Grall Since commit b764915 "xen-blkfront: use a different scatterlist for each request", biovec has been replaced by scatterlist when copying back the data during a completion request. Signed-off-by: Julien Grall Acked-by: Roger Pau Monné Cc: Konrad Rzeszutek Wilk Cc: Boris Ostro

[Xen-devel] [PATCH v2 3/7] xen/grant-table: Remove unused macro SPP

2015-06-17 Thread Julien Grall
SPP was used by the grant table v2 code which has been removed in commit 438b33c7145ca8a5131a30c36d8f59bce119a19a "xen/grant-table: remove support for V2 tables". Signed-off-by: Julien Grall Reviewed-by: David Vrabel Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky --- Changes in v2:

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 15:18 +0100, Stefano Stabellini wrote: > On Wed, 17 Jun 2015, Ian Campbell wrote: > > On Wed, 2015-06-17 at 14:40 +0100, Stefano Stabellini wrote: > > > On Wed, 17 Jun 2015, Ian Campbell wrote: > > > > On Wed, 2015-06-17 at 13:53 +0100, Stefano Stabellini wrote: > > > > > On W

Re: [Xen-devel] [PATCH v2 03/17] x86/hvm: unify internal portio and mmio intercepts

2015-06-17 Thread Jan Beulich
>>> On 11.06.15 at 17:42, wrote: > - fail2: > + fail6: > rtc_deinit(d); > stdvga_deinit(d); > vioapic_deinit(d); > - fail1: > + fail5: > if ( is_hardware_domain(d) ) > xfree(d->arch.hvm_domain.io_bitmap); > -xfree(d->arch.hvm_domain.io_handler); > + fail4: > +x

Re: [Xen-devel] [PATCH OSSTEST v3 06/11] Cope with Jessie's d-i vg name

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 14:06 +0100, Wei Liu wrote: > In Jessie the default vg name is changed to "$hostname-vg". Make that > default case and check for wheezy, squeeze and lenny for backward > compatibility. > > Signed-off-by: Wei Liu > --- > Changes in v3: > 1. Introduce a function to return vg n

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1

2015-06-17 Thread Stefano Stabellini
On Wed, 17 Jun 2015, Ian Campbell wrote: > On Wed, 2015-06-17 at 14:40 +0100, Stefano Stabellini wrote: > > On Wed, 17 Jun 2015, Ian Campbell wrote: > > > On Wed, 2015-06-17 at 13:53 +0100, Stefano Stabellini wrote: > > > > On Wed, 17 Jun 2015, Ian Campbell wrote: > > > > > On Tue, 2015-06-16 at 18

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1

2015-06-17 Thread Manish Jaggi
On Wednesday 17 June 2015 06:43 AM, Ian Campbell wrote: On Wed, 2015-06-17 at 13:58 +0100, Stefano Stabellini wrote: Yes, pciback is already capable of doing that, see drivers/xen/xen-pciback/conf_space.c I am not sure if the pci-back driver can query the guest memory map. Is there an exist

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

2015-06-17 Thread Stefano Stabellini
On Mon, 18 May 2015, George Dunlap wrote: > On 05/18/2015 12:21 PM, Ian Campbell wrote: > > On Mon, 2015-05-18 at 11:54 +0100, George Dunlap wrote: > >> On 05/18/2015 11:33 AM, Ian Campbell wrote: > >>> On Mon, 2015-05-18 at 11:08 +0100, George Dunlap wrote: > On Wed, May 13, 2015 at 12:48 PM,

[Xen-devel] xen on J6 evm - console not responding

2015-06-17 Thread Korupol, Naveen (EXT)
Hi Ian I have Xen and Dom-0 booting up in a stable state on a J6 evm board. I can see xl commands responding correctly from the scripts too, But I cannot enter the login name at the login prompt from a getty setup in inittab. I have /dev/hvc0 in the file system, I am using an initramfs which migh

Re: [Xen-devel] Missing Xen ARM documentation on the website

2015-06-17 Thread Julien Grall
On 17/06/15 11:10, Ian Campbell wrote: >> I guess we want to print the directory name (or something similar) and >> add another layer of indentation: >> Misc >> Arm >> passthrough >> device-tree >>passthrough > > Probably, yes. > > Independently of that you

[Xen-devel] [PATCH v2] xen/arm: Find automatically the gnttab region for DOM0

2015-06-17 Thread Julien Grall
Currently, the grant table region is hardcoded per-platform. When a new board is coming up, we have to check the spec in order to find a space in the memory layout free. Depending on the platform it may be tedious. A good candidate for the gnttab region is the one used by Xen binary as some part w

Re: [Xen-devel] [qemu-mainline test] 58648: regressions - FAIL

2015-06-17 Thread Anthony PERARD
On Wed, Jun 17, 2015 at 09:47:24AM +0100, Ian Campbell wrote: > On Wed, 2015-06-17 at 07:42 +, osstest service user wrote: > > flight 58648 qemu-mainline real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/58648/ > > > > Regressions :-( > > > > Tests which did not succeed and are

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 14:40 +0100, Stefano Stabellini wrote: > On Wed, 17 Jun 2015, Ian Campbell wrote: > > On Wed, 2015-06-17 at 13:53 +0100, Stefano Stabellini wrote: > > > On Wed, 17 Jun 2015, Ian Campbell wrote: > > > > On Tue, 2015-06-16 at 18:16 +0100, Stefano Stabellini wrote: > > > > > I wr

  1   2   3   >