Re: [Xen-devel] [RFC v1 11/15] vmx: Add a global wake-up vector for VT-d Posted-Interrupts

2015-04-02 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Thursday, April 02, 2015 2:01 PM > To: Wu, Feng; xen-devel@lists.xen.org > Cc: jbeul...@suse.com; k...@xen.org; Zhang, Yang Z > Subject: RE: [RFC v1 11/15] vmx: Add a global wake-up vector for VT-d > Posted-Interrupts > > > From: Wu, Feng

Re: [Xen-devel] [RFC v1 12/15] vmx: Properly handle notification event when vCPU is running

2015-04-02 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Thursday, April 02, 2015 2:08 PM > To: Wu, Feng; Zhang, Yang Z; xen-devel@lists.xen.org > Cc: jbeul...@suse.com; k...@xen.org > Subject: RE: [RFC v1 12/15] vmx: Properly handle notification event when vCPU > is running > > > From: Wu, Feng

Re: [Xen-devel] [RFC v1 09/15] Add a new per-vCPU tasklet to wakeup the blocked vCPU

2015-04-02 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Thursday, April 02, 2015 1:53 PM > To: Wu, Feng; xen-devel@lists.xen.org > Cc: jbeul...@suse.com; k...@xen.org; Zhang, Yang Z > Subject: RE: [RFC v1 09/15] Add a new per-vCPU tasklet to wakeup the blocked > vCPU > > > From: Wu, Feng > > Se

[Xen-devel] [PATCH] x86/xen: Warn when there's no mfn for pfn

2015-04-02 Thread Ross Lagerwall
I recently had to debug dom0 taking a fatal page fault and it would have been useful if it warned when creating a non-present pte if there's no mfn for a pfn. Signed-off-by: Ross Lagerwall --- arch/x86/xen/mmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/xen/mmu.c b/arch/x86/xe

[Xen-devel] [PATCH OSSTEST] ts-xen-*: Avoid use of uninitialised $r{"enable_xsm"}

