Re: [Xen-devel] PCI Passthrough Design - Draft 3

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 09:56:41AM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 16:34 -0400, Konrad Rzeszutek Wilk wrote: 2.2PHYSDEVOP_pci_host_bridge_add hypercall -- Xen code accesses PCI configuration space based on the sbdf

Re: [Xen-devel] [Qemu-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 08:53:44AM +, Wu, Feng wrote: -Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Wednesday, August 12, 2015 4:43 PM To: Wu, Feng Cc: stefano.stabell...@eu.citrix.com; xen-de...@lists.xensource.com; qemu-de...@nongnu.org

Re: [Xen-devel] [PATCH] gitignore: Don't ignore *.rej

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 10:07:37AM +0100, Ian Campbell wrote: These indicate a patch application went wrong, I want to see them in git status. This appears to have been imported from .hgignore where it has been since 2005. Signed-off-by: Ian Campbell ian.campb...@citrix.com Cc: Daniel Kiper

[Xen-devel] [PATCH 1/2] xen: move perform_gunzip to common

2015-08-12 Thread Stefano Stabellini
The current gunzip code to uncompress the Dom0 kernel is implemented in inflate.c which is included by bzimage.c. I am looking to doing the same on ARM64 but there is quite a bit of boilerplate definitions that I would need to import in order for inflate.c to work correctly. Instead of

[Xen-devel] [PATCH 0/2] support compressed kernels on ARM64

2015-08-12 Thread Stefano Stabellini
Hi all, this patch series introduces support for compressed kernels, such as the standard Image.gz format used by Linux on arm64 by default, in Xen. Without it, Xen cannot load the default kernel shipped by distros, such as CentOS 7. Stefano Stabellini (2): xen: move perform_gunzip to

Re: [Xen-devel] PCI Passthrough Design - Draft 3

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 03:42:10PM +0100, Ian Campbell wrote: On Wed, 2015-08-12 at 10:25 -0400, Konrad Rzeszutek Wilk wrote: On Wed, Aug 12, 2015 at 09:56:41AM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 16:34 -0400, Konrad Rzeszutek Wilk wrote: 2.2

Re: [Xen-devel] [PATCH v3 2/4] x86/compat: Test both PV and PVH guests for compat mode

2015-08-12 Thread Boris Ostrovsky
On 08/12/2015 02:23 AM, Jan Beulich wrote: On 11.08.15 at 19:21, boris.ostrov...@oracle.com wrote: On 08/11/2015 05:19 AM, Jan Beulich wrote: On 24.07.15 at 19:54, boris.ostrov...@oracle.com wrote: On 07/23/2015 10:07 AM, Jan Beulich wrote: Plus - is this in line with what the tools are

[Xen-devel] [PATCH] x86/p2m: clear_identity_p2m_entry() must cope with 'relaxed' RDM mode

2015-08-12 Thread Jan Beulich
Tearing down a 1:1 mapping that was never established isn't really nice (and in fact hits an ASSERT() in p2m_remove_page()). Convert from a wrapper macro to a proper function which then can take care of the situation. Also take the opportunity to remove the 'page_order' parameter of

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: julien.gr...@citrix.com CC: ian.campb...@citrix.com --- xen/arch/arm/kernel.c | 36 xen/common/Makefile

Re: [Xen-devel] [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command

2015-08-12 Thread Jim Fehlig
Ian Campbell wrote: On Tue, 2015-08-11 at 16:07 -0600, Jim Fehlig wrote: Wei Liu wrote: Virsh migrate expects an URI, not a host. We don't actually care what kind of transport it uses, the main objective is to test migration, so use xen+ssh for the time being. Signed-off-by: Wei

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Julien Grall
Hi Stefano, I'm sure you don't support all kind of compressed kernels. Can you example in the commit message which one you are supporting? On 12/08/15 15:47, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: julien.gr...@citrix.com CC:

Re: [Xen-devel] [PATCH v2 2/2] x86/HVM: correct page dirty marking in hvm_map_guest_frame_rw()

2015-08-12 Thread Andrew Cooper
On 12/08/15 15:19, Jan Beulich wrote: Rather than dirtying a page when establishing a (permanent) mapping, dirty it when the page gets unmapped, or - if still mapped - on the final iteration of a save operation. (Transient mappings continue to get dirtied upon getting mapped, to avoid the

Re: [Xen-devel] [PATCH 1/2] xen: move perform_gunzip to common

2015-08-12 Thread Jan Beulich
On 12.08.15 at 16:47, stefano.stabell...@eu.citrix.com wrote: --- a/xen/common/decompress.c +++ b/xen/common/decompress.c @@ -16,6 +16,8 @@ int __init decompress(void *inbuf, unsigned int len, void *outbuf) (!memcmp(inbuf, \037\213, 2) || !memcmp(inbuf, \037\236, 2)) )

Re: [Xen-devel] [PATCH 1/2] tools: libxl: Remove unnecessary trailing \n from log messages.

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH 1/2] tools: libxl: Remove unnecessary trailing \n from log messages.): Both xl's LOG and the various libxl logging mechanisms automatically include a trailing \n. Remove all unnecessary \n's from the logs messages with the following semantic patch. spatch also

