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

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

Re: [Xen-devel] [PATCH 2/3] xen/x86: Use real assert frames for ASSERT_INTERRUPTS_{EN, DIS}ABLED

2015-04-14 Thread Jan Beulich
On 09.04.15 at 22:06, andrew.coop...@citrix.com wrote: @@ -26,18 +27,24 @@ #endif #ifndef NDEBUG -#define ASSERT_INTERRUPT_STATUS(x) \ -pushf; \ -testb $X86_EFLAGS_IF8,1(%rsp);\ -j##x 1f;

[Xen-devel] [PATCH v2 0/2] vtpm deep quote in locality 0

2015-04-14 Thread Emil Condrea
Changes from v1, suggested by Daniel: - flags parameter is now mandatory - updated documentation about externData calculation - constant size for externData structure, perform SHA1 on empty string if requested parameter is NULL - return error if invalid bit is set in flags - added

[Xen-devel] [PATCH v2 1/2] vtpm: deep quote flags

2015-04-14 Thread Emil Condrea
Currently, the flags are not interpreted by vTPM. They are just packed and sent to vtpmmgr. Signed-off-by: Emil Condrea emilcond...@gmail.com --- stubdom/Makefile| 1 + stubdom/vtpm-deepquote-anyloc.patch | 127 stubdom/vtpm/vtpm_cmd.c

Re: [Xen-devel] tools/libxl - Async Task Cancellation Query

2015-04-14 Thread Koushik Chakravarty
Hi Ian, Any thoughts on this below? Regards, Koushik Chakravarty Mobile - +91-9663396424 -Original Message- From: Koushik Chakravarty Sent: Wednesday, April 8, 2015 5:44 PM To: Ian Jackson Cc: Euan Harris; 'xen-de...@lists.xensource.com' Subject: RE: tools/libxl - Async Task

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Hongyang Yang
On 04/14/2015 05:28 PM, Andrew Cooper wrote: On 14/04/15 10:22, Hongyang Yang wrote: On 04/14/2015 04:53 PM, Andrew Cooper wrote: On 14/04/15 00:51, Don Slutz wrote: On 04/13/15 12:25, Andrew Cooper wrote: On 13/04/15 17:09, Don Slutz wrote: If QEMU has called on xc_domain_setmaxmem to

Re: [Xen-devel] [PATCH] XSA120 follows to the Linux kernel.

2015-04-14 Thread Jan Beulich
On 10.04.15 at 16:37, david.vra...@citrix.com wrote: On 03/04/15 15:28, Konrad Rzeszutek Wilk wrote: Hey David and Boris, Please see the two patches - the first one fixes an situation that the original XSA-120 patch hadn't considered. The second patch is more of just a cleanup. Can be

Re: [Xen-devel] [libvirt] [libvirt test] 50401: regressions - FAIL