2015-04-02 Thread Ian Campbell
Use of uninitialized value $r{"enable_xsm"} in pattern match (m//) at ./ts-xen-install line 49. Signed-off-by: Ian Campbell --- ts-xen-build | 2 +- ts-xen-install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-xen-build b/ts-xen-build index e757f68..a530731 100755

Re: [Xen-devel] [RFC v1 08/15] Update IRTE according to guest interrupt config changes

2015-04-02 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Thursday, April 02, 2015 2:50 PM > To: Wu, Feng; xen-devel@lists.xen.org > Cc: jbeul...@suse.com; k...@xen.org; Zhang, Yang Z > Subject: RE: [RFC v1 08/15] Update IRTE according to guest interrupt config > changes > > > From: Wu, Feng > >

Re: [Xen-devel] [OSSTEST Nested PATCH v7 5/6] Add test job for nest test case

2015-04-02 Thread Pang, LongtaoX
> -Original Message- > From: Ian Campbell [mailto:ian.campb...@citrix.com] > Sent: Tuesday, March 31, 2015 10:23 PM > To: Pang, LongtaoX > Cc: xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; wei.l...@citrix.com; > Hu, Robert > Subject: Re: [OSSTEST Nested PATCH v7 5/6] Add test job fo

[Xen-devel] [PATCH 1/2] x86/efi: Reserve SMBIOS table region when EFI booting

2015-04-02 Thread Ross Lagerwall
Some EFI firmware implementations may place the SMBIOS table in RAM marked as BootServicesData, which Xen does not consider as reserved. When dom0 tries to access the SMBIOS, the region is not contained in the initial P2M and it crashes with a page fault. To fix this, reserve the SMBIOS region. Al

Re: [Xen-devel] [RFC PATCH v2 06/22] xen/arm: its: Port ITS driver to xen

2015-04-02 Thread Vijay Kilari
On Wed, Apr 1, 2015 at 5:04 PM, Ian Campbell wrote: > On Thu, 2015-03-19 at 20:07 +0530, vijay.kil...@gmail.com wrote: >> From: Vijaya Kumar K >> >> This patch just makes ITS driver taken from linux >> compiles in xen environment. > > What is your intention wrt future updates to this driver? > >

[Xen-devel] [PATCH 2/2] x86/efi: Fix memcmp check

2015-04-02 Thread Ross Lagerwall
Signed-off-by: Ross Lagerwall --- xen/arch/x86/dmi_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/dmi_scan.c b/xen/arch/x86/dmi_scan.c index ec411e6..3749688 100644 --- a/xen/arch/x86/dmi_scan.c +++ b/xen/arch/x86/dmi_scan.c @@ -203,7 +203,7 @@ void __init

Re: [Xen-devel] [RFC v1 13/15] Update Posted-Interrupts Descriptor during vCPU scheduling

2015-04-02 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Thursday, April 02, 2015 2:25 PM > To: Wu, Feng; xen-devel@lists.xen.org > Cc: jbeul...@suse.com; k...@xen.org; Zhang, Yang Z > Subject: RE: [RFC v1 13/15] Update Posted-Interrupts Descriptor during vCPU > scheduling > > > From: Wu, Feng >

Re: [Xen-devel] [PATCH] x86/xen: Warn when there's no mfn for pfn

2015-04-02 Thread David Vrabel
On 02/04/15 08:28, Ross Lagerwall wrote: > I recently had to debug dom0 taking a fatal page fault and it would have > been useful if it warned when creating a non-present pte if there's no > mfn for a pfn. This will trigger for ever PTE covering memory hotplugged by the balloon driver, so I don't

Re: [Xen-devel] Migration v2 and related work for 4.6

2015-04-02 Thread Ian Campbell
On Wed, 2015-04-01 at 12:03 +0100, Andrew Cooper wrote: > I propose that the libxc series be accepted independently of the libxl > series. That is most likely a good idea IMHO. What do you estimate the chances of the libxl bit being done for 4.6 to be? Is there an option of actually switching to

Re: [Xen-devel] [ANNOUNCE] Project Raisin

2015-04-02 Thread Ian Campbell
On Tue, 2015-03-31 at 11:16 +0100, Stefano Stabellini wrote: > Hi all, > > A few weeks ago I started hacking on a new project, consisting in a set > of bash scripts to build xen-unstable and a few other useful elements. > It is still in very early stages. > > The name of the new project is "Raisi

Re: [Xen-devel] [PATCH] x86/xen: Warn when there's no mfn for pfn

2015-04-02 Thread Ross Lagerwall
On 04/02/2015 10:00 AM, David Vrabel wrote: On 02/04/15 08:28, Ross Lagerwall wrote: I recently had to debug dom0 taking a fatal page fault and it would have been useful if it warned when creating a non-present pte if there's no mfn for a pfn. This will trigger for ever PTE covering memory hot

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-02 Thread Ian Campbell
On Wed, 2015-04-01 at 13:02 +0100, Julien Grall wrote: > On 01/04/15 12:46, Ian Campbell wrote: > > On Mon, 2015-03-30 at 16:47 +0100, Julien Grall wrote: > >>> In any case ITS commands are processed in synchronously. So any VCPU that > >>> send ITS commands is blocked. > > > > What exactly is syn

Re: [Xen-devel] [OSSTEST Nested PATCH v7 5/6] Add test job for nest test case

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 08:16 +, Pang, LongtaoX wrote: > > > > -Original Message- > > From: Ian Campbell [mailto:ian.campb...@citrix.com] > > Sent: Tuesday, March 31, 2015 10:23 PM > > To: Pang, LongtaoX > > Cc: xen-devel@lists.xen.org; ian.jack...@eu.citrix.com; wei.l...@citrix.com; >

[Xen-devel] [PATCH OSSTEST v4 00/25] add distro domU testing flight

2015-04-02 Thread Ian Campbell
Hi, It's been a long time since v3 of this series, which was http://article.gmane.org/gmane.comp.emulators.xen.devel/224415. That contains the background which I won't repeat here. Since then I have done the big rebase, addressed the review feed back from last time (I think!) and added a new feat

[Xen-devel] [PATCH OSSTEST v4 08/25] make-flight: Handle $BUILD_LVEXTEND_MAX in mfi-common:create_build_jobs()

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell --- v3: New patch --- make-flight | 4 mfi-common | 4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/make-flight b/make-flight index cc8ecdb..ec0a20c 100755 --- a/make-flight +++ b/make-flight @@ -36,10 +36,6 @@ defguestsuite=`getconfig Gues

[Xen-devel] [PATCH OSSTEST v4 09/25] distros: add support for installing Debian PV guests via d-i, flight and jobs

2015-04-02 Thread Ian Campbell
This patch introduces ts-debian-di-install which can install Debian from a netboot (PXE) debian installer image. By default it installs from the d-i image used by osstest (using the special Xen PV guest enabled flavour where necessary) but it can also install the current release versions from Squee

[Xen-devel] [PATCH OSSTEST v4 16/25] Debian: Handle lack of bootloader support in d-i on ARM.

2015-04-02 Thread Ian Campbell
Debian doesn't currently know what bootloader to install in a Xen guest on ARM. We install pv-grub-menu above which actually does what we need, but the installer doesn't treat that as a "bootloader". Most ARM platforms end up installing a u-boot boot.scr, based on a platform whitelist. This doesn'

[Xen-devel] [PATCH OSSTEST v4 18/25] ts-debian-di-install: Refactor root_disk specification

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell --- v4: new patch --- ts-debian-di-install | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ts-debian-di-install b/ts-debian-di-install index 56b6ad8..281e7cb 100755 --- a/ts-debian-di-install +++ b/ts-debian-di-install @@ -205,12 +205,14 @@ EN

[Xen-devel] [PATCH OSSTEST v4 06/25] Debian: Refactor installation of overlays, so it can be used for guests too

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell Cc: longtaox.p...@intel.com --- v3: New patch --- Osstest/Debian.pm | 57 --- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index db89326..13cd147 100644 --- a/O

[Xen-devel] [PATCH OSSTEST v4 05/25] Debian: refactor preseeding of .ssh directories

2015-04-02 Thread Ian Campbell
Causes known_hosts to be consistently created as well as ~osstest/.ssh to be consistently populated (it previsouly wasn't for HVM guests). Signed-off-by: Ian Campbell Cc: longtaox.p...@intel.com --- v3: New patch --- Osstest/Debian.pm | 99 +--

[Xen-devel] [PATCH OSSTEST v4 11/25] distros: Support pvgrub for Wheezy too.

2015-04-02 Thread Ian Campbell
This requires us to install pv-grub-menu from backports, which we do using a late_command. Signed-off-by: Ian Campbell --- v3: - Remove spurious () from <<(END) (and the prexisting "" too) - Remove $xopts{EnableBackports} and automatically handle the need to add backports in preseed_base.

[Xen-devel] [PATCH OSSTEST v4 04/25] Debian: refactor code to add preseed commands to the preseed file

2015-04-02 Thread Ian Campbell
Call it from ts-debian-hvm-install. Signed-off-by: Ian Campbell Cc: longtaox.p...@intel.com --- v3: New patch --- Osstest/Debian.pm | 16 +++- ts-debian-hvm-install | 3 +++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm ind

[Xen-devel] [PATCH OSSTEST v4 22/25] make-distros-flight: don't bother building for XSM.

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell --- make-distros-flight | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/make-distros-flight b/make-distros-flight index 2724dd2..62c527b 100755 --- a/make-distros-flight +++ b/make-distros-flight @@ -34,7 +34,10 @@ defsuite=`getconfig DebianSuit

[Xen-devel] [PATCH OSSTEST v4 17/25] standalone: propagate result of command from with_logging

2015-04-02 Thread Ian Campbell
Such that the overall script gets the return code of the test/job which was run. Signed-off-by: Ian Campbell --- standalone | 1 + 1 file changed, 1 insertion(+) diff --git a/standalone b/standalone index caf3fd5..3189e84 100755 --- a/standalone +++ b/standalone @@ -156,6 +156,7 @@ with_logging

[Xen-devel] [PATCH OSSTEST v4 19/25] make-flight: refactor PV debian tests

2015-04-02 Thread Ian Campbell
No functional change, standalong-generate-dump-flight-runvars confirms no change to the runvars. Includes a hook which is not used yet, $recipe_sfx. Signed-off-by: Ian Campbell --- v4: new patch --- make-flight | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) di

