[Xen-devel] xen/arm: VCPUOP_register_vcpu_info fails with CONFIG_ARM64_64K_PAGES

2015-03-24 Thread Vijay Kilari
Hi, Dom0 fails to boot with Xen with CONFIG_ARM64_64K_PAGES enabled because of map_vcpu_info() make check of page offset based of PAGE_SIZE which is 4K in Xen. Is this know issue that is fixed?. I am using 4.5 rc1 Xen code base. Log below: (XEN) DOM0: [0.173539] If your platform has any n

Re: [Xen-devel] Xen crash with mem-sharing and cloning

2015-03-24 Thread Andres Lagar Cavilla
On Tue, Mar 24, 2015 at 1:48 AM, Tamas K Lengyel wrote: > > > On Tue, Mar 24, 2015 at 4:54 AM, Andres Lagar Cavilla < > and...@lagarcavilla.org> wrote: > >> >> >> On Mon, Mar 23, 2015 at 11:25 AM, Tamas K Lengyel < >> tkleng...@sec.in.tum.de> wrote: >> >>> On Mon, Mar 23, 2015 at 6:59 PM, Andres

Re: [Xen-devel] [PATCH 1/2] x86/vMSI-X: honor all mask requests

2015-03-24 Thread Wu, Feng
> -Original Message- > From: Wu, Feng > Sent: Wednesday, March 25, 2015 1:41 PM > To: Jan Beulich; xen-devel > Cc: Andrew Cooper; Keir Fraser; Wu, Feng > Subject: RE: [Xen-devel] [PATCH 1/2] x86/vMSI-X: honor all mask requests > > > > > -Original Message- > > From: xen-devel-bo

Re: [Xen-devel] [PATCH 1/2] x86/vMSI-X: honor all mask requests

2015-03-24 Thread Wu, Feng
> -Original Message- > From: xen-devel-boun...@lists.xen.org > [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of Jan Beulich > Sent: Saturday, March 21, 2015 12:27 AM > To: xen-devel > Cc: Andrew Cooper; Keir Fraser > Subject: [Xen-devel] [PATCH 1/2] x86/vMSI-X: honor all mask request

Re: [Xen-devel] (v2) VT-d Posted-interrupt (PI) design for XEN

2015-03-24 Thread Wu, Feng
Hi Jan & other maintainers, Do you think it is good for you guys to continue the review if I send out a RFC patch for this feature? Thanks, Feng > -Original Message- > From: Wu, Feng > Sent: Wednesday, March 18, 2015 8:44 PM > To: xen-devel@lists.xen.org > Cc: Keir Fraser (k...@xen.org);

Re: [Xen-devel] [PATCH v2] xen/passthrough: Support a single iommu_domain per xen domain per SMMU

2015-03-24 Thread Manish Jaggi
On Tuesday 24 March 2015 07:34 PM, Robert VanVossen wrote: On 3/24/2015 7:07 AM, Manish Jaggi wrote: On Monday 23 March 2015 07:16 PM, Robbie VanVossen wrote: If multiple devices are being passed through to the same domain and they share a single SMMU, then they only require a single iommu_do

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

2015-03-24 Thread xen . org
flight 36692 linux-next real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36692/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl5 xen-boot fail REGR. vs. 36569 test-amd64-i386-xl-win

Re: [Xen-devel] How Are You Using Xen Project? Theme for this month's Xen Project Document Day on Wednesday

2015-03-24 Thread Russ Pavlicek
Document Day is here! If you had to use the Xen Project Hypervisor to execute your solution today, would you easily find everything you need? If not, today's the day to add that documentation (or at least add the gaps to the TODO list if you can't do it yourself). On Mon, Mar 23, 2015 at 9:01 P

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

2015-03-24 Thread xen . org
flight 36691 linux-linus real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36691/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-win7-amd64 7 windows-install fail REGR. vs. 35883 Regressions which are

Re: [Xen-devel] [RFC] Add the panic info when disable VT-d

2015-03-24 Thread Li, Liang Z
> >>> On 19.01.15 at 10:00, wrote: > > --- a/xen/arch/x86/apic.c > > +++ b/xen/arch/x86/apic.c > > @@ -915,6 +915,11 @@ void __init x2apic_bsp_setup(void) > > return; > > } > > printk("x2APIC: Already enabled by BIOS: Ignoring cmdline > > disable.\n"); > > +} els

[Xen-devel] [xen-unstable bisection] complete build-armhf

2015-03-24 Thread xen . org
branch xen-unstable xen branch xen-unstable job build-armhf test xen-build Tree: qemuu git://xenbits.xen.org/staging/qemu-upstream-unstable.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: xen git://xenbits.xen.org/xen.git Bug introd

Re: [Xen-devel] [Qemu-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

2015-03-24 Thread Xu, Quan
> -Original Message- > From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] > Sent: Tuesday, March 24, 2015 11:22 PM > To: Xu, Quan; Ian Campbell > Cc: ke...@koconnor.net; qemu-de...@nongnu.org; > stefano.stabell...@eu.citrix.com; xen-devel@lists.xen.org; Jan Beulich; > wei.l...@citrix

Re: [Xen-devel] Design and Question: Eliminate Xen (RTDS) scheduler overhead on dedicated CPU