2015-04-14 Thread Daniel P. Berrange
On Tue, Apr 14, 2015 at 10:33:45AM +0100, Ian Campbell wrote: On Tue, 2015-04-14 at 02:27 +, osstest service user wrote: flight 50401 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/50401/ Regressions :-( Tests which did not succeed and are blocking,

Re: [Xen-devel] [PATCH] VTd/dmar: Tweak how the DMAR table is clobbered

2015-04-14 Thread Jan Beulich
On 10.04.15 at 11:08, andrew.coop...@citrix.com wrote: On 10/04/15 02:23, Tian, Kevin wrote: From: Andrew Cooper [mailto:andrew.coop...@citrix.com] Sent: Thursday, April 09, 2015 3:45 AM Intead of clobbering DMAR - XMAR and back, clobber to RMAD instead. This means that changing the

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

2015-04-14 Thread Jan Beulich
On 08.04.15 at 14:57, roger@citrix.com wrote: Since a PVH hardware domain has access to the physical hardware create a custom more permissive IO bitmap. The permissions set on the bitmap are populated based on the contents of the ioports rangeset. Also add the IO ports of the serial

[Xen-devel] about xenoprof

2015-04-14 Thread 蒋雄伟(蒋冲)
Hi, everyone: There is no patch for OProfile above 0.9.5 in website http://xenoprof.sourceforge.net/ . why? Does it mean we don’t need the patch for OProfile user level tools if we use 0.9.5 above ? ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH v2 0/3] xen: arm: Parse PCI DT nodes' ranges and interrupt-map

2015-04-14 Thread Ian Campbell
On Thu, 2015-03-12 at 17:16 +, Ian Campbell wrote: This series adds parsing of the DT ranges and interrupt-map properties for PCI devices, these contain the MMIOs and IRQs used by children on the bus. This replaces the specific mapping stuff on xgene. Somehow I managed to completely miss

Re: [Xen-devel] [PATCH 0/2] Re-factoring passthrough/pci.c and adding place-holder code for ARM/PCI

2015-04-14 Thread Jan Beulich
On 13.04.15 at 09:37, mja...@caviumnetworks.com wrote: Xen currently does not have PCI support for ARM builds. This patch set makes the code compilable for ARM PCI and adds places-holder code which would be replaced with PCI pass-through support patch series. Re-factor MSI Handling

Re: [Xen-devel] [libvirt test] 50401: regressions - FAIL

2015-04-14 Thread Ian Campbell
On Tue, 2015-04-14 at 02:27 +, osstest service user wrote: flight 50401 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/50401/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 5

Re: [Xen-devel] Dom0 linux 4.0 + devel/for-linus-4.1 branch: p2m.c:884:d0v0 gfn_to_mfn failed! gfn=ffffffff001ed type:4

2015-04-14 Thread David Vrabel
On 13/04/15 16:11, Sander Eikelenboom wrote: Monday, April 13, 2015, 2:21:21 PM, you wrote: On 13/04/15 13:14, Sander Eikelenboom wrote: Monday, April 13, 2015, 2:07:02 PM, you wrote: On 13/04/15 12:21, Sander Eikelenboom wrote: Monday, April 13, 2015, 11:50:51 AM, you wrote: On

Re: [Xen-devel] [PATCH 1/3] xen/x86: Infrastructure to create BUG_FRAMES in asm code

2015-04-14 Thread Jan Beulich
On 09.04.15 at 22:06, andrew.coop...@citrix.com wrote: @@ -66,4 +68,40 @@ struct bug_frame { __stop_bug_frames_2[], __stop_bug_frames_3[]; +#else /* !__ASSEMBLY__ */ + +/* + * Construct a bugframe, suitable for using in

Re: [Xen-devel] [PATCH] VTd/dmar: Tweak how the DMAR table is clobbered

2015-04-14 Thread Andrew Cooper
On 14/04/15 08:50, Jan Beulich wrote: On 10.04.15 at 11:08, andrew.coop...@citrix.com wrote: On 10/04/15 02:23, Tian, Kevin wrote: From: Andrew Cooper [mailto:andrew.coop...@citrix.com] Sent: Thursday, April 09, 2015 3:45 AM Intead of clobbering DMAR - XMAR and back, clobber to RMAD instead.

Re: [Xen-devel] [PATCH] new functions libxl_bitmap_{or,and}

2015-04-14 Thread Wei Liu
Thanks, we're getting there. If my comments confuse you please just ask for clarification. There is no need to change the subject line. However, it would be useful if you have some kind of version number in you subject line. That is [PATCH vX] libxl: provide libxl_bimap_{and,or} You can do

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Hongyang Yang
On 04/14/2015 04:53 PM, Andrew Cooper wrote: On 14/04/15 00:51, Don Slutz wrote: On 04/13/15 12:25, Andrew Cooper wrote: On 13/04/15 17:09, Don Slutz wrote: If QEMU has called on xc_domain_setmaxmem to add more memory for option ROMs, domain restore needs to also increase the memory.

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Andrew Cooper
On 14/04/15 10:22, Hongyang Yang wrote: On 04/14/2015 04:53 PM, Andrew Cooper wrote: On 14/04/15 00:51, Don Slutz wrote: On 04/13/15 12:25, Andrew Cooper wrote: On 13/04/15 17:09, Don Slutz wrote: If QEMU has called on xc_domain_setmaxmem to add more memory for option ROMs, domain restore

Re: [Xen-devel] [PATCH 2/2] xen/arm: Make HAS_PCI compilable on ARM by adding place-holder code

2015-04-14 Thread Stefano Stabellini
On Tue, 14 Apr 2015, Jaggi, Manish wrote: diff --git a/xen/include/asm-arm/pci.h b/xen/include/asm-arm/pci.h index de13359..b8ec882 100644 --- a/xen/include/asm-arm/pci.h +++ b/xen/include/asm-arm/pci.h @@ -1,7 +1,8 @@ -#ifndef __X86_PCI_H__ -#define __X86_PCI_H__ +#ifndef

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Wei Liu
On Tue, Apr 14, 2015 at 05:22:31PM +0800, Hongyang Yang wrote: [...] If I understand correctly, the steps are this: * 'xl create' makes a VM of size $FOO * qemu bumps the size to $FOO+$N * 'xl save' writes $FOO+$N of page data, but the xl config file at the start of the image still says

Re: [Xen-devel] [PATCH 0/2] Re-factoring passthrough/pci.c and adding place-holder code for ARM/PCI

2015-04-14 Thread Stefano Stabellini
On Tue, 14 Apr 2015, Jaggi, Manish wrote: Hi Julien, From: Julien Grall julien.grall@gmail.com Sent: Monday, April 13, 2015 3:49 PM To: Jaggi, Manish; xen Devel; Stefano Stabellini; Julien Grall; Ian Campbell; Kumar, Vijaya; prasun.kap...@cavium.com Subject: Re: [Xen-devel] [PATCH 0/2]

Re: [Xen-devel] [PATCH] x86/Dom0: Don't allow dom0_max_vcpus to be zero

2015-04-14 Thread Jan Beulich
On 09.04.15 at 22:59, andrew.coop...@citrix.com wrote: On 09/04/2015 21:38, Boris Ostrovsky wrote: In case dom0_max_vcpus is incorrectly specified on boot line make sure we will still boot. Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com Good catch - lets not do that.

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

2015-04-14 Thread Jan Beulich
On 10.04.15 at 03:43, kevin.t...@intel.com wrote: From: Roger Pau Monne [mailto:roger@citrix.com] Sent: Wednesday, April 08, 2015 8:57 PM @@ -1484,6 +1489,12 @@ int hvm_domain_initialise(struct domain *d) goto fail1; d-arch.hvm_domain.io_handler-num_slot = 0; +/*

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

2015-04-14 Thread Jan Beulich
On 09.04.15 at 12:55, andrew.coop...@citrix.com wrote: On 08/04/15 13:57, Roger Pau Monne wrote: Since a PVH hardware domain has access to the physical hardware create a custom more permissive IO bitmap. The permissions set on the bitmap are populated based on the contents of the ioports

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Wei Liu
On Tue, Apr 14, 2015 at 11:46:55AM +0800, Hongyang Yang wrote: This patch also fix a triple fault when guests running under COLO mode. (XEN) d0v1 Over-allocation for domain 1: 524545 524544 (XEN) memory.c:155:d0v1 Could not allocate order=0 extent: id=1 memflags=0 (181 of 235) (XEN) d1v1

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Andrew Cooper
On 14/04/15 00:51, Don Slutz wrote: On 04/13/15 12:25, Andrew Cooper wrote: On 13/04/15 17:09, Don Slutz wrote: If QEMU has called on xc_domain_setmaxmem to add more memory for option ROMs, domain restore needs to also increase the memory. Signed-off-by: Don Slutz dsl...@verizon.com

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Wei Liu
On Mon, Apr 13, 2015 at 07:51:31PM -0400, Don Slutz wrote: On 04/13/15 12:25, Andrew Cooper wrote: On 13/04/15 17:09, Don Slutz wrote: If QEMU has called on xc_domain_setmaxmem to add more memory for option ROMs, domain restore needs to also increase the memory. Signed-off-by: Don Slutz

Re: [Xen-devel] [PATCH 1/2] xen/x86: Patch re-factors MSI/X config code from, drivers/passthrough/pci.c to x86 specific

2015-04-14 Thread Jan Beulich
On 13.04.15 at 12:34, mja...@caviumnetworks.com wrote: On Monday 13 April 2015 03:45 PM, Stefano Stabellini wrote: On Mon, 13 Apr 2015, Manish Jaggi wrote: @@ -282,22 +266,10 @@ static struct pci_dev *alloc_pdev(struct pci_seg *pseg, u8 bus, u8 devfn) *((u8*) pdev-bus) = bus;

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Hongyang Yang
On 04/14/2015 05:29 PM, Wei Liu wrote: On Tue, Apr 14, 2015 at 05:22:31PM +0800, Hongyang Yang wrote: [...] If I understand correctly, the steps are this: * 'xl create' makes a VM of size $FOO * qemu bumps the size to $FOO+$N * 'xl save' writes $FOO+$N of page data, but the xl config file at

Re: [Xen-devel] [PATCH v2 0/3] xen: arm: Parse PCI DT nodes' ranges and interrupt-map

2015-04-14 Thread Chen Baozi
On Tue, Apr 14, 2015 at 09:43:07AM +0100, Ian Campbell wrote: On Thu, 2015-03-12 at 17:16 +, Ian Campbell wrote: This series adds parsing of the DT ranges and interrupt-map properties for PCI devices, these contain the MMIOs and IRQs used by children on the bus. This replaces the

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

2015-04-14 Thread Jan Beulich
On 10.04.15 at 19:29, roger@citrix.com wrote: This is needed for performing save/restore of PV guests. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Tim Deegan t...@xen.org Cc: Jan Beulich jbeul...@suse.com Cc: Andrew Cooper andrew.coop...@citrix.com --- Once migration v2

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

2015-04-14 Thread Roger Pau Monné
El 14/04/15 a les 13.55, Jan Beulich ha escrit: On 10.04.15 at 19:29, roger@citrix.com wrote: This is needed for performing save/restore of PV guests. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Tim Deegan t...@xen.org Cc: Jan Beulich jbeul...@suse.com Cc: Andrew Cooper

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

2015-04-14 Thread Jan Beulich
On 10.04.15 at 19:29, roger@citrix.com wrote: 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. And hence introduces the same issue: The HVMOP_track_dirty_vram handler explicitly

Re: [Xen-devel] More force pushes (xen-4.5-testing, xen-unstable, qemu-mainline)

2015-04-14 Thread Jan Beulich
On 13.04.15 at 16:14, ian.jack...@eu.citrix.com wrote: Here are some more which I propose to force push. In each case I show all the blocking tests mentioned in the osstest test report. osstest service user writes ([xen-4.5-testing test] 50373: regressions - FAIL): flight 50373

[Xen-devel] Ping: [PATCH 0/2] x86/vMSI-X: table read/write emulation adjustments

2015-04-14 Thread Jan Beulich
On 20.03.15 at 16:52, jbeul...@suse.com wrote: This has been pending for almost 4 weeks now... Jan Due to the (late) point in time when qemu requests the hypervisor to set up MSI-X interrupts (which is where the MMIO intercept gets put in place), the hypervisor doesn't see all guest writes,

[Xen-devel] Reminder: CfP for Xen Project Development Summit is closing on May 1st

2015-04-14 Thread Lars Kurth
The CfP is at http://events.linuxfoundation.org/events/xen-project-developer-summit/program/cfp http://events.linuxfoundation.org/events/xen-project-developer-summit/program/cfp Regards Lars___ Xen-devel mailing list Xen-devel@lists.xen.org

[Xen-devel] [PATCH v2 3/3] DO NOT APPLY - test code for this series

2015-04-14 Thread Andrew Cooper
--- xen/arch/x86/traps.c| 66 +++ xen/arch/x86/x86_64/entry.S | 26 + 2 files changed, 92 insertions(+) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 22cdfc4..c562842 100644 --- a/xen/arch/x86/traps.c +++

[Xen-devel] [PATCH] osstest: fix FreeBSD guest disk size

2015-04-14 Thread Roger Pau Monne
New 10.1 images are larger than the previous 10.0 images, so change the size of the LVM volume to accommodate them. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com --- ts-freebsd-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [Xen-devel] [PATCH v4 28/33] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-04-14 Thread Ian Campbell
On Thu, 2015-04-09 at 13:16 +0100, Ian Jackson wrote: I would say something like this: WFM, in particular the final two paragraphs which I think clarify everything which needs clarifying, thanks. Ian. ___ Xen-devel mailing list

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

2015-04-14 Thread Jan Beulich
On 14.04.15 at 12:45, roger@citrix.com wrote: Hello, El 14/04/15 a les 12.31, Jan Beulich ha escrit: On 14.04.15 at 12:01, roger@citrix.com wrote: I have one question about the current IO port handling for PVH guests (DomU and Dom0). There's some code right now in

Re: [Xen-devel] [PATCH 1/1] x86/hvm: prevent hvm_free_ioreq_gmfn() clobber of arbitrary memory

2015-04-14 Thread Jan Beulich
On 13.04.15 at 18:01, dsl...@verizon.com wrote: --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -536,8 +536,9 @@ static int hvm_alloc_ioreq_gmfn(struct domain *d, unsigned long *gmfn) static void hvm_free_ioreq_gmfn(struct domain *d, unsigned long gmfn) { -unsigned

Re: [Xen-devel] [PATCH] new functions libxl_bitmap_{or,and}

2015-04-14 Thread Linda
On 4/14/2015 3:19 AM, Wei Liu wrote: Thanks, we're getting there. If my comments confuse you please just ask for clarification. There is no need to change the subject line. However, it would be useful if you have some kind of version number in you subject line. That is [PATCH vX] libxl:

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

2015-04-14 Thread Jan Beulich
On 10.04.15 at 19:29, roger@citrix.com wrote: --- a/xen/arch/x86/mm/paging.c +++ b/xen/arch/x86/mm/paging.c @@ -397,6 +397,53 @@ int paging_mfn_is_dirty(struct domain *d, mfn_t gmfn) return rv; } +static inline void *map_dirty_bitmap(XEN_GUEST_HANDLE_64(uint8) dirty_bitmap, +

Re: [Xen-devel] [PATCH v1 3/3] xen/arm: smmu: Renaming struct iommu_domain *domain to, struct iommu_domain *iommu_domain

2015-04-14 Thread Jaggi, Manish
Hi Julien/Ian, From: Julien Grall julien.grall@gmail.com Sent: Tuesday, April 14, 2015 5:16 PM To: Ian Campbell; Julien Grall Cc: prasun.kap...@cavium.com; Stefano Stabellini; Jaggi, Manish; Julien Grall; Xen Devel; Kumar, Vijaya Subject: Re:

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

2015-04-14 Thread Jaggi, Manish
From: xen-devel-boun...@lists.xen.org xen-devel-boun...@lists.xen.org on behalf of wei.l...@citrix.com wei.l...@citrix.com Sent: Tuesday, April 14, 2015 3:57 PM To: xen-de...@lists.xenproject.org; edmund.h.wh...@intel.com; xumengpa...@gmail.com;

Re: [Xen-devel] [PATCH] new functions libxl_bitmap_{or,and}

2015-04-14 Thread Julien Grall
Hi Linda, Hi Linda, On 14/04/15 13:14, Linda wrote: On 4/14/2015 3:19 AM, Wei Liu wrote: Thanks, we're getting there. If my comments confuse you please just ask for clarification. There is no need to change the subject line. However, it would be useful if you have some kind of version

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Wei Liu
On Tue, Apr 14, 2015 at 05:40:24PM +0800, Hongyang Yang wrote: On 04/14/2015 05:29 PM, Wei Liu wrote: On Tue, Apr 14, 2015 at 05:22:31PM +0800, Hongyang Yang wrote: [...] If I understand correctly, the steps are this: * 'xl create' makes a VM of size $FOO * qemu bumps the size to

Re: [Xen-devel] Size of irq field

2015-04-14 Thread Ian Campbell
On Fri, 2015-04-03 at 15:31 +0200, Julien Grall wrote: Also, as we plan to use passtrough, we there are such places: In tools/libxc/include/xenctrl.h: int xc_domain_bind_pt_irq(xc_interface *xch, uint32_t domid, *uint8_t* machine_irq,

Re: [Xen-devel] [PATCH 2/2] xen/arm: Make HAS_PCI compilable on ARM by adding place-holder code

2015-04-14 Thread Julien Grall
On 14/04/15 10:28, Stefano Stabellini wrote: On Tue, 14 Apr 2015, Jaggi, Manish wrote: diff --git a/xen/include/asm-arm/pci.h b/xen/include/asm-arm/pci.h index de13359..b8ec882 100644 --- a/xen/include/asm-arm/pci.h +++ b/xen/include/asm-arm/pci.h @@ -1,7 +1,8 @@ -#ifndef __X86_PCI_H__

Re: [Xen-devel] [PATCH v1 3/3] xen/arm: smmu: Renaming struct iommu_domain *domain to, struct iommu_domain *iommu_domain

2015-04-14 Thread Ian Campbell
On Mon, 2015-04-06 at 16:15 +0200, Julien Grall wrote: Hi Ian, On 01/04/2015 10:30, Ian Campbell wrote: On Tue, 2015-03-31 at 17:48 +0100, Stefano Stabellini wrote: If it helps we could add a couple of comments on top of the structs in smmu.c to explain the meaning of the fields, like:

Re: [Xen-devel] tools/libxl - Async Task Cancellation Query [and 1 more messages]

2015-04-14 Thread Ian Jackson
Koushik Chakravarty writes (RE: tools/libxl - Async Task Cancellation Query): When you say - That would require the caller to preserve the ao_how which seems awkward to me - whom do you refer as the caller? By the caller I mean the program outside libxl which is calling libxl. From what I

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

2015-04-14 Thread Andrew Cooper
On 14/04/15 11:01, Roger Pau Monné wrote: El 08/04/15 a les 14.57, Roger Pau Monne ha escrit: Since a PVH hardware domain has access to the physical hardware create a custom more permissive IO bitmap. The permissions set on the bitmap are populated based on the contents of the ioports

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

2015-04-14 Thread wei.liu2
Hi all We are now three months into 4.6 development window. This is an email to keep track of all the patch series I gathered. It is by no means complete and / or acurate. Feel free to reply this email with new projects or correct my misunderstanding. = Timeline = We are planning on a 9-month

Re: [Xen-devel] Size of irq field

2015-04-14 Thread Julien Grall
On 14/04/15 11:33, Ian Campbell wrote: Whoops. I didn't spot those one thanks. libxc is not ABI stable, we can make these bigger if necessary, or introduce new interface etc as required depending on how things pan out at the hypercall layer. FIY, a patch has been sent on the ML see [PATCH

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-14 Thread Ian Campbell
On Fri, 2015-04-10 at 15:25 +0100, Julien Grall wrote: On 10/04/15 14:58, Iurii Konovalenko wrote: Hi, Julien! Hi Iurii, On Wed, Apr 8, 2015 at 7:05 PM, Julien Grall julien.gr...@citrix.com wrote: The virtualization extension requires LPAE. Any reason to make this optional? I

Re: [Xen-devel] More force pushes (xen-4.5-testing, xen-unstable, qemu-mainline)

2015-04-14 Thread Ian Jackson
Jan Beulich writes (Re: More force pushes (xen-4.5-testing, xen-unstable, qemu-mainline)): flight 50373 xen-4.5-testing real [real] xen 0b754fb3ed6b7b6d0f2e1f7c1877d3c0a7da2168 flight 50390 xen-unstable real [real] xen

[Xen-devel] [ovmf test] 50403: regressions - FAIL

2015-04-14 Thread osstest service user
flight 50403 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/50403/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-i386 10 guest-start fail REGR. vs. 36764

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

2015-04-14 Thread Roger Pau Monné
El 08/04/15 a les 14.57, Roger Pau Monne ha escrit: Since a PVH hardware domain has access to the physical hardware create a custom more permissive IO bitmap. The permissions set on the bitmap are populated based on the contents of the ioports rangeset. Also add the IO ports of the serial

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

2015-04-14 Thread Jan Beulich
On 14.04.15 at 12:01, roger@citrix.com wrote: I have one question about the current IO port handling for PVH guests (DomU and Dom0). There's some code right now in vmx_vmexit_handler (EXIT_REASON_IO_INSTRUCTION) that's kind PVH specific: if ( exit_qualification 0x10 ) { /* INS,

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

2015-04-14 Thread Roger Pau Monné
Hello, El 14/04/15 a les 12.31, Jan Beulich ha escrit: On 14.04.15 at 12:01, roger@citrix.com wrote: I have one question about the current IO port handling for PVH guests (DomU and Dom0). There's some code right now in vmx_vmexit_handler (EXIT_REASON_IO_INSTRUCTION) that's kind PVH

[Xen-devel] [PATCH v2 2/3] xen/x86: Use real assert frames for ASSERT_INTERRUPTS_{EN, DIS}ABLED

2015-04-14 Thread Andrew Cooper
Signed-off-by: Andrew Cooper andrew.coop...@citrix.com CC: Keir Fraser k...@xen.org CC: Jan Beulich jbeul...@suse.com --- v2: Pass msg as a second parameter rather than duplicating ASSERT_INTERRUPT_STATUS --- xen/include/asm-x86/asm_defns.h | 13 - 1 file changed, 8 insertions(+),

Re: [Xen-devel] [PATCH V8 00/12] xen: Clean-up of mem_event subsystem

2015-04-14 Thread Ian Campbell
On Thu, 2015-04-09 at 12:30 +0100, Tim Deegan wrote: What's the policy on reusing DOMCTL numbers? I see XEN_DOMCTL_arm_configure_domain has been retired in the conflicting patch. Should I just reuse it's number for monitor_op? For the most part domctl numbers seem to be continuous but

Re: [Xen-devel] [PATCH 2/2] xen/arm: Make HAS_PCI compilable on ARM by adding place-holder code

2015-04-14 Thread Julien Grall
On 14/04/15 11:33, Julien Grall wrote: On 14/04/15 10:28, Stefano Stabellini wrote: On Tue, 14 Apr 2015, Jaggi, Manish wrote: diff --git a/xen/include/asm-arm/pci.h b/xen/include/asm-arm/pci.h index de13359..b8ec882 100644 --- a/xen/include/asm-arm/pci.h +++ b/xen/include/asm-arm/pci.h @@

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

2015-04-14 Thread George Dunlap
On 04/14/2015 11:27 AM, wei.l...@citrix.com wrote: == Hypervisor == * Alternate p2m: support multiple copies of host p2m (ok) - Ed White * Improve RTDS scheduler (none) - Dagaen Golomb, Meng Xu This is a little vague... exactly what kinds of improvements are envisioned here? *

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

2015-04-14 Thread Tamas Lengyel
On Tue, Apr 14, 2015 at 12:27 PM, wei.l...@citrix.com wrote: Hi all We are now three months into 4.6 development window. This is an email to keep track of all the patch series I gathered. It is by no means complete and / or acurate. Feel free to reply this email with new projects or

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

2015-04-14 Thread Andrew Cooper
On 14/04/15 11:27, wei.l...@citrix.com wrote: === Hypervisor X86 === * VT-d Posted-interrupt (PI) (none) - Wu, Feng V1 posted * Intel PML (Page Modification Logging) for Xen (none) design doc posted - Kai Huang V1 posted (good) * PVH - AMD hardware support. (fair) RFC

Re: [Xen-devel] [PATCHv2 3/6] xen: generic xadd() for ticket locks

2015-04-14 Thread David Vrabel
On 14/04/15 14:17, Ian Campbell wrote: On Fri, 2015-04-10 at 15:19 +0100, David Vrabel wrote: This is only temporary until arm/arm64 provides an xadd() implementation. I'll assume that you aren't planning on doing this and add it to my own TODO list. Although, I'm more than willing to be

Re: [Xen-devel] [[PATCH v4]] new functions libxl_bitmap_{or,and}

2015-04-14 Thread Wei Liu
Urgh... I think I made a mistake in the rune I gave you, sorry. The --subject-prefix= doesn't need to include []. And you forgot to change the subject line to libxl: provide libxl_bitmap_{and,or} I'm a picky about the subject line because this is what shows up when you look at git commit log.

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

2015-04-14 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST v4 08/25] make-flight: Handle $BUILD_LVEXTEND_MAX in mfi-common:create_build_jobs()): Signed-off-by: Ian Campbell ian.campb...@citrix.com Acked-by: Ian Jackson ian.jack...@eu.citrix.com ___ Xen-devel mailing list

Re: [Xen-devel] wating for backend changes (was Re: [PATCH v3 4/4] libxl: add support for vscsi)

2015-04-14 Thread Olaf Hering
On Fri, Apr 10, Olaf Hering wrote: How is new code supposed to wait for backend changes? Right now there are two APIs for that: - libxl__wait_for_backend loops for a while until it returns an error. - libxl__ev_devstate_wait registers a watch and a timer. In case of pvscsi there are

Re: [Xen-devel] [PATCH] osstest: fix FreeBSD guest disk size

2015-04-14 Thread Ian Jackson
Roger Pau Monne writes ([PATCH] osstest: fix FreeBSD guest disk size): New 10.1 images are larger than the previous 10.0 images, so change the size of the LVM volume to accommodate them. Thanks, after discussion this now looks like the patch below and I'm going to push it to osstest pretest

Re: [Xen-devel] [PATCH] README: Reference some more comprehensive docs from the Quick-start

2015-04-14 Thread Ian Campbell
On Tue, 2015-04-14 at 16:40 +0100, Jan Beulich wrote: On 14.04.15 at 17:25, ian.campb...@citrix.com wrote: The quick-start is not terribly comprehensive for beginners. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- README |7 ++- 1 file changed, 6 insertions(+), 1

Re: [Xen-devel] [[PATCH v4]] new functions libxl_bitmap_{or,and}

2015-04-14 Thread Linda Jacobson
I'll fix it when I get home. It'll be late where you are. L Sent from my iPhone On Apr 14, 2015, at 10:33 AM, Wei Liu wei.l...@citrix.com wrote: Urgh... I think I made a mistake in the rune I gave you, sorry. The --subject-prefix= doesn't need to include []. And you forgot to change

[Xen-devel] [PATCH 0/2] Re: libvirtd live-locking on CTX_LOCK when doing 'virsh domid save /tmp/blah' with guest corrupting memory (on purpose).

2015-04-14 Thread Ian Jackson
Konrad Rzeszutek Wilk writes (libvirtd live-locking on CTX_LOCK when doing 'virsh domid save /tmp/blah' with guest corrupting memory (on purpose).): It looks like thread #10 is blocking in libxl_read_exactly waiting for 'libxl-save-helper'. Said application (see below) has dispatched an

[Xen-devel] [PATCH 1/2] libxl: fd events: Document spurious callbacks, break out libxl__ev_fd_recheck

2015-04-14 Thread Ian Jackson
No functional change, other than to debug and error message output. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- tools/libxl/libxl_event.c| 39 +++ tools/libxl/libxl_internal.h |8 2 files changed, 31 insertions(+), 16

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

2015-04-14 Thread Konrad Rzeszutek Wilk
* Regression in PCI passthrough of INTx legacy devices can trigger list corruption (good) Sander reported it. Two different types of patches available. - Konrad Rzeszutek Wilk Done. ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Don Slutz
On 04/14/15 05:52, Wei Liu wrote: On Tue, Apr 14, 2015 at 05:40:24PM +0800, Hongyang Yang wrote: On 04/14/2015 05:29 PM, Wei Liu wrote: On Tue, Apr 14, 2015 at 05:22:31PM +0800, Hongyang Yang wrote: [...] If I understand correctly, the steps are this: * 'xl create' makes a VM of size $FOO

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Don Slutz
On 04/14/15 04:53, Wei Liu wrote: On Mon, Apr 13, 2015 at 07:51:31PM -0400, Don Slutz wrote: On 04/13/15 12:25, Andrew Cooper wrote: On 13/04/15 17:09, Don Slutz wrote: If QEMU has called on xc_domain_setmaxmem to add more memory for option ROMs, domain restore needs to also increase the

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Wei Liu
On Tue, Apr 14, 2015 at 01:34:43PM -0400, Don Slutz wrote: On 04/14/15 04:53, Wei Liu wrote: On Mon, Apr 13, 2015 at 07:51:31PM -0400, Don Slutz wrote: On 04/13/15 12:25, Andrew Cooper wrote: On 13/04/15 17:09, Don Slutz wrote: If QEMU has called on xc_domain_setmaxmem to add more memory

[Xen-devel] [PATCH 2/2] libxl: save helper: Recheck fd events

2015-04-14 Thread Ian Jackson
The save helper message reader does operates with the fd in blocking mode. So spurious wakeups could cause it to block, unless it takes precautions. Reported-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com ---

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-14 Thread Wei Liu
On Tue, Apr 14, 2015 at 01:43:38PM -0400, Don Slutz wrote: On 04/14/15 05:52, Wei Liu wrote: On Tue, Apr 14, 2015 at 05:40:24PM +0800, Hongyang Yang wrote: On 04/14/2015 05:29 PM, Wei Liu wrote: On Tue, Apr 14, 2015 at 05:22:31PM +0800, Hongyang Yang wrote: [...] If I understand

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

2015-04-14 Thread Andrew Cooper
On 20/03/15 16:27, Jan Beulich wrote: Commit 74fd0036de (x86: properly handle MSI-X unmask operation from guests) didn't go far enough: it fixed an issue with unmasking, but left an issue with masking in place: Due to the (late) point in time when qemu requests the hypervisor to set up MSI-X

Re: [Xen-devel] [PATCH v1 3/3] xen/arm: smmu: Renaming struct iommu_domain *domain to, struct iommu_domain *iommu_domain

2015-04-14 Thread Ian Campbell
On Tue, 2015-04-14 at 12:24 +, Jaggi, Manish wrote: Hi Julien/Ian, Please will you configure your mail client to do the chevron () style of quotation favour in open source communities, picking out your replies from the mail you are replying to is a massive chore, especially after a couple of

[Xen-devel] [OSSTEST PATCH 2/3] ts-tcpdump-start: New test step script

2015-04-14 Thread Ian Jackson
Sets up a tcpdump on a dom0. (We do not log traffic to other test boxes in the job because that might include large amounts of migration or test data.) Also arrange that: - We stop the tcpdump when doing log capture - We capture the tcpdump record (by adding a big pattern to the log list) -

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

2015-04-14 Thread Ian Campbell
On Tue, 2015-04-14 at 13:34 +0100, Julien Grall wrote: Hi Manish, On 14/04/15 13:25, Jaggi, Manish wrote: * ARM PCI passthrough (none) - Manish Jaggi - Vijay Kilari [manish] I have started pushing the patches Finding the [manish] in the mail was like finding a needle in a

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

2015-04-14 Thread Ian Campbell
On Mon, 2015-04-13 at 09:51 +0100, Jan Beulich wrote: On 02.04.15 at 11:45, ian.campb...@citrix.com wrote: 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.

Re: [Xen-devel] [PATCH] README: Reference some more comprehensive docs from the Quick-start

2015-04-14 Thread Jan Beulich
On 14.04.15 at 17:25, ian.campb...@citrix.com wrote: The quick-start is not terribly comprehensive for beginners. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- README |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README b/README index

[Xen-devel] [OSSTEST PATCH 3/3] ts-tcpdump-start: Start a tcpdump before migration

2015-04-14 Thread Ian Jackson
Provisionally add this before the migration tests to see (a) how much extra disk space etc. it uses (b) whether it helps us debug our migration problems. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- sg-run-job |2 ++ 1 file changed, 2 insertions(+) diff --git a/sg-run-job

[Xen-devel] [OSSTEST PATCH 1/3] ts-xen-install: Store HOST_physnic runvar

2015-04-14 Thread Ian Jackson
Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- ts-xen-install |1 + 1 file changed, 1 insertion(+) diff --git a/ts-xen-install b/ts-xen-install index b3f4387..7dbeab0 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -309,6 +309,7 @@ END print EO or die $!

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

2015-04-14 Thread Boris Ostrovsky
On 04/14/2015 06:27 AM, wei.l...@citrix.com wrote: * Display IO topology when PXM data is available (good) v3 posted - Boris Ostrovsky I should have v7 in the next day or so. * VPMU - 'perf' support in Xen (good) v14 posted Need reviews/final ack. - Boris Ostrovsky

[Xen-devel] [PATCH] README: Reference some more comprehensive docs from the Quick-start

2015-04-14 Thread Ian Campbell
The quick-start is not terribly comprehensive for beginners. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- README |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README b/README index 07c4797..2013699 100644 --- a/README +++ b/README @@ -26,7 +26,12 @@

[Xen-devel] [xen-4.4-testing test] 50407: FAIL

2015-04-14 Thread osstest service user
flight 50407 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50407/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken in 50333 REGR. vs.

Re: [Xen-devel] [PATCH] libxl: Disallow save or migrate when host devices are assigned to a guest.

2015-04-14 Thread Jim Fehlig
Konrad Rzeszutek Wilk wrote: It is unhealthy. If the device is not doing any DMA operations it would work - but if you are saving and there are DMA operations happening the chance of corruption (outstanding DMAs) increase. As such re-use the check migration used. s/used// ?

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

2015-04-14 Thread Chun Yan Liu
On 4/14/2015 at 09:33 PM, in message 552d1718.8060...@eu.citrix.com, George Dunlap george.dun...@eu.citrix.com wrote: On 04/14/2015 11:27 AM, wei.l...@citrix.com wrote: == Hypervisor == * Alternate p2m: support multiple copies of host p2m (ok) - Ed White * Improve

Re: [Xen-devel] linux-next: build failure after merge of the xen-tip tree

2015-04-14 Thread Stephen Rothwell
Hi all, On Mon, 13 Apr 2015 16:36:58 +0800 Bob Liu bob@oracle.com wrote: On 04/13/2015 04:09 PM, Stephen Rothwell wrote: After merging the xen-tip tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/char/tpm/xen-tpmfront.c: In function 'setup_ring':

[Xen-devel] [xen-4.5-testing test] 50408: regressions - FAIL

2015-04-14 Thread osstest service user
flight 50408 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50408/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 14 guest-localmigrate/x10 fail in 50317 REGR. vs. 50268 Tests

Re: [Xen-devel] [PATCH] x86/Dom0: Don't allow dom0_max_vcpus to be zero

2015-04-14 Thread Boris Ostrovsky
On 04/14/2015 03:21 AM, Jan Beulich wrote: On 09.04.15 at 22:59, andrew.coop...@citrix.com wrote: On 09/04/2015 21:38, Boris Ostrovsky wrote: In case dom0_max_vcpus is incorrectly specified on boot line make sure we will still boot. Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com

Re: [Xen-devel] preparing for 4.5.1

2015-04-14 Thread Vijay Kilari
On Tue, Apr 14, 2015 at 6:42 PM, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-04-13 at 09:35 +0100, Jan Beulich wrote: On 02.04.15 at 12:01, ian.campb...@citrix.com wrote: On Thu, 2015-03-26 at 17:07 +, Jan Beulich wrote: having been released mid January, it is time to get

  1   2   >