[Xen-devel] [PATCH OSSTEST v4 12/25] distros: support PV guest install from Debian netinst media.

2015-04-02 Thread Ian Campbell
The netinst media are iso images containing a base Debian install and some (image size dependent) additional tasks. On x86 the "multiarch" iso flavour contains a Xen capable kernel for both i386 and amd64 so use that. This adds support for two classes of ISO, the CD sized ones which are built nig

[Xen-devel] [PATCH OSSTEST v4 03/25] create_webfile: Support use with guests as well as hosts.

2015-04-02 Thread Ian Campbell
In particular make the path unique by ensuring it includes the host and guest name in the guest case. Signed-off-by: Ian Campbell --- v3: New patch --- Osstest/TestSupport.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 490e16d..8f67

[Xen-devel] [PATCH OSSTEST v4 21/25] mfi-common: Allow make-*flight to filter the set of build jobs to include

2015-04-02 Thread Ian Campbell
By using the same job_create_build(_filter_callback) scheme used for the test jobs. Will be used in make-distros-flight. Signed-off-by: Ian Campbell --- make-distros-flight | 4 make-flight | 4 mfi-common | 21 +++-- 3 files changed, 23 insertions(+

[Xen-devel] [PATCH OSSTEST v4 13/25] Test pygrub and pvgrub on the regular flights

2015-04-02 Thread Ian Campbell
Since we now have the ability to test these drop one of each of pygrub, pvgrub-32 and pvgrub-64 into the standard flights. Omitting the {Guest}_diver runvar causes ts-debian-di-install to use the d-i images in the location configured via TftpDiVersion, so they are Version Controlled along with the

[Xen-devel] [PATCH OSSTEST v4 07/25] Debian: add preseed_create_guest helper

2015-04-02 Thread Ian Campbell
Creates a preseed file suitable for use in a PV guest Signed-off-by: Ian Campbell --- v4: Rebase, pass $ho to preseed_base v3: Handle $xopts{ExtraPreseed} undefined in preseed_base --- Osstest/Debian.pm | 29 + 1 file changed, 29 insertions(+) diff --git a/Osstest/De

[Xen-devel] [PATCH OSSTEST v4 10/25] distros: support booting Debian PV (d-i installed) guests with pvgrub.

2015-04-02 Thread Ian Campbell
This requires the use of the pv-grub-menu package which is in Jessie onwards. (it is in wheezy-backports which is the subject of a subsequent patch). The bootloader to use is specified via a runvar {Guest}_bootloader. Adjust make-distros-flight to use pvgrub for some subset of i386 and amd64 gue

[Xen-devel] [PATCH OSSTEST v4 20/25] Add testing of non-LVM/phy disk backends.

2015-04-02 Thread Ian Campbell
xen-create-image makes this tricky to do since it is rather LVM centric. Now that we have the ability to install from d-i it's possible to arrange fairly easily that they use non-LVM disk backend arrangements. Here we add support to the test script and infra and create a bunch of new jobs testing

[Xen-devel] [PATCH OSSTEST v4 01/25] TestSupport: Add helper to fetch a URL on a host

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell --- v3: Make sure wget is installed --- Osstest/Debian.pm | 2 +- Osstest/TestSupport.pm | 9 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 69530fb..5e6bcba 100644 --- a/Osstest/Debian.pm +++ b

[Xen-devel] [PATCH OSSTEST v4 14/25] distros: add branch infrastructure

2015-04-02 Thread Ian Campbell
Since the distro nightlies are not version controlled we cannot use the usual mechanisms for detecting regressions. Special case things appropriately. We use an OLD_REVISION of "flight-NNN" to signify that the old revision is another flight and not a tree revision. A grep over $NEW_REVISION needed

[Xen-devel] [PATCH OSSTEST v4 02/25] TestSupport: allow caller of prepareguest_part_xencfg to specify viftype

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell -- v3: Use CamelCase for xopts, use the correct condition --- Osstest/TestSupport.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index c4adc48..490e16d 100644 --- a/Osstest/TestSupport.pm +++ b/

[Xen-devel] [PATCH OSSTEST v4 15/25] distros: Run a flight over the weekend.

2015-04-02 Thread Ian Campbell
Once a week should be sufficient for this test. It involves quite a large number of jobs so schedule it to start early on Saturday so it can run over the weekend when, in theory, things should be quieter. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- crontab | 1 + 1 file changed, 1 ins

[Xen-devel] [PATCH OSSTEST v4 23/25] Debian.pm: Assume 100MB/s dd from /dev/zero when creating a raw disk image

2015-04-02 Thread Ian Campbell
In my local test: 1+0 records in 1+0 records out 1048576 bytes (10 GB) copied, 80.8332 s, 130 MB/s Signed-off-by: Ian Campbell --- Osstest/TestSupport.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 61fd7

[Xen-devel] [PATCH OSSTEST v4 25/25] ts-debian-di-install: Use ftp.debian.org directly

2015-04-02 Thread Ian Campbell
The local proxy seems to serve stale packages for Jessie etc, I blame the intercepting cache on the way out of our network, similar to b5f15136900d "mg-debian-installer-update: workaround caching proxies", except it is between the apt-cache and the world not the osstest vm and the world. Since the

[Xen-devel] [PATCH OSSTEST v4 24/25] distros: email only me on play flights

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell --- daily-cron-email-play--distros | 1 + 1 file changed, 1 insertion(+) create mode 100644 daily-cron-email-play--distros diff --git a/daily-cron-email-play--distros b/daily-cron-email-play--distros new file mode 100644 index 000..0d82e65 --- /dev/null +++ b/dai

Re: [Xen-devel] [RFC PATCH v2 06/22] xen/arm: its: Port ITS driver to xen

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 13:55 +0530, Vijay Kilari wrote: > On Wed, Apr 1, 2015 at 5:04 PM, Ian Campbell wrote: > > On Thu, 2015-03-19 at 20:07 +0530, vijay.kil...@gmail.com wrote: > >> From: Vijaya Kumar K > >> > >> This patch just makes ITS driver taken from linux > >> compiles in xen environment.

Re: [Xen-devel] ENC:[Xen-users] Failed to insert 'xen_evtchn': No such device

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 08:23 +0200, Olaf Hering wrote: > On Wed, Apr 01, Carlos Gustavo Ramirez Rodriguez wrote: > > Second Problem: > > My boot.log is showing: > > > > " > > [ [1;31mFAILED [0m] Failed to start Load Kernel Modules. > > See "systemctl status systemd-modules-load.service" for details

Re: [Xen-devel] Migration v2 and related work for 4.6

2015-04-02 Thread Andrew Cooper
On 02/04/15 10:03, Ian Campbell wrote: > On Wed, 2015-04-01 at 12:03 +0100, Andrew Cooper wrote: >> I propose that the libxc series be accepted independently of the libxl >> series. > That is most likely a good idea IMHO. > > What do you estimate the chances of the libxl bit being done for 4.6 to >

Re: [Xen-devel] [PATCH 2/2] x86/efi: Fix memcmp check

2015-04-02 Thread Andrew Cooper
On 02/04/15 09:24, Ross Lagerwall wrote: > Signed-off-by: Ross Lagerwall Reviewed-by: Andrew Cooper > --- > xen/arch/x86/dmi_scan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/arch/x86/dmi_scan.c b/xen/arch/x86/dmi_scan.c > index ec411e6..3749688 100644 > --- a

Re: [Xen-devel] [PATCH 2/4 v2] INSTALL: mention variables for reproducible builds

2015-04-02 Thread Ian Campbell
On Wed, 2015-04-01 at 13:28 +, Olaf Hering wrote: > Mention two variables introduced by commit ac977f5 ("use more fixed > strings to build the hypervisor"). > > Signed-off-by: Olaf Hering Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-dev

Re: [Xen-devel] [PATCH 1/2] x86/efi: Reserve SMBIOS table region when EFI booting

2015-04-02 Thread Andrew Cooper
On 02/04/15 09:24, Ross Lagerwall wrote: > Some EFI firmware implementations may place the SMBIOS table in RAM > marked as BootServicesData, which Xen does not consider as reserved. > When dom0 tries to access the SMBIOS, the region is not contained in the > initial P2M and it crashes with a page f

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

2015-04-02 Thread Ian Campbell
On Wed, 2015-04-01 at 13:28 +, 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:

Re: [Xen-devel] about cr3 register

2015-04-02 Thread George Dunlap
On Wed, Apr 1, 2015 at 3:37 PM, HANNAS YAYA Issa wrote: > Hi > I am working on memory management in xen. I encounter a problem that I hope > you can help me to solve it. > I modified the struct mmu_update in xen and linux source code. I add two > fields cr3 and addr which respectively contains the

Re: [Xen-devel] [PATCH 01/10] VMX: Enable EPT A/D bit support

2015-04-02 Thread Andrew Cooper
On 02/04/15 07:32, Kai Huang wrote: > >>> + >>> table = map_domain_page(new_ept.mfn); >>> trunk = 1UL << ((level - 1) * EPT_TABLE_ORDER); >>> @@ -244,7 +247,7 @@ static int ept_split_super_page(struct >>> p2m_domain *p2m, ept_entry_t *ept_entry, >>> epte->sp = (level > 1); >

Re: [Xen-devel] [PATCH 02/10] VMX: New parameter to control PML enabling

2015-04-02 Thread Andrew Cooper
On 02/04/15 06:46, Kai Huang wrote: > > > On 03/28/2015 04:42 AM, Andrew Cooper wrote: >> On 27/03/15 02:35, Kai Huang wrote: >>> A top level EPT parameter "ept=" and a sub boolean >>> "pml_enable" are >>> added to control PML. Other booleans can be further added for any >>> other EPT >>> related f

Re: [Xen-devel] preparing for 4.5.1

2015-04-02 Thread Ian Campbell
On Thu, 2015-03-26 at 17:07 +, Jan Beulich wrote: > having been released mid January, it is time to get ready for 4.5.1-rc1. > Please reply with backport requests which you consider necessary but > still missing. Please also be patient with them being pulled in - I'll be > gone the coming two w

Re: [Xen-devel] [RFC PATCH v2 06/22] xen/arm: its: Port ITS driver to xen

2015-04-02 Thread Vijay Kilari
On Thu, Apr 2, 2015 at 2:55 PM, Ian Campbell wrote: > On Thu, 2015-04-02 at 13:55 +0530, Vijay Kilari wrote: >> On Wed, Apr 1, 2015 at 5:04 PM, Ian Campbell wrote: >> > On Thu, 2015-03-19 at 20:07 +0530, vijay.kil...@gmail.com wrote: >> >> From: Vijaya Kumar K >> >> >> >> This patch just makes I

Re: [Xen-devel] [PATCH 0/4 v2] tools: various changes

2015-04-02 Thread Ian Campbell
On Wed, 2015-04-01 at 13:28 +, Olaf Hering wrote: > A resend of this series, with comments addressed: > http://lists.xenproject.org/archives/html/xen-devel/2015-03/msg02645.html Applied with my acks on 1,2&4 and Jan's on 3. ___ Xen-devel mailing l

Re: [Xen-devel] [PATCH v5 p1 00/14] xen/arm: Add support for non-PCI passthrough

2015-04-02 Thread Ian Campbell
On Wed, 2015-04-01 at 17:21 +0100, Julien Grall wrote: > Hello all, > > This is the first part of the non-PCI passthrough series. It contains all > patches acked than can go now in Xen upstream. I applied the shovel to this whole series... ___ Xen-de

[Xen-devel] [PATCH RFC v2 0/3] xen/pvh: enable migration on PVH Dom0

2015-04-02 Thread Roger Pau Monne
This series enables migration of guests (either PV or HVM) from a PVH Dom0. Since the last round a new patch has been added (2/3) in order to fix shadow_track_dirty_vram when called from a hvm guest. Patch 3/3 has also been reworked according to Tim's comments in order to map the dirty_bitmap dest

[Xen-devel] [PATCH RFC v2 3/3] xen: rework paging_log_dirty_op to work with hvm guests

2015-04-02 Thread Roger Pau Monne
When the caller of paging_log_dirty_op is a hvm guest Xen would choke when trying to copy the dirty bitmap to the guest because the paging lock is already held. Fix this by independently mapping each page of the guest bitmap as needed without the paging lock held. Signed-off-by: Roger Pau Monné

[Xen-devel] [PATCH RFC v2 2/3] xen/shadow: fix shadow_track_dirty_vram to work on hvm guests

2015-04-02 Thread Roger Pau Monne
Modify shadow_track_dirty_vram to use a local buffer and then flush to the guest without the paging_lock held. This is modeled after hap_track_dirty_vram. Signed-off-by: Roger Pau Monné Cc: Tim Deegan Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/mm/shadow/common.c | 18 +++--

[Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Roger Pau Monne
This is needed for performing save/restore of PV guests. Signed-off-by: Roger Pau Monné Cc: Tim Deegan Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/hvm/hvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 3ff87c6..11680ba 100644

[Xen-devel] [PATCH OSSTEST] cambridge: Set HostProp_DhcpWatchMethod back to woking

2015-04-02 Thread Ian Campbell
Signed-off-by: Ian Campbell --- production-config-cambridge | 1 + 1 file changed, 1 insertion(+) diff --git a/production-config-cambridge b/production-config-cambridge index b3a7da5..a144cef 100644 --- a/production-config-cambridge +++ b/production-config-cambridge @@ -73,6 +73,7 @@ XenUseUser

[Xen-devel] [qemu-upstream-4.5-testing test] 50283: regressions - FAIL

2015-04-02 Thread osstest service user
flight 50283 qemu-upstream-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50283/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair 17 guest-migrate/src_host/dst_host fail REGR. vs. 36517 Tests w

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: > This is needed for performing save/restore of PV guests. It's quite a big interface though, isn't it? Could we restrict it to a subset of the operations perhaps? Or at least justify here how it has been audited and found to be safe to al

Re: [Xen-devel] [PATCH 01/19] xen: arm: constify union hsr and struct hsr_* where possible.

2015-04-02 Thread Julien Grall
Hi Ian, On 31/03/2015 11:07, Ian Campbell wrote: Signed-off-by: Ian Campbell Reviewed-by: Julien Grall Regards, --- xen/arch/arm/traps.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/

Re: [Xen-devel] [PATCH OSSTEST] cambridge: Set HostProp_DhcpWatchMethod back to woking

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] cambridge: Set HostProp_DhcpWatchMethod back to woking"): > Signed-off-by: Ian Campbell > --- > production-config-cambridge | 1 + This is (obviously) fine. I think that changes to this file from the Cambridge site operators (ie, each of us two ) should be

Re: [Xen-devel] [PATCH OSSTEST 1/5] cri-args-hostslists: allow instance specific settings

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 1/5] cri-args-hostslists: allow instance specific settings"): > In particular this new $HOME/.xen-osstest/cri-args-hostslists.settings > can contain things like "export > OSSTEST_CONFIG=production-config-cambridge" to tailor things for a > particular instance o

Re: [Xen-devel] [OSSTEST] ms-planner: add a flight summary html report

2015-04-02 Thread Ian Campbell
Resurrecting this old thing... On Wed, 2014-04-30 at 16:44 +0100, Ian Jackson wrote: > I think this is a nice thing to have, but: > > > +while (my ($reso,$evts) = each %{ $plan->{Events} }) { > > +# [osstest real] job 26010.test-amd64-amd64-xl-win7-amd64 > > +foreach my $evt (

Re: [Xen-devel] [PATCH OSSTEST] cambridge: Set HostProp_DhcpWatchMethod back to woking

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 11:51 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST] cambridge: Set HostProp_DhcpWatchMethod > back to woking"): > > Signed-off-by: Ian Campbell > > --- > > production-config-cambridge | 1 + > > This is (obviously) fine. I think that changes to this fil

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-02 Thread Julien Grall
Hi Ian, On 02/04/2015 10:13, Ian Campbell wrote: On Wed, 2015-04-01 at 13:02 +0100, Julien Grall wrote: On 01/04/15 12:46, Ian Campbell wrote: On Mon, 2015-03-30 at 16:47 +0100, Julien Grall wrote: In any case ITS commands are processed in synchronously. So any VCPU that send ITS commands is

Re: [Xen-devel] [PATCH OSSTEST 3/5] cambridge: Add a crontab

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 3/5] cambridge: Add a crontab"): > Right now all it does is keep osstest itself up to date. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH OSSTEST 2/5] Handle osstest's own local push gate in non-master production instances

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 2/5] Handle osstest's own local push gate in non-master production instances"): > We want to arrange that the master XenProject instance continues to > test its own pretest branch while any downstream instances will pickup > changes from the master instance's p

