[Xen-devel] [OSSTEST Nested PATCH v9 8/9] Compose the main recipe of nested test job

2015-05-01 Thread longtao.pang
From: "longtao.pang" The ident and guestname are same of 'nestedl1' for L1 guest VM. Signed-off-by: longtao.pang --- Changes in v9: 1. For L1, identical its ident and guestname as 'nestedl1'; And same for L2, 'nestedl2' is L2's name as well as its ident. 2. Place '+' to include parameters in th

[Xen-devel] [OSSTEST Nested PATCH v9 3/9] Refactor installation of overlays for guest used

2015-05-01 Thread longtao.pang
From: "longtao.pang" Based on Ian Campbell's v5_patch [04,05,06], I create this patch to refactor installation of overlays for guest used. Link of Ian Campbell's patch: http://lists.xenproject.org/archives/html/xen-devel/2015-04/msg01452.html http://lists.xenproject.org/archives/html/xen-devel/2

[Xen-devel] [OSSTEST Nested PATCH v9 4/9] Edit some APIs in TestSupport.pm for nested test

2015-05-01 Thread longtao.pang
From: "longtao.pang" 1. If vif model is defined for guest, use it in guest's configuration 2. In L2 installation context, its host (L1) shall not have a static IP but stored in runvar in L1 installation before; use this stored runvar IP. Signed-off-by: longtao.pang --- Changes in v9: 1. Refacto

[Xen-devel] [OSSTEST Nested PATCH v9 9/9] Add test job for nest test case

2015-05-01 Thread longtao.pang
From: "longtao.pang" 1. This patch adds creation of the nested test job, when job creation procedure is invoked. 2. Set nested L1's vif model, nestedhvm feature, set specific disk size and memory size for nested test by make-flight. Signed-off-by: longtao.pang --- Changes in v9: 1. Group 'neste

[Xen-devel] [OSSTEST Nested PATCH v9 6/9] Changes on test step of Debian hvm guest install