2015-03-24 Thread Meng Xu
2015-03-24 17:08 GMT-04:00 George Dunlap : > On Tue, Mar 24, 2015 at 3:27 PM, Meng Xu wrote: > >> The simplest way to get your prototype working, in that case, would be > >> to return the idle vcpu for that pcpu if the guest is blocked. > > > > > > Exactly! Thank you so much for pointing this out

Re: [Xen-devel] One question to lowlevel/xl/xl.c and lowlevel/xc/xc.c

2015-03-24 Thread Chen, Tiejun
On 2015/3/24 18:40, Ian Campbell wrote: On Tue, 2015-03-24 at 18:31 +0800, Chen, Tiejun wrote: NB, the libxl ones are broken and not even compiled right now, you can ignore them. Looks this is still compiled now. xc is, xl is not, I am sure of that. Indeed, you're right :) I don't know

Re: [Xen-devel] [v3][PATCH 2/2] libxl: introduce gfx_passthru_kind

2015-03-24 Thread Chen, Tiejun
On 2015/3/24 22:50, Ian Campbell wrote: On Mon, 2015-03-23 at 09:17 +0800, Tiejun Chen wrote: Although we already have 'gfx_passthru' in b_info, this doesn' suffice Fixed. ^t after we want to handle IGD specifically. Now we

Re: [Xen-devel] 3.18 xen-pcifront regression?

2015-03-24 Thread Bjorn Helgaas
On Tue, Mar 24, 2015 at 5:27 PM, Michael D Labriola wrote: > Bjorn Helgaas wrote on 03/24/2015 01:27:02 PM: >> Thanks for the report, Michael, and sorry for the inconvenience. I > think >> the patch below will fix it, but I don't think it's the right fix either >> because it seems a little ad h

[Xen-devel] [qemu-upstream-unstable test] 36688: tolerable FAIL - PUSHED

2015-03-24 Thread xen . org
flight 36688 qemu-upstream-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36688/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-libvirt 9 guest-start fail like 33488 test-amd64-i386-pai

Re: [Xen-devel] [libvirt] [PATCH 00/10] libxl: switch driver to use a single libxl_ctx

2015-03-24 Thread Jim Fehlig
Michal Privoznik wrote: > On 18.02.2015 04:56, Jim Fehlig wrote: > >> This series is a follow up to >> >> https://www.redhat.com/archives/libvir-list/2015-February/msg00024.html >> >> It goes a step further and changes the libxl driver to use one, >> driver-wide libxl_ctx. Currently the libxl d

Re: [Xen-devel] 3.18 xen-pcifront regression?

2015-03-24 Thread Michael D Labriola
Bjorn Helgaas wrote on 03/24/2015 01:27:02 PM: > From: Bjorn Helgaas > To: Konrad Rzeszutek Wilk , > Cc: Michael D Labriola , xen- > de...@lists.xenproject.org, Stuart Wehrly , > michael.d.labri...@gmail.com, Jayson A Dyke , "Rafael > J. Wysocki" , linux-...@vger.kernel.org, linux- > a...@vge

Re: [Xen-devel] [PATCH V2] libxl: fix dom0 balloon logic

2015-03-24 Thread Stefano Stabellini
On Tue, 24 Mar 2015, Jim Fehlig wrote: > Recent testing on large memory systems revealed a bug in the Xen xl > tool's freemem() function. When autoballooning is enabled, freemem() > is used to ensure enough memory is available to start a domain, > ballooning dom0 if necessary. When ballooning lar

Re: [Xen-devel] Design and Question: Eliminate Xen (RTDS) scheduler overhead on dedicated CPU

2015-03-24 Thread George Dunlap
On Tue, Mar 24, 2015 at 3:27 PM, Meng Xu wrote: >> The simplest way to get your prototype working, in that case, would be >> to return the idle vcpu for that pcpu if the guest is blocked. > > > Exactly! Thank you so much for pointing this out! I did hardwired it always > to return the vcpu that i

[Xen-devel] [PATCH v4] xen/passthrough: Support a single iommu_domain per xen domain per SMMU

2015-03-24 Thread Robbie VanVossen
If multiple devices are being passed through to the same domain and they share a single SMMU, then they only require a single iommu_domain. In arm_smmu_assign_dev, before a new iommu_domain is created, the xen_domain->contexts is checked for any iommu_domains that are already assigned to device th

Re: [Xen-devel] [PATCH] libxl: fix dom0 balloon logic

2015-03-24 Thread Jim Fehlig
Stefano Stabellini wrote: > On Mon, 23 Mar 2015, Ian Campbell wrote: > >> (just ccing the other tools maintainers, in particular Stefano who knows >> what this stuff is supposed to do...) >> >> On Fri, 2015-03-20 at 17:10 -0600, Jim Fehlig wrote: >> >>> Recent testing on large memory system

[Xen-devel] [PATCH V2] libxl: fix dom0 balloon logic

2015-03-24 Thread Jim Fehlig
Recent testing on large memory systems revealed a bug in the Xen xl tool's freemem() function. When autoballooning is enabled, freemem() is used to ensure enough memory is available to start a domain, ballooning dom0 if necessary. When ballooning large amounts of memory from dom0, freemem() would

Re: [Xen-devel] [PATCH v3 1/3] libxl/cpumap: Add xc_cpumap_[setcpu, clearcpu, testcpu] to complement xc_cpumap_alloc.