Re: [Xen-devel] [PATCH OSSTEST 4/5] cambridge: Do not try to push harness to XenProject instance output

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 4/5] cambridge: Do not try to push harness to XenProject instance output"): > By arranging for cr-publish-flight-logs to ignore --push-harness if > either of HarnessPublishGitRepoDir or HarnessPublishGitUserHost are > not specified Acked-by: Ian Jackson

Re: [Xen-devel] [PATCH OSSTEST 5/5] cambridge: Stop publishing logs to chiark

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST 5/5] cambridge: Stop publishing logs to chiark"): > http://osstest.cam.xci-test.com/~osstest/testlogs already exists and > points to the live logs directory, so switch PubBaseUrl to that in the > Cambridge config such that email reports etc contain it. This won

Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:06 +0100, Julien Grall wrote: > > Can we just enqueue with the hardware and use the guest vcpu polling > > loop to trigger us to check for completion? > > Enqueue may be long. I was thinking about suggesting to use a tasklet > for processing ITS command. We don't need t

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Roger Pau Monné
El 02/04/15 a les 12.42, Ian Campbell ha escrit: > On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: >> This is needed for performing save/restore of PV guests. > > It's quite a big interface though, isn't it? AFAICT it contains MMU_NORMAL_PT_UPDATE, MMU_PT_UPDATE_PRESERVE_AD and MMU_MACH