Re: [Xen-devel] [PATCH] gitignore: Don't ignore *.rej

2015-08-12 Thread Ian Jackson
Konrad Rzeszutek Wilk writes (Re: [Xen-devel] [PATCH] gitignore: Don't ignore *.rej): On Wed, Aug 12, 2015 at 10:07:37AM +0100, Ian Campbell wrote: These indicate a patch application went wrong, I want to see them in git status. This appears to have been imported from .hgignore where it

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Julien Grall
On 12/08/15 16:03, Ian Campbell wrote: On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: julien.gr...@citrix.com CC: ian.campb...@citrix.com --- xen/arch/arm/kernel.c | 36

[Xen-devel] [PATCH] xen/x86: Fix up rules when forcing -mno-sse

2015-08-12 Thread Doug Goldstein
From: Nathan Rossi nathan.ro...@xilinx.com * When forcing -mno-sse specify -mfpmath=387 to avoid the fallback warning Signed-off-by: Nathan Rossi nathan.ro...@xilinx.com Signed-off-by: Doug Goldstein car...@cardoe.com --- I found this patch when attempting to build Xen master on Yocto and

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Stefano Stabellini
On Wed, 12 Aug 2015, Ian Campbell wrote: On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: julien.gr...@citrix.com CC: ian.campb...@citrix.com --- xen/arch/arm/kernel.c | 36

Re: [Xen-devel] [PATCH v2 2/2] x86/HVM: correct page dirty marking in hvm_map_guest_frame_rw()

2015-08-12 Thread Jan Beulich
On 12.08.15 at 17:13, andrew.coop...@citrix.com wrote: On 12/08/15 15:19, Jan Beulich wrote: +if ( writable *writable ) +{ +struct hvm_write_map *track = xmalloc(struct hvm_write_map); + +if ( !track ) +{ +put_page(page); +return

Re: [Xen-devel] [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 09:08 -0600, Jim Fehlig wrote: nc is used to relay connections on the ssh tunnel to libvirtd's unix domain socket. Is there a netcat-openbsd package? Yes there is. It even seems to have higher priority if installed, but it is not in the default package set. Sounds like we

Re: [Xen-devel] [PATCH v2 2/2] cambridge: arrange to test each new baseline

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 15:08 +0100, Ian Campbell wrote: I think I need to do something with check_tested to find a flight in the database. I came up with this incremental patch. I need to generate an up to date baseline for a flight on the Cambridge infra in order to fully test all the cases so

Re: [Xen-devel] PCI Passthrough Design - Draft 3

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 01:03:07PM +0530, Manish Jaggi wrote: Below are the comments. I will also send a Draft 4 taking account of the comments. On Wednesday 12 August 2015 02:04 AM, Konrad Rzeszutek Wilk wrote: On Tue, Aug 04, 2015 at 05:57:24PM +0530, Manish Jaggi wrote:

Re: [Xen-devel] PCI Passthrough Design - Draft 3

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 10:25 -0400, Konrad Rzeszutek Wilk wrote: On Wed, Aug 12, 2015 at 09:56:41AM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 16:34 -0400, Konrad Rzeszutek Wilk wrote: 2.2PHYSDEVOP_pci_host_bridge_add hypercall --

[Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: julien.gr...@citrix.com CC: ian.campb...@citrix.com --- xen/arch/arm/kernel.c | 36 xen/common/Makefile |2 +- xen/include/asm-arm/byteorder.h |2 ++ 3 files

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Julien Grall
On 12/08/15 16:22, Stefano Stabellini wrote: obj-$(perfc) += perfc.o obj-$(crash_debug) += gdbstub.o diff --git a/xen/include/asm-arm/byteorder.h b/xen/include/asm -arm/byteorder.h index 9c712c4..3b7feda 100644 --- a/xen/include/asm-arm/byteorder.h +++

[Xen-devel] [PATCH OSSTEST 1/7] ts-logs-capture: Collect /var/log/xen/bootloader.*.log

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 1/7] ts-logs-capture: Collect /var/log/xen/bootloader.*.log): This is the pygrub debug log. Acked-by: Ian Jackson ian.jack...@eu.citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH OSSTEST 2/7] ts-debian-di-install: Use exit/poweroff in preference to exit/always_halt

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 2/7] ts-debian-di-install: Use exit/poweroff in preference to exit/always_halt): always_halt results in d-i calling halt, which does not necessarily poweroff the host (it seems to for x86/PV Xen guests, but does not for ARM). Using exit/poweroff calls