2015-05-01 Thread longtao.pang
From: "longtao.pang" 1. Increase disk size to accommodate to nested test requirement. 2. Since 'Debain-xxx-.iso' image will be stored in rootfs of L1 guest, therefore needs more disk capacity, increase root partition size to 1. 3. In L1 installation context, assign more memory (defined in run

[Xen-devel] [OSSTEST Nested PATCH v9 7/9] Add new script to customize nested test configuration

2015-05-01 Thread longtao.pang
From: "longtao.pang" 1. In this script, make some appropriate runvars which selecthost would recognise. 2. Prepare the configurations for installing L2 guest VM. 3. Create a lv disk in L0 and hot-attach it to L1, need to restart L1 to make the block disk to be recognized by L1 system, then using

[Xen-devel] [OSSTEST Nested PATCH v9 2/9] Changes to support '/boot' leading paths of kernel, xen, in grub

2015-05-01 Thread longtao.pang
From: "longtao.pang" Support situations of grub that have vmlinuz and other things starting with path of '/boot' rather than '/'. Signed-off-by: longtao.pang --- Osstest/Debian.pm |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.

[Xen-devel] [OSSTEST Nested PATCH v9 5/9] Move the codes about memory size setting into prep()

2015-05-01 Thread longtao.pang
From: "longtao.pang" Move the codes about memory size setting from outside into prep(), where these $ram_mb operations are only used; and in next patch, for L2 guest installation, $ram_mb will be override by a runvar value, which needs $gho in scope. Signed-off-by: longtao.pang --- ts-debian-h

[Xen-devel] [OSSTEST Nested PATCH v9 1/9] parsing grub which has 'submenu' primitive

2015-05-01 Thread longtao.pang
From: "longtao.pang" >From a hvm kernel build from Linux stable Kernel tree, the auto generated grub2 menu will have 'submenu' primitive, upon the 'menuentry' items. Xen boot entries will be grouped into a submenu. This patch adds capability to support such grub formats. Signed-off-by: longtao.p

[Xen-devel] [OSSTEST Nested PATCH v9 0/9] Introduction of netsted HVM test job

2015-05-01 Thread longtao.pang
This patch set adds nested HVM test case for osstest. In this test case, a Xen hypervisor (L1) runs on top of another Xen hypervisor (L0). Upon L1 hypervisor, we will then create a nested guest (L2), and test if the Linux guest can then be installed and run well. About nested Xen virtualization,

[Xen-devel] [qemu-upstream-unstable test] 52920: regressions - FAIL

2015-05-01 Thread osstest service user
flight 52920 qemu-upstream-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/52920/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 16 guest-localmigrate/x10 fail REGR. vs. 50281 build-armh

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

2015-05-01 Thread osstest service user
flight 52955 rumpuserxen real [real] http://logs.test-lab.xenproject.org/osstest/logs/52955/ 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] [PATCH] libxl: Disallow save or migrate when host devices are assigned to a guest.

2015-05-01 Thread Jim Fehlig
Dario Faggioli wrote: > On Tue, 2015-04-14 at 20:15 -0600, Jim Fehlig wrote: > >> Konrad Rzeszutek Wilk wrote: >> > > >>> -static bool >>> -libxlDomainMigrationIsAllowed(virDomainDefPtr def) >>> -{ >>> -/* Migration is not allowed if definition contains any hostdevs */ >>> -if (d

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

2015-05-01 Thread Jim Fehlig
Fabio Fantoni wrote: > 2015-04-30 18:55 GMT+02:00 Jim Fehlig >: > > Fabio Fantoni wrote: > > Il 29/04/2015 18:39, Jim Fehlig ha scritto: > > linux-tyb8:~/ # dmesg | grep -i qxl > [4.901158] [drm] qxl: 16M of VRAM memory size > [4.901159] [drm] q

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

2015-05-01 Thread osstest service user
flight 52880 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/52880/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm 6 xen-boot fail REGR. vs. 50465 Regressions which are

Re: [Xen-devel] [PATCHv7 2/3] gnttab: refactor locking for scalability

2015-05-01 Thread Tim Deegan
At 19:03 +0100 on 01 May (1430506982), David Vrabel wrote: > On 30/04/15 15:34, Tim Deegan wrote: > > > > OK, so here we hold rd->grant_table->lock and act->lock (which is in > > the rd table) and are going to acquire lgt->maptrack_lock in mapcount(). > > > > That means we can't ever have a path

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

2015-05-01 Thread Jan Beulich
>>> Paul Durrant 05/01/15 4:05 PM >>> >+/* The following parameters cannot be set by the guest. */ Didn't you agree that "cannot" isn't the right term here? >+/* The following parameters can only be changed once. */ >+switch ( a->index ) >+{ >+case HVM_PARAM_VIRIDIAN: >+c

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

2015-05-01 Thread Jan Beulich
>>> Paul Durrant 05/01/15 4:05 PM >>> >--- a/xen/arch/x86/hvm/hvm.c >+++ b/xen/arch/x86/hvm/hvm.c >@@ -5638,6 +5638,299 @@ static int hvmop_set_evtchn_upcall_vector( >return 0; >} > >+static int hvmop_set_param( >+XEN_GUEST_HANDLE_PARAM(xen_hvm_param_t) arg) >+{ >+struct domain *curr_d =

Re: [Xen-devel] [PATCH v1 1/3] EFI/early: Add /noexit to inhibit calling ExitBootServices

2015-05-01 Thread Jan Beulich
>>> Ian Campbell 05/01/15 4:28 PM >>> >On Fri, 2015-04-24 at 16:47 -0400, Konrad Rzeszutek Wilk wrote: >> The '/noexit' parameter will inhibit Xen in calling ExitBootServices. >> [...] >> +PrintStr(L"-noexit Do not call >> ExitBootServices\r\n"); > >Is it /noexit or -noex

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

2015-05-01 Thread Jan Beulich
>>> Roger Pau Monne 04/30/15 12:42 PM >>> >--- a/xen/arch/x86/domain_build.c >+++ b/xen/arch/x86/domain_build.c >@@ -1546,8 +1546,10 @@ int __init construct_dom0( >/* ACPI PM Timer. */ >if ( pmtmr_ioport ) >rc |= ioports_deny_access(d, pmtmr_ioport, pmtmr_ioport + 3); >-/* PCI configuration sp

Re: [Xen-devel] [PATCHv7 2/3] gnttab: refactor locking for scalability

2015-05-01 Thread David Vrabel
On 30/04/15 15:34, Tim Deegan wrote: > > OK, so here we hold rd->grant_table->lock and act->lock (which is in > the rd table) and are going to acquire lgt->maptrack_lock in mapcount(). > > That means we can't ever have a path holding domA's maptrack lock that > acquires domB's gt lock or one of d

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

2015-05-01 Thread Boris Ostrovsky
On 05/01/2015 11:25 AM, David Vrabel wrote: On 01/05/15 14:39, Boris Ostrovsky wrote: On 05/01/2015 06:46 AM, David Vrabel wrote: On 29/04/15 22:10, Boris Ostrovsky wrote: When a guest is resumed, the hypervisor may change event channel assignments. If this happens and the guest uses 2-level e

[Xen-devel] [PATCH v2 3/4] raisin: improve output

2015-05-01 Thread Stefano Stabellini
Introduce an error_echo function that prints to stderr. Call error_echo or verbose_echo, instead of echo, when possible and appropriate. Redirect build and tests output to /dev/null unless VERBOSE==1. Redirect apt-get and yum output to /dev/null. Fix echo arguments in check-package-deb. Signed-off

[Xen-devel] [PATCH v2 1/4] raisin: introduce tests

2015-05-01 Thread Stefano Stabellini
Introduce a new command to run functional tests and unit tests. Introduce a generic infrastrucutre to run tests on the local machine. Add a library of common functions that can be used by the test scripts to setup guest VMs. Add a simple test script that boots a single busybox based PV guest. Sig

[Xen-devel] [PATCH v2 4/4] raisin: small stlye improvement in for_each_component

2015-05-01 Thread Stefano Stabellini
Use the found variable as a boolean. Signed-off-by: Stefano Stabellini --- lib/common-functions.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common-functions.sh b/lib/common-functions.sh index cbb658e..5ee4816 100644 --- a/lib/common-functions.sh +++ b/lib/

[Xen-devel] [PATCH v2 2/4] raisin: add an hvm test

2015-05-01 Thread Stefano Stabellini
Add a few functions to create partitions, install and configure grub in the VM disk. Introduce a script to loopmount a partition within a VM disk. Add a new test that creates a local HVM guest, boots it and check the network. Signed-off-by: Stefano Stabellini --- defconfig |4 +--

[Xen-devel] [PATCH v2 0/4] raisin: introduce tests

2015-05-01 Thread Stefano Stabellini
Hi all, this patch series introduces a framework to execute simple unit and functional tests in raisin. It can be used by developers to validate their changes before submitting a patch series to xen-devel. It can also be used by OSSTest to test for regressions on one particular functionality. This

Re: [Xen-devel] [OSSTEST PATCH 6/6] sg-report-flight: Report stepno and testid of first worst fail

2015-05-01 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 6/6] sg-report-flight: Report stepno and testid of first worst fail"): > On Fri, 2015-05-01 at 16:02 +0100, Ian Jackson wrote: > > This makes reading the scoreboard considerably easier. > > > > We abuse the local variable @worst slight, pushing the extra i

Re: [Xen-devel] [PATCH v7 2/5] sysctl: Add sysctl interface for querying PCI topology

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 11:20 -0400, Boris Ostrovsky wrote: > On 05/01/2015 09:56 AM, Ian Campbell wrote: > > On Fri, 2015-04-24 at 13:42 -0400, Boris Ostrovsky wrote: > >> On 04/24/2015 10:09 AM, Boris Ostrovsky wrote: > >>> On 04/24/2015 03:19 AM, Jan Beulich wrote: > >>> On 24.04.15 at 00:20,

Re: [Xen-devel] [OSSTEST PATCH 0/6] Urgent performance improvements

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 16:02 +0100, Ian Jackson wrote: > Subject to acks, I spotted a few minor typos and had one not so minor (but still not very important) query on the last one. So: Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-dev

Re: [Xen-devel] [OSSTEST PATCH 6/6] sg-report-flight: Report stepno and testid of first worst fail

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 16:02 +0100, Ian Jackson wrote: > This makes reading the scoreboard considerably easier. > > We abuse the local variable @worst slight, pushing the extra info we ^ly > @@ -993,9 +995,13 @@ END > next if $this[1] < $worst[1]

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

2015-05-01 Thread David Vrabel
On 01/05/15 14:39, Boris Ostrovsky wrote: > On 05/01/2015 06:46 AM, David Vrabel wrote: >> On 29/04/15 22:10, Boris Ostrovsky wrote: >>> When a guest is resumed, the hypervisor may change event channel >>> assignments. If this happens and the guest uses 2-level events it >>> is possible for the int

Re: [Xen-devel] [PATCH v7 2/5] sysctl: Add sysctl interface for querying PCI topology

2015-05-01 Thread Boris Ostrovsky
On 05/01/2015 09:56 AM, Ian Campbell wrote: On Fri, 2015-04-24 at 13:42 -0400, Boris Ostrovsky wrote: On 04/24/2015 10:09 AM, Boris Ostrovsky wrote: On 04/24/2015 03:19 AM, Jan Beulich wrote: On 24.04.15 at 00:20, wrote: On 04/21/2015 03:01 AM, Jan Beulich wrote: + ((++dev_c

Re: [Xen-devel] [OSSTEST PATCH 4/6] sg-report-flight: Better choice of column-head cell

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 16:02 +0100, Ian Jackson wrote: > We are more interested the first worst failure. But if everything ^in ? > passed, then the last pass. > > Signed-off-by: Ian Jackson > --- > sg-report-flight |3 ++- > 1 file changed, 2 insertions(+), 1 deletio

Re: [Xen-devel] [OSSTEST PATCH 2/6] sg-report-job-history: Avoid full runvars table scan (!)

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 16:02 +0100, Ian Jackson wrote: > sg-report-job-history wnats to know the potential names of runvars Typo "wnats". ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 0/2] x86/hvm: HVMOP_get/set_param improvements

2015-05-01 Thread Paul Durrant
Sorry, this was an artefact of the previous set... Please ignore. Paul > -Original Message- > From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: 01 May 2015 15:06 > To: xen-de...@lists.xenproject.org > Cc: Paul Durrant > Subject: [PATCH 0/2] x86/hvm: HVMOP_get/set_param improve

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-05-01 Thread Jim Fehlig
Ian Campbell wrote: > On Fri, 2015-04-17 at 13:57 -0600, Jim Fehlig wrote: > >> On 04/17/2015 11:59 AM, Olaf Hering wrote: >> >>> On Fri, Apr 17, Olaf Hering wrote: >>> >>> If the domU configu has sdl enabled libvirtd crashes: libvirtd[5158]: libvirtd: libxl.c:343: libxl_de

[Xen-devel] [OSSTEST PATCH 3/6] sg-report-flight: Break colour of out $cell_html->() results

2015-05-01 Thread Ian Jackson
No functional change. Signed-off-by: Ian Jackson --- sg-report-flight | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index 18a5afa..29b5ef6 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -970,8 +970,8 @@ END

[Xen-devel] [OSSTEST PATCH 5/6] sg-report-flight: Include actual status in column-head cells

2015-05-01 Thread Ian Jackson
Adjust the $cell_html anonymous sub to include the actual step status unless it is told not to (by passing it a new $core_only argument). Change the main body call site to pass this option. As a result the column headings now include the step status. Signed-off-by: Ian Jackson --- sg-report-fl

[Xen-devel] [OSSTEST PATCH 4/6] sg-report-flight: Better choice of column-head cell

2015-05-01 Thread Ian Jackson
We are more interested the first worst failure. But if everything passed, then the last pass. Signed-off-by: Ian Jackson --- sg-report-flight |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sg-report-flight b/sg-report-flight index 29b5ef6..7c9e52e 100755 --- a/sg-repor

[Xen-devel] [OSSTEST PATCH 0/6] Urgent performance improvements

2015-05-01 Thread Ian Jackson
This series contains these two important performance improvements: 1/6 cs-bisection-step: Use pbm tools, not graphicsmagick/imagemagick 2/6 sg-report-job-history: Avoid full runvars table scan (!) The use of `convert' seems to have suffered from a severe performance problem which made the osste

[Xen-devel] [OSSTEST PATCH 6/6] sg-report-flight: Report stepno and testid of first worst fail

2015-05-01 Thread Ian Jackson
This makes reading the scoreboard considerably easier. We abuse the local variable @worst slight, pushing the extra info we are going to print onto the end of it. We also have to defer printing the cells, because we compute the cell to duplicate in column order but we have to output them in row o

[Xen-devel] [OSSTEST PATCH 1/6] cs-bisection-step: Use pbm tools, not graphicsmagick/imagemagick

2015-05-01 Thread Ian Jackson
Graphicsmagick / imagemagick have very poor performance with images with large pixel sizes. The bisector can generate some very large images. In an example I have seen, a 21595x21048 png, occupying only 2.6Mby of disk space. An invocation of `convert' to resize this was using 3Gby of RAM and lot

[Xen-devel] [OSSTEST PATCH 2/6] sg-report-job-history: Avoid full runvars table scan (!)

2015-05-01 Thread Ian Jackson
sg-report-job-history wnats to know the potential names of runvars relating to hosts. To do this it tries to find a list of distinct runvar names which exist in the flights it's processing. However, it fails to limit the runvar query appropriately, and as a result postgresql must scan almost the

[Xen-devel] [PATCH] [SCSI] libsas: Kconfig: Enable SATA compatibility by default

2015-05-01 Thread Ian Jackson
SATA controllers support SATA disks. The kernel should be able to drive these, by default. It should not silently (apart from a debugging-only printk) ignore them. Signed-off-by: Ian Jackson CC: James Bottomley CC: Donald D Dugger CC: Pawel Baldysiak CC: Lukasz Dorau CC: Artur Paszkiewicz

Re: [Xen-devel] [PATCH v1 1/3] EFI/early: Add /noexit to inhibit calling ExitBootServices

2015-05-01 Thread Ian Campbell
On Fri, 2015-04-24 at 16:47 -0400, Konrad Rzeszutek Wilk wrote: > The '/noexit' parameter will inhibit Xen in calling ExitBootServices. > [...] > +PrintStr(L"-noexit Do not call > ExitBootServices\r\n"); Is it /noexit or -noexit? Ian. _

Re: [Xen-devel] [PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 15:05 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn > hostprop when collecting host keys"): > > That code is: > > > > my $defaultfqdn = $name; > > $defaultfqdn .= ".$c{TestHostDomain}" unless $defaultfqdn =~ m/\

[Xen-devel] [PATCH v2 3/3] x86/hvm: Use white-lists for HVM param guest accessibility checks

2015-05-01 Thread Paul Durrant
There are actually very few HVM parameters that a guest needs to read and even fewer that a guest needs to write. Use white-lists to specify those parameters and also ensre that, by default, newly introduced parameters are not accessible. Signed-off-by: Paul Durrant Cc: Keir Fraser Cc: Jan Beuli

Re: [Xen-devel] [PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys

2015-05-01 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys"): > That code is: > > my $defaultfqdn = $name; > $defaultfqdn .= ".$c{TestHostDomain}" unless $defaultfqdn =~ m/\./; > $ho->{Fqdn} = get_host_property($ho,'fqdn',$defaultfqdn)

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

2015-05-01 Thread Paul Durrant
Some parameters can only (validly) be set once. Some cannot be set by a guest for its own domain. Consolidate these checks, along with the XSM check, in a new hvm_allow_set_param() function for clarity. Also, introduce hvm_allow_get_param() for similar reasons. NOTE: This patch leaves the guest a

[Xen-devel] [PATCH v2 0/3] x86/hvm: HVMOP_get/set_param improvements

2015-05-01 Thread Paul Durrant
The following 3 patches re-structure the code implementing HVMOP_set_param and HVMOP_get_param. Patch #1 gives each operation its own function Patch #2 splits out checks for getting/setting non-reflexive params and setting params with change-once semantics, as well as the XSM check into separate

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

2015-05-01 Thread Paul Durrant
The level of switch nesting in those ops is getting unreadable. Giving them their own functions does introduce some code duplication in the the pre-op checks but the overall result is easier to follow. This patch is code movement (including style fixes). There is no functional change. Signed-off-

[Xen-devel] [PATCH 0/2] x86/hvm: HVMOP_get/set_param improvements

2015-05-01 Thread Paul Durrant
The following 3 patches re-structure the code implementing HVMOP_set_param and HVMOP_get_param. Patch #1 gives each operation its own function Patch #2 splits out checks for getting/setting non-reflexive params and setting params with change-once semantics, as well as the XSM check into separate

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

2015-05-01 Thread Paul Durrant
> -Original Message- > From: Paul Durrant > Sent: 01 May 2015 14:39 > To: 'Jan Beulich' > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: RE: [PATCH 2/3] x86/hvm: introduce functions for > HVMOP_get/set_param allowance checks > > > -Original Message- >

Re: [Xen-devel] [PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 14:51 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn > hostprop when collecting host keys"): > > Otherwise hosts which are not in the same DnsDomain are not processed, > > resulting in log messages such as: > > > > 2015-05-0

Re: [Xen-devel] [PATCH v7 2/5] sysctl: Add sysctl interface for querying PCI topology

2015-05-01 Thread Ian Campbell
On Fri, 2015-04-24 at 13:42 -0400, Boris Ostrovsky wrote: > On 04/24/2015 10:09 AM, Boris Ostrovsky wrote: > > > > On 04/24/2015 03:19 AM, Jan Beulich wrote: > > On 24.04.15 at 00:20, wrote: > >>> On 04/21/2015 03:01 AM, Jan Beulich wrote: > > + ((++dev_cnt > 0x3f) && hyper

Re: [Xen-devel] [linux-3.4 test] 52833: regressions - FAIL

2015-05-01 Thread Ian Jackson
osstest service user writes ("[linux-3.4 test] 52833: regressions - FAIL"): > flight 52833 linux-3.4 real [real] > http://logs.test-lab.xenproject.org/osstest/logs/52833/ This is due to what seems to be a real bug in current linux-3.4, currently being discussed under the Subject "don't bugger nd

Re: [Xen-devel] [seabios test] 52986: trouble: pass/preparing/queued

2015-05-01 Thread Ian Jackson
osstest service user writes ("[seabios test] 52986: trouble: pass/preparing/queued"): > flight 52986 seabios running [real] > http://logs.test-lab.xenproject.org/osstest/logs/52986/ I killed this one, as it was retesting what I had just force pushed. Ian. ___

Re: [Xen-devel] [PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys

2015-05-01 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys"): > Otherwise hosts which are not in the same DnsDomain are not processed, > resulting in log messages such as: > > 2015-05-01 10:06:19 Z skipping host key for nonexistent host > marilith-n4

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

2015-05-01 Thread osstest service user
flight 52833 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/52833/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 9 debian-installfail REGR. vs. 30511 test-amd64-amd64-xl-qem

Re: [Xen-devel] Subject: Help

2015-05-01 Thread Ian Campbell
On Mon, 2015-04-27 at 11:11 +0800, 赵会波 wrote: This message belongs on the xen-users list, since it is not a development question. Also, please use a more meaningful subject line than "Subject: Help". ___ Xen-devel mailing list Xen-devel@lists.xen.or

Re: [Xen-devel] [PATCH] libxl: initialize vfb defbools in libxlMakeVfb

2015-05-01 Thread Ian Campbell
On Fri, 2015-04-17 at 13:57 -0600, Jim Fehlig wrote: > On 04/17/2015 11:59 AM, Olaf Hering wrote: > > On Fri, Apr 17, Olaf Hering wrote: > > > >> If the domU configu has sdl enabled libvirtd crashes: > >> libvirtd[5158]: libvirtd: libxl.c:343: libxl_defbool_val: Assertion > >> `!libxl_defbool_is_d

[Xen-devel] [PATCH OSSTEST RFC] Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys

2015-05-01 Thread Ian Campbell
Otherwise hosts which are not in the same DnsDomain are not processed, resulting in log messages such as: 2015-05-01 10:06:19 Z skipping host key for nonexistent host marilith-n4.xs.citrite.net 2015-05-01 10:06:20 Z skipping host key for nonexistent host lace-bug.xs.citrite.net The practical im

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

2015-05-01 Thread Boris Ostrovsky
On 05/01/2015 06:46 AM, David Vrabel wrote: On 29/04/15 22:10, Boris Ostrovsky wrote: When a guest is resumed, the hypervisor may change event channel assignments. If this happens and the guest uses 2-level events it is possible for the interrupt to be claimed by wrong VCPU since cpu_evtchn_mask

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

2015-05-01 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 29 April 2015 13:29 > To: Paul Durrant > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH 2/3] x86/hvm: introduce functions for > HVMOP_get/set_param allowance checks > > >>>

Re: [Xen-devel] libxl, flexarray_append_pair usage

2015-05-01 Thread Ian Campbell
On Fri, 2015-04-24 at 11:16 +0200, Olaf Hering wrote: > On Fri, Apr 24, Olaf Hering wrote: > > > flexarray_append(back, "state"); > > -flexarray_append(back, GCSPRINTF("%d", 1)); > > +flexarray_append(back, GCSPRINTF("%d", XenbusStateInitialising)); > > Should all such code be conver

Re: [Xen-devel] [PATCH] libxl: remove redundant assignment of spawn-xspath

2015-05-01 Thread Ian Campbell
On Fri, 2015-04-24 at 10:03 +0100, Wei Liu wrote: > Reported-by: Olaf Hering > Signed-off-by: Wei Liu Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [seabios test] 52986: trouble: pass/preparing/queued

2015-05-01 Thread osstest service user
flight 52986 seabios running [real] http://logs.test-lab.xenproject.org/osstest/logs/52986/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt queued test-amd64-i386-xl-qemuu-de

Re: [Xen-devel] [ovmf test] 52776: regressions - FAIL

2015-05-01 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [ovmf test] 52776: regressions - FAIL"): > On Fri, 2015-05-01 at 06:39 +, osstest service user wrote: > > flight 52776 ovmf real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/52776/ > > > > Regressions :-( > > > > Tests which did not succeed

Re: [Xen-devel] [seabios test] 52630: regressions - FAIL

2015-05-01 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [seabios test] 52630: regressions - FAIL"): > On Thu, 2015-04-30 at 08:04 +, osstest service user wrote: > > flight 52630 seabios real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/52630/ > > > > Regressions :-( > > > > Tests which did not

Re: [Xen-devel] [xen-4.4-testing test] 52629: regressions - FAIL

2015-05-01 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [xen-4.4-testing test] 52629: regressions - FAIL"): > Going through other recent flight failures I'm seeing all of these a > fair bit. Searching for this particular message led me to > https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/416264 > > That sug

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

2015-05-01 Thread Robert VanVossen
Hello, On 5/1/2015 8:55 AM, Julien Grall wrote: > Hi, > > On 01/05/15 13:48, Ian Campbell wrote: >> On Wed, 2015-04-29 at 12:21 -0400, Robert VanVossen wrote: >>> This yields xen/xen/arch/arm/domain.c:208 which has the following line: >>> >>> WRITE_SYSREG32(n->arch.teecr, TEECR32_EL1); >> >> This

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

2015-05-01 Thread Julien Grall
Hi, On 01/05/15 13:48, Ian Campbell wrote: > On Wed, 2015-04-29 at 12:21 -0400, Robert VanVossen wrote: >> This yields xen/xen/arch/arm/domain.c:208 which has the following line: >> >> WRITE_SYSREG32(n->arch.teecr, TEECR32_EL1); > > This is in a "if ( is_32bit_domain(p->domain) && cpu_has_thumbee

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

2015-05-01 Thread Ian Campbell
On Wed, 2015-04-29 at 12:21 -0400, Robert VanVossen wrote: > This yields xen/xen/arch/arm/domain.c:208 which has the following line: > > WRITE_SYSREG32(n->arch.teecr, TEECR32_EL1); This is in a "if ( is_32bit_domain(p->domain) && cpu_has_thumbee )" condition, so if it isn't a 32-bit model issue i

Re: [Xen-devel] [PATCH v3 4/5] xen: arm: map child MMIO and IRQs to dom0 for PCI bus DT nodes.

2015-05-01 Thread Julien Grall
On 01/05/15 13:42, Ian Campbell wrote: > On Wed, 2015-04-29 at 17:22 +0100, Julien Grall wrote: >> Hi Ian, >> >> On 20/04/15 13:16, Ian Campbell wrote: >>> +static int map_interrupt_to_domain(const struct dt_device_node *dev, >>> + const struct dt_raw_irq *dt_raw_i

Re: [Xen-devel] [PATCH v3 4/5] xen: arm: map child MMIO and IRQs to dom0 for PCI bus DT nodes.

2015-05-01 Thread Ian Campbell
On Wed, 2015-04-29 at 17:22 +0100, Julien Grall wrote: > Hi Ian, > > On 20/04/15 13:16, Ian Campbell wrote: > > +static int map_interrupt_to_domain(const struct dt_device_node *dev, > > + const struct dt_raw_irq *dt_raw_irq, > > +

Re: [Xen-devel] [PATCHv7 3/3] gnttab: use per-VCPU maptrack free lists

2015-05-01 Thread Malcolm Crossley
On 30/04/15 16:12, Tim Deegan wrote: > At 14:28 +0100 on 30 Apr (1430404125), David Vrabel wrote: >> From: Malcolm Crossley >> >> Performance analysis of aggregate network throughput with many VMs >> shows that performance is signficantly limited by contention on the >> maptrack lock when obtainin

Re: [Xen-devel] [ovmf test] 52776: regressions - FAIL

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 06:39 +, osstest service user wrote: > flight 52776 ovmf real [real] > http://logs.test-lab.xenproject.org/osstest/logs/52776/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > test-amd64-i386-freebsd10-amd

Re: [Xen-devel] [PATCH OSSTEST] standalone: noreinstall -> reinstall in help string

2015-05-01 Thread Ian Campbell
On Fri, 2015-04-24 at 11:08 +0100, Wei Liu wrote: > Signed-off-by: Wei Liu Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

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

2015-05-01 Thread Jan Beulich
>>> Eugene Korenevsky 04/28/15 11:54 PM >>> >--- a/tools/tests/x86_emulator/test_x86_emulator.c >+++ b/tools/tests/x86_emulator/test_x86_emulator.c >@@ -288,7 +288,7 @@ int main(int argc, char **argv) >rc = x86_emulate(&ctxt, &emulops); >if ( (rc != X86EMUL_OKAY) || >(*res != 0x923456AA) || >-

Re: [Xen-devel] [xen-4.4-testing test] 52629: regressions - FAIL

2015-05-01 Thread Ian Campbell
On Fri, 2015-05-01 at 12:36 +0100, Ian Campbell wrote: > On Thu, 2015-04-30 at 11:27 +, osstest service user wrote: > > flight 52629 xen-4.4-testing real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/52629/ > > > > Regressions :-( > > > > Tests which did not succeed and are bloc

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

2015-05-01 Thread Jan Beulich
>>> Eugene Korenevsky 04/28/15 11:54 PM >>> >--- a/xen/arch/x86/x86_emulate/x86_emulate.c >+++ b/xen/arch/x86/x86_emulate/x86_emulate.c >@@ -4343,7 +4343,8 @@ x86_emulate( >/* Save real source value, then compare EAX against destination. */ >src.orig_val = src.val; >src.val = _regs.eax; >-

Re: [Xen-devel] [xen-4.4-testing test] 52629: regressions - FAIL

2015-05-01 Thread Ian Campbell
On Thu, 2015-04-30 at 11:27 +, osstest service user wrote: > flight 52629 xen-4.4-testing real [real] > http://logs.test-lab.xenproject.org/osstest/logs/52629/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > build-armhf-libvir

Re: [Xen-devel] [seabios test] 52630: regressions - FAIL

2015-05-01 Thread Ian Campbell
On Thu, 2015-04-30 at 08:04 +, osstest service user wrote: > flight 52630 seabios real [real] > http://logs.test-lab.xenproject.org/osstest/logs/52630/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > test-amd64-i386-pair 21

Re: [Xen-devel] [OSSTEST PATCH] ts-kernel-build: Enable CONFIG_SCSI_SAS_ATA

2015-05-01 Thread Ian Campbell
On Wed, 2015-04-29 at 16:34 +0100, Ian Jackson wrote: > (Some) SAS storage controller drivers do not recognise attached SATA > disks when this option is not set. It is inexplicably not set by > default in Linux 3.14.36 (at least). > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell __

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

2015-05-01 Thread Ian Campbell
On Wed, 2015-04-29 at 03:32 +0100, Ian Campbell wrote: > On Wed, 2015-04-15 at 11:35 +0100, Ian Campbell wrote: > > > diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install > > index cfd5144..95fce9a 100755 > > --- a/ts-debian-hvm-install > > +++ b/ts-debian-hvm-install > > @@ -77,6 +77,9 @@ d

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

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

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

2015-05-01 Thread David Vrabel
On 29/04/15 22:10, Boris Ostrovsky wrote: > After a resume the hypervisor/tools may change xenbus event > channel number. We should re-query it. Reviewed-by: David Vrabel David ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xe

Re: [Xen-devel] [PATCH] hypervisor/x86/xen: Unset X86_BUG_SYSRET_SS_ATTRS on Xen PV guests

2015-05-01 Thread David Vrabel
On 30/04/15 20:08, Boris Ostrovsky wrote: > Commit 61f01dd941ba ("x86_64, asm: Work around AMD SYSRET SS descriptor > attribute issue") makes AMD processors set SS to __KERNEL_DS in > __switch_to() to deal with cases when SS is NULL. > > This breaks Xen PV guests who do not want to load SS with__K

Re: [Xen-devel] [PATCH v4 3/3] xen/iommu: arm: Use p2m_ipa_bits as stage2 input size

2015-05-01 Thread Julien Grall
Hi Edgar, On 01/05/15 02:40, Edgar E. Iglesias wrote: > From: "Edgar E. Iglesias" > > The Stage2 input-size must match what the CPU uses because > the SMMU and the CPU share page-tables. > > Test that the SMMU supports the P2M IPA bit size, use it if > supported or bail out if not. > > Signed-

Re: [Xen-devel] [PATCH v3 3/3] xen/iommu: arm: Use p2m_ipa_bits as stage2 input size

2015-05-01 Thread Julien Grall
Hi Edgar, On 01/05/15 02:39, Edgar E. Iglesias wrote: > On Thu, Apr 30, 2015 at 04:07:27PM +0100, Julien Grall wrote: >> As this is a restriction of the driver we should print a error message >> and return an appropriate error value. >> >> The generic IOMMU driver can then decide if it's safe to c

Re: [Xen-devel] [v3 00/10] PML (Page Modification Logging) support

2015-05-01 Thread Kai Huang
Thanks Tim! On Thu, Apr 30, 2015 at 7:04 PM, Tim Deegan wrote: > At 16:19 +0800 on 24 Apr (1429892368), Kai Huang wrote: >> v2->v3: >> >> - Merged v2 patch 02 (document change) to patch 01 as a single patch, and >> changed new parameter description as suggested by Andrew. >> - changed vmx_vcpu_

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

2015-05-01 Thread Fabio Fantoni
2015-04-30 18:55 GMT+02:00 Jim Fehlig : > Fabio Fantoni wrote: > > Il 29/04/2015 18:39, Jim Fehlig ha scritto: > >> dom0 and domU are both SLES12. Xen is fairly recent xen-unstable plus a > >> few libxl patches. > >> > >> Regards, > >> Jim > >> > > > > But the domU was without qxl driver installe