Re: [Xen-devel] [PATCH OSSTEST v4 06/25] Debian: Refactor installation of overlays, so it can be used for guests too

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v4 06/25] Debian: Refactor installation of overlays, so it can be used for guests too"): > Signed-off-by: Ian Campbell Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/

Re: [Xen-devel] [PATCH OSSTEST 5/5] cambridge: Stop publishing logs to chiark

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:16 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST 5/5] cambridge: Stop publishing logs to > chiark"): > > http://osstest.cam.xci-test.com/~osstest/testlogs already exists and > > points to the live logs directory, so switch PubBaseUrl to that in the > > C

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

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v4 04/25] Debian: refactor code to add preseed commands to the preseed file"): > Call it from ts-debian-hvm-install. Please expand the commit message. Something like: This means that, in future, ts-debian-hvm-install can use preseed_hook_command and presee

Re: [Xen-devel] [PATCH OSSTEST v4 05/25] Debian: refactor preseeding of .ssh directories

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v4 05/25] Debian: refactor preseeding of .ssh directories"): > Causes known_hosts to be consistently created as well as ~osstest/.ssh > to be consistently populated (it previsouly wasn't for HVM guests). Most of this is code motion, AFAICT. The difference is

Re: [Xen-devel] [PATCH OSSTEST v4 01/25] TestSupport: Add helper to fetch a URL on a host

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v4 01/25] TestSupport: Add helper to fetch a URL on a host"): > Signed-off-by: Ian Campbell We're not using this to fetch URLs on the public internet, are we ? If we are then we need to honour $c{HttpProxy}. Perhaps you could add a comment to the effect that