2015-03-24 Thread Konrad Rzeszutek Wilk
On Tue, Mar 24, 2015 at 05:46:04PM +, Ian Campbell wrote: > On Tue, 2015-03-24 at 11:39 -0400, Konrad Rzeszutek Wilk wrote: > > Please make sure you CC all of the toolstack maintainers. > > > +void xc_cpumap_clearcpu(int cpu, xc_cpumap_t map) > > +{ > > +clear_bit(cpu, (unsigned long *)ma

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

2015-03-24 Thread xen . org
flight 36710 rumpuserxen real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36710/ 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

[Xen-devel] [seabios test] 36656: tolerable FAIL - PUSHED

2015-03-24 Thread xen . org
flight 36656 seabios real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36656/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-pvh-intel 9 guest-start fail never pass test-amd64-amd64-xl-pvh-amd 9 guest-start

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

2015-03-24 Thread xen . org
flight 36702 libvirt real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36702/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-libvirt-xsm 9 guest-start fail never pass test-amd64-amd64-libvirt-xsm 9 guest-start

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

2015-03-24 Thread xen . org
flight 36622 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36622/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 5 xen-build fail REGR. vs. 36514 test-amd64-i386-rump

[Xen-devel] [OSSTEST PATCH 11/32] readglobalconfig: Support Include

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- Osstest.pm |9 - README |3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index 8e63389..9fbadbd 100644 --- a/Osstest.pm +++ b/Osstest.pm @@ -20,6 +20,7 @@ use strict; use warnings; use POSIX; +use

[Xen-devel] [OSSTEST PATCH 06/32] Osstest: Default config: Use foreach for empty defaults

2015-03-24 Thread Ian Jackson
No functional change, but makes adding new empty defaults shorter. Signed-off-by: Ian Jackson --- Osstest.pm |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index 6d7c083..7a49591 100644 --- a/Osstest.pm +++ b/Osstest.pm @@ -74,7 +74,9 @@ our %c

[Xen-devel] [OSSTEST PATCH 25/32] mg-execute-flight: New -P (publish) option

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- mg-execute-flight |8 1 file changed, 8 insertions(+) diff --git a/mg-execute-flight b/mg-execute-flight index 287caa0..7f3d969 100755 --- a/mg-execute-flight +++ b/mg-execute-flight @@ -24,12 +24,15 @@ usage () { cat < -E -f +-P

[Xen-devel] [OSSTEST PATCH 20/32] cr-ensure-disk-space: Take argument for what to clean

2015-03-24 Thread Ian Jackson
Currently always "LogsPublish" (so no functional change). Signed-off-by: Ian Jackson --- cr-ensure-disk-space |7 +-- cri-args-hostlists |2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index af8efe6..884be26 100755 -

[Xen-devel] [OSSTEST PATCH 21/32] cr-ensure-disk-space: Fix -n option

2015-03-24 Thread Ian Jackson
This would not really do a dry run - instead it would stop after deleting one flight's logs! Signed-off-by: Ian Jackson --- cr-ensure-disk-space |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index 884be26..1c665b3 100755 ---

[Xen-devel] [OSSTEST PATCH 17/32] cr-ensure-disk-space: Break out ontarget

2015-03-24 Thread Ian Jackson
No functional change. Signed-off-by: Ian Jackson --- cr-ensure-disk-space |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index ff07b76..31880f7 100755 --- a/cr-ensure-disk-space +++ b/cr-ensure-disk-space @@ -53,6 +53,12

[Xen-devel] [OSSTEST PATCH 01/32] PDU: msw: support arbitrary arguments

2015-03-24 Thread Ian Jackson
No functional change with existing host properties. Signed-off-by: Ian Jackson --- Osstest/PDU/msw.pm |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Osstest/PDU/msw.pm b/Osstest/PDU/msw.pm index 40a2970..c159cc3 100644 --- a/Osstest/PDU/msw.pm +++ b/Osstest/PDU/msw

[Xen-devel] [OSSTEST PATCH 28/32] ts-kernel-build: enable CONFIG_SCSI_ISCI

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- ts-kernel-build |1 + 1 file changed, 1 insertion(+) diff --git a/ts-kernel-build b/ts-kernel-build index 93903d9..4cbed44 100755 --- a/ts-kernel-build +++ b/ts-kernel-build @@ -101,6 +101,7 @@ setopt CONFIG_SCSI_AACRAID m setopt CONFIG_SCSI_AIC7XXX m setopt

[Xen-devel] [OSSTEST PATCH 22/32] cr-ensure-disk-space: Permit argument to specify local directory.

2015-03-24 Thread Ian Jackson
If the argument is Logs rather than LogsPublish (ie, refers to a local directory (without `:') rather than a remote one (with `:'), do things locally (by invoking sh -ec so that we have identical quoting rules to ssh). No effectively functional change with the current configuration. We still alwa

[Xen-devel] [OSSTEST PATCH 12/32] HostDB Executive: Option to suppress "configdb"

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- Osstest/HostDB/Executive.pm |2 ++ 1 file changed, 2 insertions(+) diff --git a/Osstest/HostDB/Executive.pm b/Osstest/HostDB/Executive.pm index 6257829..3fa9982 100644 --- a/Osstest/HostDB/Executive.pm +++ b/Osstest/HostDB/Executive.pm @@ -101,6 +101,8 @@ sub d

[Xen-devel] [OSSTEST PATCH 27/32] ts-kernel-build: Document a hacky way to get CONFIG_... options

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- ts-kernel-build | 13 + 1 file changed, 13 insertions(+) diff --git a/ts-kernel-build b/ts-kernel-build index b2f19cf..93903d9 100755 --- a/ts-kernel-build +++ b/ts-kernel-build @@ -52,6 +52,19 @@ END } } +# Some runes for finding out what mig

[Xen-devel] [OSSTEST PATCH 23/32] cr-ensure-disk-space: Operate locally entirely separately.

2015-03-24 Thread Ian Jackson
Run cr-ensure-disk-space separately for local and remote directories. Ie, do the local deletion in its own run (so removing the anomalous separate invocation). This makes little difference if the two disks are of roughly similar sizes. Signed-off-by: Ian Jackson --- cr-ensure-disk-space |4

[Xen-devel] [OSSTEST PATCH 08/32] pxe setup: mg-hosts mkpxedir has -n (dry run) option

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- mg-hosts |2 ++ 1 file changed, 2 insertions(+) diff --git a/mg-hosts b/mg-hosts index f695f98..497139a 100755 --- a/mg-hosts +++ b/mg-hosts @@ -105,6 +105,8 @@ sub checkhost ($) { sub l ($) { return split /,/, $_[0]; } sub cmd_mkpxedir () { +my $dryrun

[Xen-devel] [OSSTEST PATCH 31/32] Branches: Rename "incoming" branch to "production"

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- README.dev |2 +- ap-fetch-version-old |2 +- ap-push |2 +- cr-for-branches |4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.dev b/README.dev index aae4f17..1987b73 100644 --- a/README.dev ++

[Xen-devel] [OSSTEST PATCH 03/32] PDU: pdu-msw: Support APC v6 firmware

2015-03-24 Thread Ian Jackson
APC PDUs with firmware 6.x have a different OID space for turning ports on and off, to the one for querying. The old namespace still works to turn the port on and off but returns a genErr error response! Support a new command-line option --apc6 to use this other OID. Information about OIDs etc.

[Xen-devel] [OSSTEST PATCH 16/32] cr-ensure-disk-space: Move LogsPublish decomposition up

2015-03-24 Thread Ian Jackson
We are going to want this for the df. No functional change yet. Signed-off-by: Ian Jackson --- cr-ensure-disk-space |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index aeaf572..ff07b76 100755 --- a/cr-ensure-disk-space ++

[Xen-devel] [OSSTEST PATCH 09/32] Debian mirrors: Support proxy, and default to ftp.debian.org if specified

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- Osstest.pm|3 +++ Osstest/Debian.pm |1 + README|7 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index 22dbc8b..f7a 100644 --- a/Osstest.pm +++ b/Osstest.pm @@ -76,6 +76,7 @@ our %

[Xen-devel] [OSSTEST PATCH 13/32] target_cmd_build: Honour $c{HttpProxy}

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 2d1ba9e..1053016 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -559,7 +559,12 @@ sub targe

[Xen-devel] [OSSTEST PATCH 05/32] mg-hosts: Provide new "power" subcommand

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- mg-hosts | 13 + 1 file changed, 13 insertions(+) diff --git a/mg-hosts b/mg-hosts index a6f6e6e..6ec8d56 100755 --- a/mg-hosts +++ b/mg-hosts @@ -122,6 +122,19 @@ END } } +sub cmd_power () { +die unless @ARGV==2; +my ($host,$power) =

[Xen-devel] [OSSTEST PATCH 30/32] config defaults: Do not use woking for dhcp leases

2015-03-24 Thread Ian Jackson
This will probably break the Cambridge instance, where it will need to be overridden. Signed-off-by: Ian Jackson --- Osstest.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index 5854257..449f312 100644 --- a/Osstest.pm +++ b/Osstest.pm @@ -101,7

[Xen-devel] [OSSTEST PATCH 32/32] production-config: Configuration for new production colo

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- production-config | 52 +--- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/production-config b/production-config index 5fbca50..5e8a477 100644 --- a/production-config +++ b/production-config @@ -19,

[Xen-devel] [OSSTEST PATCH 10/32] readglobalconfig: Break out $readcfg as a sub

2015-03-24 Thread Ian Jackson
And make it use anonymous filehandles, and be able to not tolerate ENOENT. This is preparation for making it recursive (`Include'). No functional change. Signed-off-by: Ian Jackson --- Osstest.pm | 75 +--- 1 file changed, 41 insertions

[Xen-devel] [OSSTEST PATCH 14/32] daemons: Allow QueueDaemon and OwnerDaemon to run on different hosts

2015-03-24 Thread Ian Jackson
We want the OwnerDaemon to run on the same host as the database (for fate-sharing reasons). OTOH the QueueDaemon is less critical if it fails, and it generates reports etc., and wants to be more frequently updated, so it should run on the osstest VM. Permit this by: * Providing OwnerDaemonHost a

[Xen-devel] [OSSTEST PATCH 15/32] cr-ensure-disk-space: Emacs perl-mode syntax workaround

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- cr-ensure-disk-space |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index 1c66ea7..aeaf572 100755 --- a/cr-ensure-disk-space +++ b/cr-ensure-disk-space @@ -84,7 +84,7 @@ for (;;) { die "age $ag

[Xen-devel] [OSSTEST PATCH 00/32] Changes to support the new colo

2015-03-24 Thread Ian Jackson
This is the current patchset I am using in the new colo, tidied up. I think 01-29 are in principle suitable for pushing to the current live instance in Cambridge right away. 30-32 are changes to the config which will go wrong on the Cambridge instance. Thanks, Ian. _

[Xen-devel] [OSSTEST PATCH 18/32] cr-ensure-disk-space: Do df check on target.

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- cr-ensure-disk-space |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index 31880f7..6f129bd 100755 --- a/cr-ensure-disk-space +++ b/cr-ensure-disk-space @@ -60,7 +60,7 @@ sub ontarget ($) { } for

[Xen-devel] [OSSTEST PATCH 29/32] ts-kernel-build: enable CONFIG_SCSI_HPSA

2015-03-24 Thread Ian Jackson
--- ts-kernel-build |1 + 1 file changed, 1 insertion(+) diff --git a/ts-kernel-build b/ts-kernel-build index 4cbed44..8966336 100755 --- a/ts-kernel-build +++ b/ts-kernel-build @@ -159,6 +159,7 @@ setopt CONFIG_SCSI_NSP32 m setopt CONFIG_SCSI_PMCRAID m setopt CONFIG_SCSI_SRP m setopt CONF

[Xen-devel] [OSSTEST PATCH 24/32] cr-ensure-disk-space: Honour different config for published log expiry

2015-03-24 Thread Ian Jackson
Break out references to $c{Logs...} into new dircfg() function, and look up $c{${cfgbase}...} first. No functional change with existing config. Signed-off-by: Ian Jackson --- cr-ensure-disk-space | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cr-ensure-disk-sp

[Xen-devel] [OSSTEST PATCH 04/32] pxe setup: Define %name% in templates

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm |1 + README |1 + 2 files changed, 2 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 8754e22..5677946 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -2017,6 +2017,

[Xen-devel] [OSSTEST PATCH 02/32] PDU: pdu-msw: Split $read_oid and $write_oid

2015-03-24 Thread Ian Jackson
Some PDUs have a different OID space for turning ports on and off, to the one for querying. To make this easier to handle, split the variable $oid into $read_oid and $write_oid. Also move $baseoid settings earlier so that we can modify them with command-line arguments. No functional change in th

[Xen-devel] [OSSTEST PATCH 07/32] pxe setup: New TftpPxeTemplatesReal feature

2015-03-24 Thread Ian Jackson
Rather than having mg-hosts mkpxedir hardcode the strange thing done in the XenClient test lab in the Citrix Cambridge office, provide a somewhat more general and correct approach: * Generalise host_pxefile to support [Tftp]PxeTemplatesReal as well as [Tftp]PxeTemplates. * Default [Tftp]PxeTempl

[Xen-devel] [OSSTEST PATCH 26/32] HostnameSortSwapWords: Make name order mangling configurable

2015-03-24 Thread Ian Jackson
We still default to having the mangling enabled. Arguably this is wrong I'm am minimising the number of things that will be wrong for the existing Cambridge instance. Signed-off-by: Ian Jackson --- Osstest.pm |2 ++ mg-hosts |5 +++-- ms-planner |4 +++- 3 files changed, 8 inserti

[Xen-devel] [OSSTEST PATCH 19/32] cr-ensure-disk-space: Do listing of flights on target.

2015-03-24 Thread Ian Jackson
Signed-off-by: Ian Jackson --- cr-ensure-disk-space | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index 6f129bd..af8efe6 100755 --- a/cr-ensure-disk-space +++ b/cr-ensure-disk-space @@ -71,11 +71,13 @@ for (;;) {

Re: [Xen-devel] [PATCH v2 0/2] iommu: add rmrr Xen command line option

2015-03-24 Thread Elena Ufimtseva
On Tue, Mar 24, 2015 at 04:19:24PM +, Jan Beulich wrote: > >>> On 24.03.15 at 17:08, wrote: > > Changes in v2: > > > > > > - move rmrr parser to dmar.c and make it custom_param; > > > > > > - chang

Re: [Xen-devel] [PATCH OSSTEST] Arrange for core dumps to be placed in /var/core and collect them

2015-03-24 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST] Arrange for core dumps to be placed in /var/core and collect them"): > On Tue, 2015-03-24 at 12:40 +, Ian Jackson wrote: > > I think you should add /var/core to the leak check step. > > Which in practice just means listing it in the arugment to > inve

Re: [Xen-devel] OpenStack - Libvirt+Xen CI overview : anyone interested in a walk/through or presentation on how it works

2015-03-24 Thread Lars Kurth
I propose to set this up for the week of April 14th or the week after. A lot of people are on Easter vacation/holiday before Lars > On 18 Mar 2015, at 14:37, Wei Liu wrote: > > On Wed, Mar 18, 2015 at 01:12:50PM +, Lars Kurth wrote: >> Hi, >> >> I added all the people who raised their hand

Re: [Xen-devel] [PATCH v3] xen/passthrough: Support a single iommu_domain per xen domain per SMMU

2015-03-24 Thread Julien Grall
Hello Robert, On 24/03/2015 16:42, Robbie VanVossen wrote: If multiple devices are being passed through to the same domain and they share a single SMMU, then they only require a single iommu_domain. In arm_smmu_assign_dev, before a new iommu_domain is created, the xen_domain->contexts is checke

Re: [Xen-devel] [PATCH] libxl: fix dom0 balloon logic

2015-03-24 Thread Stefano Stabellini
On Mon, 23 Mar 2015, Ian Campbell wrote: > (just ccing the other tools maintainers, in particular Stefano who knows > what this stuff is supposed to do...) > > On Fri, 2015-03-20 at 17:10 -0600, Jim Fehlig wrote: > > Recent testing on large memory systems revealed a bug in the Xen xl > > tool's fr

Re: [Xen-devel] [PATCH v3 1/3] libxl/cpumap: Add xc_cpumap_[setcpu, clearcpu, testcpu] to complement xc_cpumap_alloc.

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 11:39 -0400, Konrad Rzeszutek Wilk wrote: Please make sure you CC all of the toolstack maintainers. > +void xc_cpumap_clearcpu(int cpu, xc_cpumap_t map) > +{ > +clear_bit(cpu, (unsigned long *)map); Is it necessary to worry about alignment here, since xc_cpumap_t is act

[Xen-devel] [qemu-upstream-4.4-testing test] 36617: regressions - FAIL

2015-03-24 Thread xen . org
flight 36617 qemu-upstream-4.4-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/36617/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-winxpsp3 7 windows-install fail REGR. vs. 31663 Tests w

Re: [Xen-devel] 3.18 xen-pcifront regression?

2015-03-24 Thread Bjorn Helgaas
[+cc Rafael, linux-pci, linux-acpi] On Tue, Mar 24, 2015 at 11:28:06AM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Mar 24, 2015 at 11:14:29AM -0400, Michael D Labriola wrote: > > I'm having problems booting a 3.18 or newer domU w/ PCI devices passed > > through. It only seems to be the domU ke

Re: [Xen-devel] [PATCH v3 1/5] libxl: introduce libxl__device_model_xs_path

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 16:53 +, Ian Campbell wrote: > On Tue, 2015-03-24 at 14:49 +, Wei Liu wrote: > > On Tue, Mar 24, 2015 at 02:32:42PM +, Ian Campbell wrote: > > > On Fri, 2015-03-20 at 16:19 +, Wei Liu wrote: > > > > +_hidden char *libxl__device_model_xs_path(libxl__gc *gc, uint

Re: [Xen-devel] [PATCH v3 5/5] Revert "x86/hvm: wait for at least one ioreq server to be enabled"

2015-03-24 Thread Ian Campbell
On Fri, 2015-03-20 at 16:43 +, Jan Beulich wrote: > >>> On 20.03.15 at 17:19, wrote: > > This reverts commit dd748d128d86996592afafea02e578cc7d4e6d42. > > > > We don't need this workaround anymore since we have fixed the toolstack > > interlock problem that affects stubdom. > > > > Signed-of

Re: [Xen-devel] [PATCH v3 4/5] libxl: use new QEMU xenstore protocol

2015-03-24 Thread Ian Campbell
On Fri, 2015-03-20 at 16:19 +, Wei Liu wrote: > Note: > Config.mk should be updated in this patch as well. > The patch to QEMU traditional can be found at ><1426243119-24591-1-git-send-email-wei.l...@citrix.com> I knew about this but completely forgot when it came to applying. Ian J has s

[Xen-devel] [PATCH] xenstore: use relative path for device-model node

2015-03-24 Thread Ian Jackson
Wei Liu writes ("[PATCH] xenstore: use relative path for device-model node"): > Signed-off-by: Wei Liu This commit message needs to contain an explanation IMO for what appears like an incompatible change. (Perhaps you could copy some of the text from "libxl: use new QEMU xenstore protocol".) Th

Re: [Xen-devel] [RFC PATCH v2 14/22] xen/arm: its: Add emulation of ITS control registers

2015-03-24 Thread Julien Grall
Hello Vijay, On 19/03/2015 14:38, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K Add support for emulating GITS_* registers Signed-off-by: Vijaya Kumar K --- v2: - Each Virtual ITS is attached to Physical ITS. - Introduce helper function to lock and unlock virtual ITS lock.

Re: [Xen-devel] [Qemu-devel] Question about scsi emulation

2015-03-24 Thread Stefano Stabellini
On Tue, 24 Mar 2015, Juergen Gross wrote: > On 03/24/2015 01:20 AM, Yaoli Zheng wrote: > > Thank you for the advice! > > It will be grateful if someone can provide any guide how to config MegaSAS > > HBA or how to use xen pvscsi in XEN. > > There seems no option in XEN for these two driver emulati

Re: [Xen-devel] [PATCH v3] xentop: add support for qdisks

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 10:24 -0600, Charles Arnold wrote: > >>> On 3/24/2015 at 09:01 AM, Ian Campbell wrote: > > On Mon, 2015-03-23 at 20:55 -0600, Charles Arnold wrote: > > > >> +/* Get up to 1024 active domains */ > > > > What I meant last time was, is this limitation a concern? What if there

Re: [Xen-devel] [PATCH v4] xen/arm: Add RESERVE option to reserve non-leaf level table entries

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 17:14 +0530, vijay.kil...@gmail.com wrote: > From: Vijaya Kumar K > > On x86, for the pages mapped with PAGE_HYPERVISOR attribute > non-leaf page tables are allocated with valid pte entries. > and with MAP_SMALL_PAGES attribute only non-leaf page tables are > allocated with

Re: [Xen-devel] [PATCH v3 1/5] libxl: introduce libxl__device_model_xs_path

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 14:49 +, Wei Liu wrote: > On Tue, Mar 24, 2015 at 02:32:42PM +, Ian Campbell wrote: > > On Fri, 2015-03-20 at 16:19 +, Wei Liu wrote: > > > +_hidden char *libxl__device_model_xs_path(libxl__gc *gc, uint32_t > > > dm_domid, > > > +

Re: [Xen-devel] Xen unstability on HP Moonshot m400

2015-03-24 Thread Christoffer Dall
On Tue, Mar 24, 2015 at 3:00 PM, Mark Salter wrote: > On Tue, 2015-03-24 at 09:54 -0400, Mark Salter wrote: > > On Mon, 2015-03-23 at 23:58 +, Stefano Stabellini wrote: > > > On Mon, 23 Mar 2015, Christoffer Dall wrote: > > > > On Mon, Mar 23, 2015 at 1:36 PM, Ian Campbell < > ian.campb...@ci

[Xen-devel] [PATCH v3] xen/passthrough: Support a single iommu_domain per xen domain per SMMU

2015-03-24 Thread Robbie VanVossen
If multiple devices are being passed through to the same domain and they share a single SMMU, then they only require a single iommu_domain. In arm_smmu_assign_dev, before a new iommu_domain is created, the xen_domain->contexts is checked for any iommu_domains that are already assigned to device th

Re: [Xen-devel] [PATCH v3] xentop: add support for qdisks

2015-03-24 Thread Charles Arnold
>>> On 3/24/2015 at 09:01 AM, Ian Campbell wrote: > On Mon, 2015-03-23 at 20:55 -0600, Charles Arnold wrote: > >> +/* Get up to 1024 active domains */ > > What I meant last time was, is this limitation a concern? What if there > are 1025 domains? This is actually a limit I picked up from libxl

Re: [Xen-devel] [PATCH v2 0/2] iommu: add rmrr Xen command line option

2015-03-24 Thread Jan Beulich
>>> On 24.03.15 at 17:08, wrote: > Changes in v2: > > - move rmrr parser to dmar.c and make it custom_param; > > - change of rmrr command line oprion format; since adding multiple device > per range sup

Re: [Xen-devel] Ian vs Ian, round 0 Was:Re: [PATCH v3 7/7] libxl/vcpu-set - allow to decrease vcpu count on overcommitted guests (v3)

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 11:56 -0400, Konrad Rzeszutek Wilk wrote: > > More generally all of these rc == ERROR_DOMAIN_NOTFOUND check and prints > > are going to get rather tiresome, especially if/when there are other > > interesting error codes. Perhaps we could arrange for something further > > down

Re: [Xen-devel] [PATCH 5/5] hvmloader: add knob for fixed VGABIOS date string

2015-03-24 Thread Ian Campbell
On Fri, 2015-03-20 at 18:24 +0100, Olaf Hering wrote: > To allow reproducible builds of hvmloader introduce a make variable > VGABIOS_REL_DATE="dd Mon " to provide a fixed date string. Without > this change the hvmloader binary changes with every rebuild. > > Signed-off-by: Olaf Hering > Cc:

[Xen-devel] [PATCH v2 1/2] iommu VT-d: separate rmrr addition function

2015-03-24 Thread elena . ufimtseva
From: Elena Ufimtseva In preparation for auxiliary RMRR data provided on Xen command line, make RMRR adding a separate function. No functional changes. Signed-off-by: Elena Ufimtseva --- xen/drivers/passthrough/vtd/dmar.c | 125 - 1 file changed, 66 insertio

[Xen-devel] [PATCH v2 2/2] iommu: add rmrr Xen command line option for misc rmrrs

2015-03-24 Thread elena . ufimtseva
From: Elena Ufimtseva On some platforms RMRR regions may be not specified in ACPI and thus will not be mapped 1:1 in dom0. This causes IO Page Faults and prevents dom0 from booting in PVH mode. New Xen command line option rmrr allows to specify such devices and memory regions. These regions are a

Re: [Xen-devel] [PATCH 2/5] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file.

2015-03-24 Thread Ian Campbell
On Fri, 2015-03-20 at 18:24 +0100, Olaf Hering wrote: > It is already used in the runlevel script and the service file. > > Signed-off-by: Olaf Hering Acked-by: Ian Campbell > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu > --- > tools/hotplug/Linux/init.d/sysc

[Xen-devel] [PATCH v2 0/2] iommu: add rmrr Xen command line option

2015-03-24 Thread elena . ufimtseva
From: Elena Ufimtseva Add Xen command line option rmrr to specify RMRR regions for devices that are not defined in ACPI thus causing IO Page Fault while booting dom0 in PVH mode. These additional regions will be

Re: [Xen-devel] [PATCH v19 11/14] x86/VPMU: Handle PMU interrupts for PV guests

2015-03-24 Thread Jan Beulich
>>> On 24.03.15 at 16:47, wrote: > On 03/24/2015 11:36 AM, Jan Beulich wrote: > On 24.03.15 at 16:13, wrote: >>> On 03/24/2015 10:28 AM, Jan Beulich wrote: >>> On 17.03.15 at 15:54, wrote: > Changes in v19: > * Adjusted for new ops interfaces (passing vcpu vs. vpmu) > * Test

Re: [Xen-devel] [PATCH 1/3] libxl: check whether vcpu affinity and vnuma info match

2015-03-24 Thread Wei Liu
On Tue, Mar 24, 2015 at 03:47:27PM +, Dario Faggioli wrote: > On Tue, 2015-03-24 at 14:41 +, Wei Liu wrote: > > On Tue, Mar 24, 2015 at 02:41:48PM +0100, Dario Faggioli wrote: > > > Currently all the checks that returns error are all guest visible > > mis-configurations. I'm trying to reas

[Xen-devel] Ian vs Ian, round 0 Was:Re: [PATCH v3 7/7] libxl/vcpu-set - allow to decrease vcpu count on overcommitted guests (v3)

2015-03-24 Thread Konrad Rzeszutek Wilk
On Tue, Mar 24, 2015 at 03:41:46PM +, Ian Campbell wrote: > On Mon, 2015-03-23 at 14:21 -0400, Konrad Rzeszutek Wilk wrote: > > We have a check to warn the user if they are overcommitting. > > But the check only checks the hosts CPU amount and does > > not take into account the case when the us

Re: [Xen-devel] [PATCH 3/5] INSTALL: mention variables for reproducible builds

2015-03-24 Thread Ian Campbell
On Fri, 2015-03-20 at 18:24 +0100, Olaf Hering wrote: > Mention two variables introduced by commit ac977f5 ("use more fixed > strings to build the hypervisor"). > > Signed-off-by: Olaf Hering > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Keir Fraser > Cc: Tim Deegan > --- > I

Re: [Xen-devel] [PATCH v19 11/14] x86/VPMU: Handle PMU interrupts for PV guests

2015-03-24 Thread Boris Ostrovsky
On 03/24/2015 11:36 AM, Jan Beulich wrote: On 24.03.15 at 16:13, wrote: On 03/24/2015 10:28 AM, Jan Beulich wrote: On 17.03.15 at 15:54, wrote: Changes in v19: * Adjusted for new ops interfaces (passing vcpu vs. vpmu) * Test for domain->max_cpu in choose_hwdom_vcpu() instead of 'domain->vcpu

Re: [Xen-devel] [PATCH 1/3] libxl: check whether vcpu affinity and vnuma info match

2015-03-24 Thread Dario Faggioli
On Tue, 2015-03-24 at 14:41 +, Wei Liu wrote: > On Tue, Mar 24, 2015 at 02:41:48PM +0100, Dario Faggioli wrote: > Currently all the checks that returns error are all guest visible > mis-configurations. I'm trying to reason whether we should return an > error or just print a warning. > > What

Re: [Xen-devel] [PATCH v3 2/7] libxl: Add to libxl__domain_type a new return value (LIBXL_DOMAIN_TYPE_NOTFOUND)

2015-03-24 Thread Konrad Rzeszutek Wilk
On Tue, Mar 24, 2015 at 03:15:30PM +, Ian Campbell wrote: > On Mon, 2015-03-23 at 14:20 -0400, Konrad Rzeszutek Wilk wrote: > > So that the callers can distinguish between an error and > > an domain not found. The exposed API calls that are effected > > by this are: libxl_domain_[remus_start,su

Re: [Xen-devel] [PATCH v3 7/7] libxl/vcpu-set - allow to decrease vcpu count on overcommitted guests (v3)

2015-03-24 Thread Ian Campbell
On Mon, 2015-03-23 at 14:21 -0400, Konrad Rzeszutek Wilk wrote: > We have a check to warn the user if they are overcommitting. > But the check only checks the hosts CPU amount and does > not take into account the case when the user is trying to fix > the overcommit. That is - they want to limit the

Re: [Xen-devel] [PATCH 1/2] introduce gprintk()

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 15:12 +, Julien Grall wrote: > Hi Ian, > > On 24/03/2015 14:20, Ian Campbell wrote: > > @@ -1709,7 +1707,6 @@ static void do_cp15_64(struct cpu_user_regs *regs, > > break; > > default: > > { > > -#ifndef NDEBUG > > struct hsr_cp64 c

[Xen-devel] [PATCH v3 1/3] libxl/cpumap: Add xc_cpumap_[setcpu, clearcpu, testcpu] to complement xc_cpumap_alloc.

2015-03-24 Thread Konrad Rzeszutek Wilk
We export the xc_cpumap_alloc but not the bit operations. One could include 'xc_bitops.h' but that is naughty - so instead we just export the proper functions to do it on the xc_cpumap_t typedef. Signed-off-by: Konrad Rzeszutek Wilk --- tools/libxc/include/xenctrl.h | 9 + tools/libxc/x

[Xen-devel] [PATCH v3 3/3] xentrace: Implement cpu mask range parsing of human values (-c).

2015-03-24 Thread Konrad Rzeszutek Wilk
Instead of just using -c 0x we can also use -c - or -c , or a combination of them. Also it can include just singular CPUs: -c , or ranges without an start or end (and xentrace will figure out the values), such as: -c - (which will include cpu0, cpu1, and cpu2) or -c - (which will include cpu2 and u

  1   2   3   >