Re: [Xen-devel] [PATCH v5 01/17] VT-d Posted-intterrupt (PI) design

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 10:35:22AM +0800, Feng Wu wrote: The title has an extra 'i'. Add the design doc for VT-d PI. CC: Kevin Tian kevin.t...@intel.com CC: Yang Zhang yang.z.zh...@intel.com CC: Jan Beulich jbeul...@suse.com CC: Keir Fraser k...@xen.org CC: Andrew Cooper

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Jan Beulich
On 12.08.15 at 17:22, stefano.stabell...@eu.citrix.com wrote: On Wed, 12 Aug 2015, Ian Campbell wrote: On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -56,7 +56,7 @@ obj-y += vsprintf.o obj-y += wait.o obj-y +=

Re: [Xen-devel] [PATCH OSSTEST 3/7] ts-debian-di-install: Install pv-menu-list in ARM guests, always.

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 3/7] ts-debian-di-install: Install pv-menu-list in ARM guests, always.): Signed-off-by: Ian Campbell ian.campb...@citrix.com This package seems to be called `pv-grub-menu', not `pv-menu-list'. @@ -190,9 +190,18 @@ END $method_cfg =

Re: [Xen-devel] [PATCH v5 02/17] Add cmpxchg16b support for x86-64

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 10:35:23AM +0800, Feng Wu wrote: This patch adds cmpxchg16b support for x86-64, so software can perform 128-bit atomic write/read. CC: Keir Fraser k...@xen.org CC: Jan Beulich jbeul...@suse.com CC: Andrew Cooper andrew.coop...@citrix.com Signed-off-by: Feng Wu

Re: [Xen-devel] [PATCH OSSTEST 4/7] ts-debian-di-install: Use the suite in the default hostname

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 4/7] ts-debian-di-install: Use the suite in the default hostname): This is more useful in standalone mode than having everything be debian. ... -our $guesthost= $gn.guest.osstest; +our $guesthost= ($r{${gn}_suite}//$gn)..guest.osstest; So if GN_suite is

Re: [Xen-devel] [PATCH v5 03/17] iommu: Add iommu_intpost to control VT-d Posted-Interrupts feature

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 10:35:24AM +0800, Feng Wu wrote: VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in

Re: [Xen-devel] [PATCH v5 04/17] vt-d: VT-d Posted-Interrupts feature detection

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 10:35:25AM +0800, Feng Wu wrote: VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in

Re: [Xen-devel] [PATCH OSSTEST 5/7] Debian: ARM: only apply no bootloader workaround if xopts{PvMenuLst}

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 5/7] Debian: ARM: only apply no bootloader workaround if xopts{PvMenuLst}): This workaround is only necessary because of how pv-menu-list works, so we should only apply both or neither of them. This results in a long line and I'm about to add a second

Re: [Xen-devel] [PATCH OSSTEST 6/7] Debian: ARM has no bootloader (for Xen) even in Stretch.

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 6/7] Debian: ARM has no bootloader (for Xen) even in Stretch.): Realistically this isn't going to change until we have either u-boot or UEFI in an arm32 guest. Acked-by: Ian Jackson ian.jack...@eu.citrix.com ___

Re: [Xen-devel] [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command

2015-08-12 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command): Sounds like we should just add it to the list of packages which we install either at host install time or as part of preparing a host for use. I'm inclined just to add it at install time,

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Stefano Stabellini
On Wed, 12 Aug 2015, Jan Beulich wrote: On 12.08.15 at 17:22, stefano.stabell...@eu.citrix.com wrote: On Wed, 12 Aug 2015, Ian Campbell wrote: On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -56,7 +56,7 @@ obj-y +=

Re: [Xen-devel] [PATCH OSSTEST 7/7] Debian: Create /boot/boot - . symlink on ARM when PvMenuLst enabled

2015-08-12 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 7/7] Debian: Create /boot/boot - . symlink on ARM when PvMenuLst enabled): Signed-off-by: Ian Campbell ian.campb...@citrix.com Can this please be conditional on the suite ? Thanks, Ian. ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 16:22 +0100, Stefano Stabellini wrote: -obj-bin-$(CONFIG_X86) += $(foreach n,decompress gunzip bunzip2 unxz unlzma unlzo unlz4 earlycpio,$(n).init.o) +obj-bin-y += $(foreach n,decompress gunzip bunzip2 unxz unlzma unlzo unlz4 earlycpio,$(n).init.o) I don't

Re: [Xen-devel] [PATCH OSSTEST 3/7] ts-debian-di-install: Install pv-menu-list in ARM guests, always.

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 16:35 +0100, Ian Jackson wrote: Ian Campbell writes ([PATCH OSSTEST 3/7] ts-debian-di-install: Install pv-menu-list in ARM guests, always.): Signed-off-by: Ian Campbell ian.campb...@citrix.com This package seems to be called `pv-grub-menu', not `pv-menu-list'. I get