Re: [Xen-devel] [PATCH OSSTEST v4 02/25] TestSupport: allow caller of prepareguest_part_xencfg to specify viftype

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v4 02/25] TestSupport: allow caller of prepareguest_part_xencfg to specify viftype"): > Signed-off-by: Ian Campbell Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen

Re: [Xen-devel] [PATCH OSSTEST v4 03/25] create_webfile: Support use with guests as well as hosts.

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v4 03/25] create_webfile: Support use with guests as well as hosts."): > In particular make the path unique by ensuring it includes the host > and guest name in the guest case. Acked-by: Ian Jackson But I have a minor style quibble: > +# $ho->{Host} is

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

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[Xen-devel] [PATCH OSSTEST v4 00/25] add distro domU testing flight"): > The failures mainly seem to be some sort of proxy issue returning old > data (similar to what used to happen to mg-debian-installer-update), Maybe we can set up an explicit proxy which actually works.

Re: [Xen-devel] [PATCH OSSTEST 2/5] Handle osstest's own local push gate in non-master production instances

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:13 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST 2/5] Handle osstest's own local push > gate in non-master production instances"): > > We want to arrange that the master XenProject instance continues to > > test its own pretest branch while any downstrea

Re: [Xen-devel] [PATCH OSSTEST v4 07/25] Debian: add preseed_create_guest helper

2015-04-02 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST v4 07/25] Debian: add preseed_create_guest helper"): > Creates a preseed file suitable for use in a PV guest > > Signed-off-by: Ian Campbell > --- > v4: Rebase, pass $ho to preseed_base > v3: Handle $xopts{ExtraPreseed} undefined in preseed_base > --- > Osst

[Xen-devel] [OSSTEST PATCH 2/2] Reduce guest ssh check up timeout to 10s

2015-04-02 Thread Ian Jackson
The default for target_cmd_root is 30s but 10s should be plenty. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index eca68be..a674f35 100644 --- a/Osstest/TestSuppor

[Xen-devel] [OSSTEST PATCH 1/2] Use ssh -v when ssh'ing to guests to check they are up

2015-04-02 Thread Ian Jackson
* Make tcmd take an optional $extrasshopts argument * Make target_cmd{,_root} pass this through * Supply this with value [qw(-v)] Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osst

Re: [Xen-devel] [PATCH v2] xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX

2015-04-02 Thread Roger Pau Monné
El 02/04/15 a les 3.32, Chentao (Boby) ha escrit: > > > On 2015/4/1 23:04, Tao Chen wrote: >> Define pr_fmt macro with {xen-blkback: } prefix, then remove all use >> of DRV_PFX in the pr sentences. Replace all DPRINTK with pr sentences, >> and get rid of DPRINTK macro. It will simplify the code.

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Andrew Cooper
On 02/04/15 11:42, Ian Campbell wrote: > On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: >> This is needed for performing save/restore of PV guests. > It's quite a big interface though, isn't it? > > Could we restrict it to a subset of the operations perhaps? Or at least > justify here ho