Re: [Xen-devel] [PATCH v2 1/2] x86/HVM: hvm_map_guest_frame_rw() adjustments

2015-08-12 Thread Andrew Cooper
On 12/08/15 15:16, Jan Beulich wrote: ... and its callers. While all non-nested users are made fully honor the semantics of that type, doing so in the nested case seemed insane (if doable at all, considering VMCS shadowing), and hence there the respective operations are simply made fail.

Re: [Xen-devel] [PATCH v5 05/17] vmx: Extend struct pi_desc to support VT-d Posted-Interrupts

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 10:35:26AM +0800, Feng Wu wrote: Extend struct pi_desc according to VT-d Posted-Interrupts Spec. CC: Kevin Tian kevin.t...@intel.com CC: Keir Fraser k...@xen.org CC: Jan Beulich jbeul...@suse.com CC: Andrew Cooper andrew.coop...@citrix.com Signed-off-by: Feng Wu

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Jan Beulich
On 07.08.15 at 04:11, zhaoshengl...@huawei.com wrote: 1. Copy and change some EFI and ACPI tables --- A key thing I'm missing here is reasoning of why this copying approach is needed in the first place. Remember that on the x86 side we get away without

Re: [Xen-devel] [PATCH v5 06/17] vmx: Add some helper functions for Posted-Interrupts

2015-08-12 Thread Konrad Rzeszutek Wilk
On Wed, Aug 12, 2015 at 10:35:27AM +0800, Feng Wu wrote: This patch adds some helper functions to manipulate the Posted-Interrupts Descriptor. CC: Kevin Tian kevin.t...@intel.com CC: Keir Fraser k...@xen.org CC: Jan Beulich jbeul...@suse.com CC: Andrew Cooper andrew.coop...@citrix.com

Re: [Xen-devel] [PATCH v2 2/2] cambridge: arrange to test each new baseline

2015-08-12 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [PATCH v2 2/2] cambridge: arrange to test each new baseline): diff --git a/cr-daily-branch b/cr-daily-branch index 4b9b525..f9edbd4 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -100,6 +100,13 @@ if [ x$OSSTEST_BASELINES_ONLY = xy ] ; then

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Jan Beulich
On 11.08.15 at 16:12, ian.campb...@citrix.com wrote: On Fri, 2015-08-07 at 10:11 +0800, Shannon Zhao wrote: [...] 3. Dom0 gets grant table and event channel irq information --- As said above, we assign the hypervisor_id be XenVMM to

Re: [Xen-devel] [PATCH OSSTEST 3/7] ts-debian-di-install: Install pv-menu-list in ARM guests, always.

2015-08-12 Thread Ian Jackson
Ian Campbell writes (Re: [PATCH OSSTEST 3/7] ts-debian-di-install: Install pv-menu-list in ARM guests, always.): On Wed, 2015-08-12 at 16:35 +0100, Ian Jackson wrote: pvgrub here is pvgrub1, not pv grub2. This could perhaps be clearer... Yes, although pvgrub is what we use in production

Re: [Xen-devel] [PATCH for-4.6] libxl: fix libxl__build_hvm error code return path

2015-08-12 Thread Ian Jackson
Wei Liu writes ([PATCH for-4.6] libxl: fix libxl__build_hvm error code return path): In 25652f23 (tools/libxl: detect and avoid conflicts with RDM), new code was added to use rc to store libxl function call return value, which complied to libxl coding style. That patch, however, didn't change

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

2015-08-12 Thread osstest service owner
flight 60659 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/60659/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl 14 guest-saverestore fail REGR. vs. 59254

Re: [Xen-devel] OSSTEST -- nested test case development, RFC: ts-guest-destroy doesn't call guest_await_dhcp_tcp() if guest has fixed IP

2015-08-12 Thread Hu, Robert
-Original Message- From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] Sent: Wednesday, August 12, 2015 11:27 PM To: Hu, Robert Cc: Ian Campbell; wei.l...@citrix.com; xen-devel@lists.xen.org Subject: RE: OSSTEST -- nested test case development, RFC: ts-guest-destroy doesn't call

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

2015-08-12 Thread osstest service owner
flight 60662 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/60662/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 16 guest-start/debian.repeat fail REGR. vs. 60647 Regressions which

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

2015-08-12 Thread osstest service owner
flight 60663 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/60663/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt-vhd 9 debian-di-installfail never pass test-armhf-armhf-libvirt-qcow2 9

[Xen-devel] [qemu-mainline test] 60664: tolerable FAIL - PUSHED

2015-08-12 Thread osstest service owner
flight 60664 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/60664/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-rtds 11 guest-start fail like 60616 Tests which did not

Re: [Xen-devel] Failure to boot HVM guest with more than 32 VCPUS