Re: [Xen-devel] [PATCH OSSTEST v4 01/25] TestSupport: Add helper to fetch a URL on a host

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:24 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST v4 01/25] TestSupport: Add helper to > fetch a URL on a host"): > > Signed-off-by: Ian Campbell > > We're not using this to fetch URLs on the public internet, are we ? > If we are then we need to honour

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

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:31 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST v4 04/25] Debian: refactor code to add > preseed commands to the preseed file"): > > Call it from ts-debian-hvm-install. > > Please expand the commit message. Something like: > > This means that, in fu

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

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:21 +0100, Ian Jackson wrote: > Ian Campbell writes ("[Xen-devel] [PATCH OSSTEST v4 00/25] add distro domU > testing flight"): > > The failures mainly seem to be some sort of proxy issue returning old > > data (similar to what used to happen to mg-debian-installer-update),

Re: [Xen-devel] [PATCH OSSTEST v4 05/25] Debian: refactor preseeding of .ssh directories

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:33 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST v4 05/25] Debian: refactor preseeding of > .ssh directories"): > > Causes known_hosts to be consistently created as well as ~osstest/.ssh > > to be consistently populated (it previsouly wasn't for HVM gues

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Jürgen Groß
On 04/02/2015 01:50 PM, Andrew Cooper wrote: On 02/04/15 11:42, Ian Campbell wrote: On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: This is needed for performing save/restore of PV guests. It's quite a big interface though, isn't it? Could we restrict it to a subset of the operation

Re: [Xen-devel] [PATCH OSSTEST v4 07/25] Debian: add preseed_create_guest helper

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:40 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST v4 07/25] Debian: add > preseed_create_guest helper"): > > Creates a preseed file suitable for use in a PV guest > > > > Signed-off-by: Ian Campbell > > --- > > v4: Rebase, pass $ho to preseed_base > > v

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Andrew Cooper
On 02/04/15 13:43, Jürgen Groß wrote: > On 04/02/2015 01:50 PM, Andrew Cooper wrote: >> On 02/04/15 11:42, Ian Campbell wrote: >>> On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: This is needed for performing save/restore of PV guests. >>> It's quite a big interface though, isn't it?

Re: [Xen-devel] coding standards

2015-04-02 Thread Lars Kurth
Linda, I do want to remind you that you need to start communicating on the public list and submit some patches. Also some of us are away before the application deadline on the 7th. So things may get tight Regards Lars > On 30 Mar 2015, at 20:26, Linda Jacobson wrote: > > Will do. Thanks for

Re: [Xen-devel] [PATCH 02/10] VMX: New parameter to control PML enabling

2015-04-02 Thread Kai Huang
On Thu, Apr 2, 2015 at 5:58 PM, Andrew Cooper wrote: > On 02/04/15 06:46, Kai Huang wrote: >> >> >> On 03/28/2015 04:42 AM, Andrew Cooper wrote: >>> On 27/03/15 02:35, Kai Huang wrote: A top level EPT parameter "ept=" and a sub boolean "pml_enable" are added to control PML. Other bo

Re: [Xen-devel] [PATCH v3] xen/arm: introduce PLATFORM_QUIRK_GUEST_PIRQ_NEED_EOI

2015-04-02 Thread Stefano Stabellini
On Thu, 10 Jul 2014, Anup Patel wrote: > On Wed, Jul 9, 2014 at 8:41 PM, Stefano Stabellini > wrote: > > On Wed, 9 Jul 2014, Julien Grall wrote: > >> On 07/09/2014 03:40 PM, Ian Campbell wrote: > >> >> I think we should check GIC Dist address passed in DTS by > >> >> u-boot to Xen. If GIC Dist add

  1   2   3   >