2015-08-12 Thread Hao, Xudong
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Wednesday, August 12, 2015 5:40 PM To: Hao, Xudong Cc: xen-devel@lists.xen.org Subject: Re: [Xen-devel] Failure to boot HVM guest with more than 32 VCPUS Hao, Xudong xudong@intel.com writes: Hi,

Re: [Xen-devel] [PATCH v5 14/17] vmx: Properly handle notification event when vCPU is running

2015-08-12 Thread Wu, Feng
-Original Message- From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Sent: Thursday, August 13, 2015 1:02 AM To: Wu, Feng Cc: xen-devel@lists.xen.org; Keir Fraser; Tian, Kevin; Jan Beulich; Andrew Cooper Subject: Re: [Xen-devel] [PATCH v5 14/17] vmx: Properly handle

Re: [Xen-devel] [PATCH v5 01/17] VT-d Posted-intterrupt (PI) design

2015-08-12 Thread Wu, Feng
-Original Message- From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Sent: Wednesday, August 12, 2015 11:35 PM To: Wu, Feng Cc: xen-devel@lists.xen.org; Tian, Kevin; Keir Fraser; George Dunlap; Andrew Cooper; Jan Beulich; Zhang, Yang Z Subject: Re: [Xen-devel] [PATCH v5

Re: [Xen-devel] [PATCH v5 12/17] Update IRTE according to guest interrupt config changes

2015-08-12 Thread Wu, Feng
-Original Message- From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Sent: Thursday, August 13, 2015 12:43 AM To: Wu, Feng Cc: xen-devel@lists.xen.org; Jan Beulich Subject: Re: [Xen-devel] [PATCH v5 12/17] Update IRTE according to guest interrupt config changes On

Re: [Xen-devel] [PATCH v5 11/17] vt-d: Add API to update IRTE when VT-d PI is used

2015-08-12 Thread Wu, Feng
-Original Message- From: Andrew Cooper [mailto:andrew.coop...@citrix.com] Sent: Thursday, August 13, 2015 1:41 AM To: Wu, Feng; xen-devel@lists.xen.org Cc: Zhang, Yang Z; Tian, Kevin; Keir Fraser; Jan Beulich Subject: Re: [PATCH v5 11/17] vt-d: Add API to update IRTE when VT-d PI

[Xen-devel] starting using xen

2015-08-12 Thread Zvclproject Zvclproject
Dear, In fact I'm very happy that I got emails from your mail list because i had tried many times to engage in this list but it did not work anyway it works now :). I'm currently a master student, working in virtualiztion my goal right now is to understand xen server and how it work and how I

Re: [Xen-devel] [PATCH v3 2/4] x86/compat: Test both PV and PVH guests for compat mode

2015-08-12 Thread Jan Beulich
On 11.08.15 at 19:21, boris.ostrov...@oracle.com wrote: On 08/11/2015 05:19 AM, Jan Beulich wrote: On 24.07.15 at 19:54, boris.ostrov...@oracle.com wrote: On 07/23/2015 10:07 AM, Jan Beulich wrote: Plus - is this in line with what the tools are doing? Aren't they assuming !PV = native format

Re: [Xen-devel] [RFC 1/2] xen/mm: Clarify the granularity for each Frame Number

2015-08-12 Thread Jan Beulich
On 05.08.15 at 15:18, julien.gr...@citrix.com wrote: On 05/08/15 13:46, Andrew Cooper wrote: On 05/08/15 13:36, Julien Grall wrote: So we need to introduce the concept of in each definition. This patch makes clear that MFN and GFN is always 4KB and PFN may vary. Is (or rather will) a 4K

[Xen-devel] [xen 4.6 retrospective] [bad] review load near freeze point

2015-08-12 Thread Jan Beulich
On 04.08.15 at 14:52, lars.kurth@gmail.com wrote: = Issue / Observation = Maybe my memory regarding the 4.5 release has faded, but I'm having the impression that 4.6 was quite a bit worse. This was at parts due to the sheer number of patch series and their sizes, but also because

Re: [Xen-devel] Hotpatch construction and __LINE__

2015-08-12 Thread Jan Beulich
On 05.08.15 at 15:25, andrew.coop...@citrix.com wrote: Jan had a plan to make Xen read its own DWARF symbol table rather than using the current cludge we have where we partially link Xen, extract the public symbol table, rewrite symbol-offsets.c and relink it onto the end. Either I

Re: [Xen-devel] [Qemu-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size

2015-08-12 Thread Wu, Feng
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Wednesday, August 12, 2015 4:43 PM To: Wu, Feng Cc: stefano.stabell...@eu.citrix.com; xen-de...@lists.xensource.com; qemu-de...@nongnu.org Subject: RE: [Qemu-devel] [Xen-devel] [PATCH v1] xenpt: Properly handle

Re: [Xen-devel] [RFC 2/2] xen/public: grant-table: Specificy the size of the grant

2015-08-12 Thread Jan Beulich
On 05.08.15 at 13:28, julien.gr...@citrix.com wrote: --- a/xen/include/public/grant_table.h +++ b/xen/include/public/grant_table.h @@ -51,6 +51,11 @@ * know the real machine address of a page it is sharing. This makes * it possible to share memory correctly with domains running in *

Re: [Xen-devel] [PATCH v4 26/31] xen/x86: allow HVM guests to use hypercalls to bring up vCPUs

2015-08-12 Thread Jan Beulich
On 07.08.15 at 21:03, andrew.coop...@citrix.com wrote: On 07/08/15 11:18, Roger Pau Monne wrote: @@ -1135,6 +1136,161 @@ int arch_set_info_guest( #undef c } +/* Called by VCPUOP_initialise for HVM guests. */ +static int arch_set_info_hvm_guest(struct vcpu *v, vcpu_hvm_context_t *ctx)

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 10:47 +0800, Shannon Zhao wrote: On 2015/8/11 23:52, Boris Ostrovsky wrote: On 08/11/2015 11:35 AM, Ian Campbell wrote: On Tue, 2015-08-11 at 11:29 -0400, Boris Ostrovsky wrote: On 08/11/2015 10:21 AM, Ian Campbell wrote: On Tue, 2015-08-11 at 15:19 +0100,

Re: [Xen-devel] [PATCH 2/2] ACPI/table: Make acpi_table_init return meaningful value

2015-08-12 Thread Jan Beulich
On 04.08.15 at 06:19, zhaoshengl...@huawei.com wrote: From: Shannon Zhao shannon.z...@linaro.org If ACPI fails to initialize tables, it should return one meaningful value to tell the caller to diable acpi. Signed-off-by: Shannon Zhao shannon.z...@linaro.org ---

Re: [Xen-devel] [PATCH 1/2] ACPI/table: Always count matched and successfully parsed entries

2015-08-12 Thread Jan Beulich
On 04.08.15 at 06:19, zhaoshengl...@huawei.com wrote: From: Shannon Zhao shannon.z...@linaro.org This is not true. All you did is port a Linux change. acpi_parse_entries() allows to traverse all available table entries (aka subtables) by passing max_entries parameter equal to 0, but since

Re: [Xen-devel] [PATCH 1/2] ACPI/table: Always count matched and successfully parsed entries

2015-08-12 Thread Shannon Zhao
On 2015/8/12 16:51, Jan Beulich wrote: On 04.08.15 at 06:19, zhaoshengl...@huawei.com wrote: From: Shannon Zhao shannon.z...@linaro.org This is not true. All you did is port a Linux change. Will change this. acpi_parse_entries() allows to traverse all available table entries (aka

Re: [Xen-devel] [xen 4.6 retrospective] [urgent] rename freeze window and make release branch as soon as possible after RC1

2015-08-12 Thread Jan Beulich
On 06.08.15 at 12:52, stefano.stabell...@eu.citrix.com wrote: I would even go as far as recommending maintainers to take patches in their personal trees while xen-unstable is frozen. Personally I already do that for QEMU. For small patches that might work. For large series perhaps repeatedly

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Shannon Zhao
Hi, I'm working on re-spinning this patchset while encountering a werid problem about xzalloc_bytes. Since I need to copy some ACPI tables, I need to allocate some memory for it. So there are a few places calling xzalloc_bytes. And it fails at the fifth one. The log is shown as following: (XEN)

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Ian Campbell
On Tue, 2015-08-11 at 17:01 +0100, Julien Grall wrote: On 11/08/15 16:19, Ian Campbell wrote: IIRC we talked about it few months ago and you said that using balloon page will split in 4K the 1G/2M mapping done in the stage-2 p2m. Did I? Odd because I'm also of the opinion that

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 10:42 +0800, Shannon Zhao wrote: On 2015/8/12 0:01, Julien Grall wrote: On 11/08/15 16:19, Ian Campbell wrote: IIRC we talked about it few months ago and you said that using balloon page will split in 4K the 1G/2M mapping done in the stage-2 p2m. Did

Re: [Xen-devel] PCI Passthrough Design - Draft 3

2015-08-12 Thread Ian Campbell
On Tue, 2015-08-11 at 16:34 -0400, Konrad Rzeszutek Wilk wrote: 2.2PHYSDEVOP_pci_host_bridge_add hypercall -- Xen code accesses PCI configuration space based on the sbdf received from the guest. The order in which the pci device tree node

Re: [Xen-devel] [Qemu-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size

2015-08-12 Thread Wu, Feng
-Original Message- From: qemu-devel-bounces+feng.wu=intel@nongnu.org [mailto:qemu-devel-bounces+feng.wu=intel@nongnu.org] On Behalf Of Jan Beulich Sent: Wednesday, August 12, 2015 2:59 PM To: Wu, Feng Cc: xen-de...@lists.xensource.com; qemu-de...@nongnu.org;

Re: [Xen-devel] [Qemu-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size

2015-08-12 Thread Jan Beulich
On 12.08.15 at 09:10, feng...@intel.com wrote: -Original Message- From: qemu-devel-bounces+feng.wu=intel@nongnu.org [mailto:qemu-devel-bounces+feng.wu=intel@nongnu.org] On Behalf Of Jan Beulich Sent: Wednesday, August 12, 2015 2:59 PM To: Wu, Feng Cc:

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 11:04 +0800, Shannon Zhao wrote: Hi Julien, On 2015/8/12 0:19, Julien Grall wrote: Hi Shannon, On 07/08/15 03:11, Shannon Zhao wrote: 2. Create minimal DT to pass required information to Dom0 -- The

Re: [Xen-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size

2015-08-12 Thread Jan Beulich
On 05.08.15 at 04:02, feng...@intel.com wrote: @@ -491,8 +474,9 @@ static int xen_pt_bar_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, bar_ro_mask = XEN_PT_BAR_IO_RO_MASK | (r_size - 1); break; case XEN_PT_BAR_FLAG_UPPER: +r =

Re: [Xen-devel] PCI Passthrough Design - Draft 3

2015-08-12 Thread Manish Jaggi
Below are the comments. I will also send a Draft 4 taking account of the comments. On Wednesday 12 August 2015 02:04 AM, Konrad Rzeszutek Wilk wrote: On Tue, Aug 04, 2015 at 05:57:24PM +0530, Manish Jaggi wrote: - | PCI Pass-through in

Re: [Xen-devel] [xen 4.6 retrospective] [urgent] rename freeze window and make release branch as soon as possible after RC1

2015-08-12 Thread Jan Beulich
On 05.08.15 at 11:22, lars.kurth@gmail.com wrote: Release Process improvements: * Reopen the tree development tree as soon as possible after RC1 (I will let you guys figure out the best RC - let's call it RCx) * In other words, create the release branch at RCx Assuming this is what the

Re: [Xen-devel] [PATCH v10 06/11] xen: Introduce XEN_DOMCTL_soft_reset

2015-08-12 Thread Jan Beulich
On 11.08.15 at 21:57, konrad.w...@oracle.com wrote: On Tue, Jul 28, 2015 at 03:28:11PM +0200, Vitaly Kuznetsov wrote: @@ -1038,6 +1045,32 @@ void domain_unpause_except_self(struct domain *d) domain_unpause(d); } +int domain_soft_reset(struct domain *d) +{ +struct vcpu *v;

Re: [Xen-devel] [Xen-users] xl restore leaks a file descriptor?

2015-08-12 Thread Ian Campbell
On Tue, 2015-08-11 at 18:07 +0100, Wei Liu wrote: On Tue, Aug 11, 2015 at 04:48:13PM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 11:13 -0400, Andrew Armenia wrote: It's the checkpoint file - i.e. the command line argument to xl restore - that is being leaked. Thanks. [...]

[Xen-devel] [PATCH] gitignore: Don't ignore *.rej

2015-08-12 Thread Ian Campbell
These indicate a patch application went wrong, I want to see them in git status. This appears to have been imported from .hgignore where it has been since 2005. Signed-off-by: Ian Campbell ian.campb...@citrix.com Cc: Daniel Kiper daniel.ki...@oracle.com --- Spotted while accidentally reviewing

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Julien Grall
On 12/08/2015 08:22, Shannon Zhao wrote: Hi, Hi Shannon, It's not part of the design discussion and we are avoiding to mix discussion. Can you please create another thread (or at least renaming the subject)? I'm working on re-spinning this patchset while encountering a werid problem

Re: [Xen-devel] [RFC 1/2] xen/mm: Clarify the granularity for each Frame Number

2015-08-12 Thread Julien Grall
Hi Jan, On 12/08/2015 08:16, Jan Beulich wrote: On 05.08.15 at 15:18, julien.gr...@citrix.com wrote: On 05/08/15 13:46, Andrew Cooper wrote: On 05/08/15 13:36, Julien Grall wrote: So we need to introduce the concept of in each definition. This patch makes clear that MFN and GFN is always 4KB

[Xen-devel] [BUG][4.5.1]xl cpupool-create segfault (with config file parameter)

2015-08-12 Thread Benjamin Beier
Since xen version 4.5.1 there is a bug with the xl cpupool-create command. It always throws a segmentation fault when used with a config file as parameter. The content of the config file does not really matter (valid or invalid). It also fails with the example config file in /etc/xen/cpupool or

Re: [Xen-devel] [PATCH V3 5/6] x86/xsaves: support compact format for hvm save/restore

2015-08-12 Thread Shuai Ruan
On Tue, Aug 11, 2015 at 10:27:20AM +0100, Andrew Cooper wrote: On 11/08/15 09:01, Shuai Ruan wrote: + +/* + * The FP xstates and SSE xstates are legacy states. They are always + * in the fixed offsets in the xsave area in either compacted form + * or standard form. +

Re: [Xen-devel] Hotpatch construction and __LINE__

2015-08-12 Thread Andrew Cooper
On 12/08/15 09:09, Jan Beulich wrote: On 05.08.15 at 15:25, andrew.coop...@citrix.com wrote: Jan had a plan to make Xen read its own DWARF symbol table rather than using the current cludge we have where we partially link Xen, extract the public symbol table, rewrite symbol-offsets.c and relink

Re: [Xen-devel] [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command

2015-08-12 Thread Ian Campbell
On Tue, 2015-08-11 at 16:07 -0600, Jim Fehlig wrote: Wei Liu wrote: Virsh migrate expects an URI, not a host. We don't actually care what kind of transport it uses, the main objective is to test migration, so use xen+ssh for the time being. Signed-off-by: Wei Liu wei.l...@citrix.com

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Stefano Stabellini
On Wed, 12 Aug 2015, Ian Campbell wrote: On Wed, 2015-08-12 at 11:04 +0800, Shannon Zhao wrote: Hi Julien, On 2015/8/12 0:19, Julien Grall wrote: Hi Shannon, On 07/08/15 03:11, Shannon Zhao wrote: 2. Create minimal DT to pass required information to Dom0

Re: [Xen-devel] [RFC 2/2] xen/public: grant-table: Specificy the size of the grant

2015-08-12 Thread Julien Grall
On 12/08/15 11:35, Jan Beulich wrote: On 12.08.15 at 12:00, julien.gr...@citrix.com wrote: On 12/08/2015 08:21, Jan Beulich wrote: This paragraph should get on ARM added somewhere. There is no inherent requirement for such a restriction on another architecture Xen might get ported to; the

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Julien Grall
On 12/08/2015 09:46, Ian Campbell wrote: On Tue, 2015-08-11 at 17:01 +0100, Julien Grall wrote: On 11/08/15 16:19, Ian Campbell wrote: IIRC we talked about it few months ago and you said that using balloon page will split in 4K the 1G/2M mapping done in the stage-2 p2m. Did I? Odd because

[Xen-devel] Failure to boot HVM guest with more than 32 VCPUS

2015-08-12 Thread Hao, Xudong
Hi, In X86_64 platform, we noticed an issue that Xen boot a RHEL6u6 or Fedora22 guest, when configure the VCPU more than 32, the guest will fail to boot up. Guest config: memory = 2173 vcpus=33 vif = [ 'type=ioemu, mac=00:16:3e:7c:87:72,

Re: [Xen-devel] [RFC 0/4] HVM x86 enhancements to run Xen deprivileged mode operations

2015-08-12 Thread Jan Beulich
On 06.08.15 at 18:45, ben.catter...@citrix.com wrote: Performance testing --- Performance testing indicates that the overhead for this deprivileged mode is approximately 25%. This overhead is the cost of moving into deprivileged mode and then fully back out of deprivileged

Re: [Xen-devel] [Xen-users] xl restore leaks a file descriptor?

2015-08-12 Thread Wei Liu
On Wed, Aug 12, 2015 at 09:41:13AM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 18:07 +0100, Wei Liu wrote: On Tue, Aug 11, 2015 at 04:48:13PM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 11:13 -0400, Andrew Armenia wrote: It's the checkpoint file - i.e. the command line argument

Re: [Xen-devel] [Xen-users] xl restore leaks a file descriptor?

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 10:49 +0100, Wei Liu wrote: On Wed, Aug 12, 2015 at 09:41:13AM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 18:07 +0100, Wei Liu wrote: On Tue, Aug 11, 2015 at 04:48:13PM +0100, Ian Campbell wrote: On Tue, 2015-08-11 at 11:13 -0400, Andrew Armenia wrote:

Re: [Xen-devel] [RFC 2/2] xen/public: grant-table: Specificy the size of the grant

2015-08-12 Thread Jan Beulich
On 12.08.15 at 12:00, julien.gr...@citrix.com wrote: On 12/08/2015 08:21, Jan Beulich wrote: This paragraph should get on ARM added somewhere. There is no inherent requirement for such a restriction on another architecture Xen might get ported to; the only restriction of the current

Re: [Xen-devel] [RFC 1/2] xen/mm: Clarify the granularity for each Frame Number

2015-08-12 Thread Julien Grall
On 12/08/15 11:33, Jan Beulich wrote: On 12.08.15 at 11:57, julien.gr...@citrix.com wrote: On 12/08/2015 08:16, Jan Beulich wrote: On 05.08.15 at 15:18, julien.gr...@citrix.com wrote: On 05/08/15 13:46, Andrew Cooper wrote: On 05/08/15 13:36, Julien Grall wrote: So we need to introduce the

  1   2   >