Re: [Xen-devel] [ovmf test] 59044: trouble: blocked/broken/fail/pass

2015-07-06 Thread Ian Campbell
On Fri, 2015-07-03 at 22:40 +, osstest service owner wrote: flight 59044 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/59044/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386

Re: [Xen-devel] Problems with merlot* AMD Opteron 6376 systems (Was Re: stable trees

2015-07-06 Thread Jan Beulich
On 29.06.15 at 15:13, boris.ostrov...@oracle.com wrote: On 06/29/2015 06:23 AM, Ian Campbell wrote: On Fri, 2015-06-26 at 21:07 +0100, Ian Campbell wrote: On Fri, 2015-06-26 at 15:36 -0400, Boris Ostrovsky wrote: Just to make sure, could you use explicit address, i.e. for i in $(seq 0

Re: [Xen-devel] [PATCH v2] libxl: Make local_initiate_attach more rational

2015-07-06 Thread George Dunlap
On 07/03/2015 03:28 PM, Ian Campbell wrote: On Thu, 2015-07-02 at 19:55 +0200, Roger Pau Monné wrote: El 02/07/15 a les 19.42, George Dunlap ha escrit: There are a lot of paths through libxl__device_disk_local_initiate_attach(), but they all really boil down to one thing: Can we just access

Re: [Xen-devel] Mapping Dom0 page in hypervisor from domctl

2015-07-06 Thread Tim Deegan
Hi, At 08:14 -0400 on 02 Jul (1435824854), Bread Cutter wrote: /* Translate the given virtual address to the guest frame number */ gfn = paging_gva_to_gfn(current, domctl-va, pfec); This function only works for domains that have paging assistance enabled (i.e. not

Re: [Xen-devel] [PATCH] net/bridge: Add missing in6_dev_put in br_validate_ipv6

2015-07-06 Thread Bob Liu
On 07/04/2015 02:01 AM, Julien Grall wrote: The commit efb6de9b4ba0092b2c55f6a52d16294a8a698edd netfilter: bridge: forward IPv6 fragmented packets introduced a new function br_validate_ipv6 which take a reference on the inet6 device. Although, the reference is not released at the end. This

Re: [Xen-devel] [linux-3.18 test] 59041: regressions - trouble: blocked/broken/fail/pass

2015-07-06 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [linux-3.18 test] 59041: regressions - trouble: blocked/broken/fail/pass): On Fri, 2015-07-03 at 22:21 +, osstest service owner wrote: build-armhf-xsm 4 host-build-prep fail REGR. vs. 58581 A strange one I think.

Re: [Xen-devel] [PATCH v3 12/13] x86/altp2m: Add altp2mhvm HVM domain parameter.

2015-07-06 Thread Andrew Cooper
On 01/07/15 19:09, Ed White wrote: --- a/xen/include/public/hvm/params.h +++ b/xen/include/public/hvm/params.h @@ -187,6 +187,9 @@ /* Location of the VM Generation ID in guest physical address space. */ #define HVM_PARAM_VM_GENERATION_ID_ADDR 34 -#define HVM_NR_PARAMS 35 +/*

Re: [Xen-devel] Migration bug added by commit 2df1aa01bef7366798248ac6d03cfb42048b003d

2015-07-06 Thread Paul Durrant
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: 06 July 2015 11:14 To: Paul Durrant Cc: Don Slutz; xen-devel@lists.xen.org Subject: RE: [Xen-devel] Migration bug added by commit 2df1aa01bef7366798248ac6d03cfb42048b003d On 06.07.15 at 12:08,

Re: [Xen-devel] [PATCH V2 2/3] xen/vm_event: Support for guest-requested events

2015-07-06 Thread Jan Beulich
On 30.06.15 at 16:48, tleng...@novetta.com wrote: --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -342,13 +342,15 @@ struct arch_domain /* Monitor options */ struct { -uint16_t write_ctrlreg_enabled : 4; -uint16_t

Re: [Xen-devel] [linux-3.18 test] 59041: regressions - trouble: blocked/broken/fail/pass

2015-07-06 Thread Ian Campbell
On Mon, 2015-07-06 at 11:16 +0100, Ian Jackson wrote: Ian Campbell writes (Re: [Xen-devel] [linux-3.18 test] 59041: regressions - trouble: blocked/broken/fail/pass): On Fri, 2015-07-03 at 22:21 +, osstest service owner wrote: build-armhf-xsm 4 host-build-prep

Re: [Xen-devel] [v4][PATCH 04/19] xen/passthrough: extend hypercall to support rdm reservation policy

2015-07-06 Thread Jan Beulich
On 01.07.15 at 12:47, tiejun.c...@intel.com wrote: On 2015/7/1 18:02, George Dunlap wrote: On 07/01/2015 02:11 AM, Chen, Tiejun wrote: /* XEN_DOMCTL_createdomain */ struct xen_domctl_createdomain { /* IN parameters */ uint32_t ssidref; xen_domain_handle_t handle; /* Is

Re: [Xen-devel] PCI Pass-through in Xen ARM - Draft 2.

2015-07-06 Thread Julien Grall
On 05/07/15 06:55, Manish Jaggi wrote: 4.3 Hypercall for bdf mapping notification to xen --- #define PHYSDEVOP_map_sbdf 43 typedef struct { u32 s; u8 b; u8 df; u16 res; } sbdf_t; struct physdev_map_sbdf {

Re: [Xen-devel] [PATCH v2 01/41] arm/acpi: Build numa for x86 only

2015-07-06 Thread Jan Beulich
On 05.07.15 at 19:39, julien.gr...@citrix.com wrote: On 05/07/2015 13:59, Parth Dixit wrote: +shannon I've just received ~50 mails +shannon. Couldn't you have forward all the email privately rather replying to every single mail and cc shannon? Seconded. Considering this I simply deleted

Re: [Xen-devel] [PATCH 4/6] libxl: Use the block-tap script for LIBXL_DISK_BACKEND_TAP

2015-07-06 Thread Andrew Cooper
On 06/07/15 11:51, George Dunlap wrote: The block-tap script can now do everything needed for libxl; no need to link against the blktap library. To do this: * Set disk-script to block-tap and dev to format:pdev_path in device_disk_add for LIBXL_DISK_BACKEND_TAP * Remove libxl_blktap2.o

Re: [Xen-devel] [PATCH v6 6/6] xen: arm: consolidate mmio and irq mapping to dom0

2015-07-06 Thread Julien Grall
Hi Ian, On 03/07/15 16:56, Ian Campbell wrote: The code in the callbacks for dt_for_each_irq_map and dt_for_each_range is very similar to the code in handle_device for each non-pci device. In fact the only major difference is that the irq callback needs to call irq_set_spi_type in the PCI

Re: [Xen-devel] PCI Pass-through in Xen ARM - Draft 2.

2015-07-06 Thread Manish Jaggi
On Monday 06 July 2015 04:13 PM, Julien Grall wrote: On 05/07/15 06:55, Manish Jaggi wrote: 4.3 Hypercall for bdf mapping notification to xen --- #define PHYSDEVOP_map_sbdf 43 typedef struct { u32 s; u8 b; u8 df;

Re: [Xen-devel] [PATCH] net/bridge: Add missing in6_dev_put in br_validate_ipv6

2015-07-06 Thread Eric Dumazet
On Mon, 2015-07-06 at 11:35 +0100, Julien Grall wrote: __in6_dev_get requires to hold rcu_read_lock or RTNL. My knowledge on this code is very limited. Are we sure that one this lock is hold? At first glance, I wasn't able to find one. You could play it safe ;) diff --git

Re: [Xen-devel] [PATCH v3 00/12] Alternate p2m: support multiple copies of host p2m

2015-07-06 Thread Jan Beulich
On 01.07.15 at 20:09, edmund.h.wh...@intel.com wrote: Changes since v2: Addressed all v2 feedback *except*: In patch 5, the per-domain EPTP list page is still allocated from the Xen heap. If allocated from the domain heap Xen panics - IIRC on Haswell hardware when walking the

[Xen-devel] [RESEND PATCH] xen/blkfront: convert to blk-mq APIs

2015-07-06 Thread Bob Liu
From: Arianna Avanzini avanzini.aria...@gmail.com This patch converts xen-blkfront driver to use the block multiqueue APIs. Only one hardware queue is used now, so there is no performance change. The legacy non-mq code was deleted completely which is the same as other drivers like virtio, mtip,

Re: [Xen-devel] [PATCH v3 05/13] x86/altp2m: basic data structures and support routines.

2015-07-06 Thread Jan Beulich
On 03.07.15 at 18:22, andrew.coop...@citrix.com wrote: On 01/07/15 19:09, Ed White wrote: Add the basic data structures needed to support alternate p2m's and the functions to initialise them and tear them down. Although Intel hardware can handle 512 EPTP's per hardware thread concurrently,

Re: [Xen-devel] Migration bug added by commit 2df1aa01bef7366798248ac6d03cfb42048b003d

2015-07-06 Thread Jan Beulich
On 29.06.15 at 17:14, don.sl...@gmail.com wrote: On 06/29/15 10:03, Paul Durrant wrote: I think this patch should do it for now: diff --git a/xen/arch/x86/hvm/emulate.c b/xen/arch/x86/hvm/emulate.c index a4d7225..cc6130c 100644 --- a/xen/arch/x86/hvm/emulate.c +++

Re: [Xen-devel] PCI Pass-through in Xen ARM - Draft 2.

2015-07-06 Thread Manish Jaggi
On Monday 06 July 2015 02:41 PM, Ian Campbell wrote: On Sun, 2015-07-05 at 11:25 +0530, Manish Jaggi wrote: On Monday 29 June 2015 04:01 PM, Julien Grall wrote: Hi Manish, On 28/06/15 19:38, Manish Jaggi wrote: 4.1 Holes in guest memory space Holes are added in

Re: [Xen-devel] Migration bug added by commit 2df1aa01bef7366798248ac6d03cfb42048b003d

2015-07-06 Thread Jan Beulich
On 06.07.15 at 12:08, paul.durr...@citrix.com wrote: -Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: 06 July 2015 11:03 To: Don Slutz Cc: Paul Durrant; xen-devel@lists.xen.org Subject: Re: [Xen-devel] Migration bug added by commit

Re: [Xen-devel] [PATCH v3 01/32] libxc: split x86 HVM setup_guest into smaller logical functions

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: This is just a preparatory change to clean up the code in setup_guest. Should not introduce any functional changes. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini

[Xen-devel] [PATCH 6/6] libxl: Add more logging to hotplug script path

2015-07-06 Thread George Dunlap
This was useful in tracking down bugs. Signed-off-by: George Dunlap george.dun...@eu.citrix.com --- CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@citrix.com CC: Wei Liu wei.l...@citrix.com --- tools/libxl/libxl_device.c | 20 +--- tools/libxl/libxl_linux.c

[Xen-devel] [PATCH 4/6] libxl: Use the block-tap script for LIBXL_DISK_BACKEND_TAP

2015-07-06 Thread George Dunlap
The block-tap script can now do everything needed for libxl; no need to link against the blktap library. To do this: * Set disk-script to block-tap and dev to format:pdev_path in device_disk_add for LIBXL_DISK_BACKEND_TAP * Remove libxl_blktap2.o and libxl_noblktap2.o and all code depending

[Xen-devel] [PATCH 2/6] libxl: Remove linux udev rules

2015-07-06 Thread George Dunlap
They are no longer needed, having been replaced by a daemon for driverdomains which will run scripts as necessary. Worse yet, they seem to be broken for script-based block devices, such as block-iscsi. This wouldn't matter so much if they were never run by default; but if you run block-attach

[Xen-devel] [PATCH 3/6] tools: Add a block-tap script for setting up tapdisks via tap-ctl

2015-07-06 Thread George Dunlap
The blocktap library isn't really necessary; all the necessary functionality is available via the tap-ctl binary. To use: script=block-tap,vdev=[whatever],target=vhd:/path/to/file.vhd script=block-tap,vdev=[whatever],target=aio:/path/to/file.raw Signed-off-by: George Dunlap

Re: [Xen-devel] [PATCH v3 02/32] libxc: unify xc_dom_p2m_{host/guest}

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: Unify both functions into xc_dom_p2m. Should not introduce any functional change. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell

[Xen-devel] [PATCH 0/6] Use system blktap

2015-07-06 Thread George Dunlap
Switch to using a blktap provided by the system, rather than building it in-tree. Do this by adding a block-tap script which calls the tap-ctl binary, rather than linking against a library. This requires the use of an externally-built tap-ctl binary, which an be built from the master branch of

[Xen-devel] [PATCH 1/6] libxl: Make local_initiate_attach more rational

2015-07-06 Thread George Dunlap
There are a lot of paths through libxl__device_disk_local_initiate_attach(), but they all really boil down to one thing: Can we just access the file directly, or do we need to attach it? The requirements for direct access are fairly simple: * Is this local (as opposed to a driver domain)? * Is

[Xen-devel] [PATCH 5/6] tools: Remove in-tree blktap2

2015-07-06 Thread George Dunlap
Now that libxl has been configured to use a block script for tapdisk, we can remove the in-tree blktap and let the user build an out-of-tree blktap. Signed-off-by: George Dunlap george.dun...@eu.citrix.com --- CC: Ian Campbell ian.campb...@citrix.com CC: Ian Jackson ian.jack...@citrix.com CC:

Re: [Xen-devel] [v4][PATCH 04/19] xen/passthrough: extend hypercall to support rdm reservation policy

2015-07-06 Thread Chen, Tiejun
Yes, this demonstrates my point. Each of these is a single-bit boolean value that takes up a single bit -- either on or off. But here you have three values -- NO_DRM, RELAXED, and STRICT, that take up two bits. If Is this fine to you? #define _XEN_DOMCTL_DEV_NO_RDM 0 #define

Re: [Xen-devel] [PATCH v6 5/6] xen: arm: Import of_bus PCI entry from Linux (as a dt_bus entry)

2015-07-06 Thread Julien Grall
Hi Ian, On 03/07/15 16:56, Ian Campbell wrote: This provides specific handlers for the PCI bus relating to matching and translating. It's mostly similar to the defaults but includes some additional error checks and other PCI specific bits. There are some subtle differences in how the

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

2015-07-06 Thread Julien Grall
Hi Ian, On 03/07/15 16:55, 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. This is a quick respin based on Julien's

Re: [Xen-devel] BUG: unable to handle kernel NULL pointer in __netdev_pick_tx()

2015-07-06 Thread Bob Liu
On 07/06/2015 06:41 PM, Eric Dumazet wrote: On Mon, 2015-07-06 at 16:26 +0800, Bob Liu wrote: Hi, I tried to run the latest kernel v4.2-rc1, but often got below panic during system boot. [ 42.118983] BUG: unable to handle kernel paging request at 003f [ 42.119008] IP:

Re: [Xen-devel] [PATCH v3 11/13] x86/altp2m: define and implement alternate p2m HVMOP types.

2015-07-06 Thread Andrew Cooper
On 01/07/15 19:09, Ed White wrote: Signed-off-by: Ed White edmund.h.wh...@intel.com I am still very much unconvinced by the argument against having a single HVMOP_altp2m and a set of subops. do_domctl() and do_sysctl() are examples of a subop style hypercall with different XSM settings for

Re: [Xen-devel] [PATCH V2 2/3] xen/vm_event: Support for guest-requested events

2015-07-06 Thread Jan Beulich
On 30.06.15 at 16:23, rcojoc...@bitdefender.com wrote: On 06/26/2015 10:02 AM, Jan Beulich wrote: On 15.06.15 at 11:03, rcojoc...@bitdefender.com wrote: Added support for a new class of vm_events: VM_EVENT_REASON_REQUEST, sent via HVMOP_request_vm_event. The guest can request that a generic

Re: [Xen-devel] [ovmf test] 59044: trouble: blocked/broken/fail/pass

2015-07-06 Thread Ian Campbell
On Mon, 2015-07-06 at 11:30 +0100, Ian Jackson wrote: Ian Campbell writes (Re: [Xen-devel] [ovmf test] 59044: trouble: blocked/broken/fail/pass): Seems to be Osstest/JobDB/Executive.pm line 137: die Dumper($ho). ? if $ho-{SharedOthers} ! $ho-{SharedReady}; So another

Re: [Xen-devel] [PATCH] net/bridge: Add missing in6_dev_put in br_validate_ipv6

2015-07-06 Thread Julien Grall
Hi, On 03/07/15 21:42, Florian Westphal wrote: Julien Grall julien.gr...@citrix.com wrote: The commit efb6de9b4ba0092b2c55f6a52d16294a8a698edd netfilter: bridge: forward IPv6 fragmented packets introduced a new function br_validate_ipv6 which take a reference on the inet6 device. Although,

Re: [Xen-devel] BUG: unable to handle kernel NULL pointer in __netdev_pick_tx()

2015-07-06 Thread Eric Dumazet
On Mon, 2015-07-06 at 16:26 +0800, Bob Liu wrote: Hi, I tried to run the latest kernel v4.2-rc1, but often got below panic during system boot. [ 42.118983] BUG: unable to handle kernel paging request at 003f [ 42.119008] IP: [8161cfd0] __netdev_pick_tx+0x70/0x120

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

2015-07-06 Thread Julien Grall
Hi Ian, Some minor comments: On 03/07/15 16:56, Ian Campbell wrote: +static int map_range_to_domain(const struct dt_device_node *dev, + u64 addr, u64 len, + void *data) +{ +struct domain *d = data; +bool_t need_mapping =

[Xen-devel] Performance problem about address translation

2015-07-06 Thread xinyue
Hi, nbsp;nbsp;nbsp; For I want to translate the virtual address in HVM DomU to virtual address in Xen. But when I use the function paging_gva_to_gfn and get_gfn, I can feel the performance down quickly, the machine become very hot and then I have to force the machine shutting down. The codes

Re: [Xen-devel] [linux-3.18 test] 59041: regressions - trouble: blocked/broken/fail/pass

2015-07-06 Thread Ian Campbell
oops, that's not the button I wanted On Mon, 2015-07-06 at 09:27 +0100, Ian Campbell wrote: On Fri, 2015-07-03 at 22:21 +, osstest service owner wrote: build-armhf-xsm 4 host-build-prep fail REGR. vs. 58581 A strange one I think. As I was going to

Re: [Xen-devel] [linux-3.18 test] 59041: regressions - trouble: blocked/broken/fail/pass

2015-07-06 Thread Ian Campbell
On Fri, 2015-07-03 at 22:21 +, osstest service owner wrote: build-armhf-xsm 4 host-build-prep fail REGR. vs. 58581 A strange one I think. ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [linux-3.18 test] 59041: regressions - trouble: blocked/broken/fail/pass

2015-07-06 Thread Ian Campbell
On Fri, 2015-07-03 at 22:21 +, osstest service owner wrote: flight 59041 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/59041/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-pvh-intel

Re: [Xen-devel] Performance problem about address translation

2015-07-06 Thread Andrew Cooper
On 06/07/2015 08:22, xinyue wrote: Hi, For I want to translate the virtual address in HVM DomU to virtual address in Xen. But when I use the function paging_gva_to_gfn and get_gfn, I can feel the performance down quickly, the machine become very hot and then I have to force the machine

Re: [Xen-devel] Performance problem about address translation

2015-07-06 Thread Andrew Cooper
On 06/07/2015 08:58, xinyue wrote: 在 2015-07-06, Mon, 15:44:53 ,Andrew Cooper 写到: On 06/07/2015 08:22, xinyue wrote: Hi, For I want to translate the virtual address in HVM DomU to virtual address in Xen. But when I use the function paging_gva_to_gfn and get_gfn, I can feel the

Re: [Xen-devel] Mapping Dom0 page in hypervisor from domctl

2015-07-06 Thread Ian Campbell
On Thu, 2015-07-02 at 08:14 -0400, Bread Cutter wrote: Any insight into what I'm doing wrong would be appreciated! I'm afraid I don't have any, but perhaps you want to be looking into either share_xen_page_with_guest or share_xen_page_with_privileged_guests and either using them directly or

[Xen-devel] BUG: unable to handle kernel NULL pointer in __netdev_pick_tx()

2015-07-06 Thread Bob Liu
Hi, I tried to run the latest kernel v4.2-rc1, but often got below panic during system boot. [ 42.118983] BUG: unable to handle kernel paging request at 003f [ 42.119008] IP: [8161cfd0] __netdev_pick_tx+0x70/0x120 [ 42.119023] PGD 0 [ 42.119026] Oops: [#1]

Re: [Xen-devel] PCI Pass-through in Xen ARM - Draft 2.

2015-07-06 Thread Ian Campbell
On Sun, 2015-07-05 at 11:25 +0530, Manish Jaggi wrote: On Monday 29 June 2015 04:01 PM, Julien Grall wrote: Hi Manish, On 28/06/15 19:38, Manish Jaggi wrote: 4.1 Holes in guest memory space Holes are added in the guest memory space for mapping pci

Re: [Xen-devel] [PATCH] net/bridge: Add missing in6_dev_put in br_validate_ipv6

2015-07-06 Thread Florian Westphal
Julien Grall julien.gr...@citrix.com wrote: On 03/07/15 21:42, Florian Westphal wrote: I think it makes more sense to use __in6_dev_get() instead which doesn't take a reference. __in6_dev_get requires to hold rcu_read_lock or RTNL. My knowledge on this code is very limited. Are we sure

Re: [Xen-devel] [PATCH v3 00/12] Alternate p2m: support multiple copies of host p2m

2015-07-06 Thread Tim Deegan
At 10:50 +0100 on 06 Jul (1436179849), Jan Beulich wrote: On 01.07.15 at 20:09, edmund.h.wh...@intel.com wrote: Changes since v2: Addressed all v2 feedback *except*: In patch 5, the per-domain EPTP list page is still allocated from the Xen heap. If allocated from the domain

Re: [Xen-devel] [v4][PATCH 04/19] xen/passthrough: extend hypercall to support rdm reservation policy

2015-07-06 Thread Jan Beulich
On 06.07.15 at 12:56, tiejun.c...@intel.com wrote: Yes, this demonstrates my point. Each of these is a single-bit boolean value that takes up a single bit -- either on or off. But here you have three values -- NO_DRM, RELAXED, and STRICT, that take up two bits. If Is this fine to you?

Re: [Xen-devel] PCI Pass-through in Xen ARM - Draft 2.

2015-07-06 Thread Julien Grall
On 06/07/15 12:09, Manish Jaggi wrote: On Monday 06 July 2015 04:13 PM, Julien Grall wrote: On 05/07/15 06:55, Manish Jaggi wrote: 4.3 Hypercall for bdf mapping notification to xen --- #define PHYSDEVOP_map_sbdf 43 typedef struct {

Re: [Xen-devel] [PATCH v3 03/32] libxc: introduce the notion of a container type

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: Introduce the notion of a container type into xc_dom_image. This will be needed by later changes that will also use xc_dom_image in order to build HVM guests. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Ian Jackson

Re: [Xen-devel] [PATCH] tools: libxl: allow permissive qemu-upstream pci passthrough.

2015-07-06 Thread George Dunlap
On Fri, Jul 3, 2015 at 3:49 PM, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2015-06-02 at 16:47 +0100, Ian Campbell wrote: Anyone fancy (n)acking this followup to XSA-131? I think we probably want this for 4.6. As someone who has had dealings with the libxl side of hte permissive

Re: [Xen-devel] [PATCH v3 06/32] libxc: make arch_setup_boot{init/late} xc_dom_arch hooks

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: diff --git a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c index 6fb4aee..993954e 100644 --- a/tools/libxc/xc_dom_x86.c +++ b/tools/libxc/xc_dom_x86.c @@ -926,41 +926,7 @@ static int meminit_pv(struct xc_dom_image *dom) /*

Re: [Xen-devel] [xen-unstable test] 59040: regressions - FAIL

2015-07-06 Thread Ian Campbell
On Fri, 2015-07-03 at 21:59 +, osstest service owner wrote: flight 59040 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/59040/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run:

Re: [Xen-devel] [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server

2015-07-06 Thread George Dunlap
On Mon, Jul 6, 2015 at 7:25 AM, Yu Zhang yu.c.zh...@linux.intel.com wrote: MAX_NR_IO_RANGES is used by ioreq server as the maximum number of discrete ranges to be tracked. This patch changes its value to 8k, so that more ranges can be tracked on next generation of Intel platforms in XenGT.

Re: [Xen-devel] [PATCH 4/6] libxl: Use the block-tap script for LIBXL_DISK_BACKEND_TAP

2015-07-06 Thread George Dunlap
On Mon, Jul 6, 2015 at 12:01 PM, Andrew Cooper andrew.coop...@citrix.com wrote: On 06/07/15 11:51, George Dunlap wrote: The block-tap script can now do everything needed for libxl; no need to link against the blktap library. To do this: * Set disk-script to block-tap and dev to

Re: [Xen-devel] Sharing display between guests

2015-07-06 Thread Maxime Ripard
Hi Dario On Thu, Jul 02, 2015 at 02:18:18PM +0200, Dario Faggioli wrote: I don't have much comments on all this, just that, reading, it, it sounded somewhat similar to what GL is doing: http://www.xenproject.org/component/allvideoshare/video/latest/ces15-globalogic.html

Re: [Xen-devel] Sharing display between guests

2015-07-06 Thread Maxime Ripard
Hi Ian, On Mon, Jul 06, 2015 at 12:53:49PM +0100, Ian Campbell wrote: (switching to my work address) On Thu, 2015-07-02 at 13:13 +0200, Maxime Ripard wrote: Hi, I've started using Xen on an Allwinner A33, which works great as an headless device using the latest PSCI patches in

Re: [Xen-devel] Performance problem about address translation

2015-07-06 Thread xinyue
在 2015-07-06, Mon, 15:44:53 ,Andrew Cooper 写到: On 06/07/2015 08:22, xinyue wrote: nbsp; Hi, nbsp;nbsp;nbsp; For I want to translate the virtual address in HVM DomU to virtual address in Xen. But when I use the

Re: [Xen-devel] Sharing display between guests

2015-07-06 Thread Ian Campbell
(switching to my work address) On Thu, 2015-07-02 at 13:13 +0200, Maxime Ripard wrote: Hi, I've started using Xen on an Allwinner A33, which works great as an headless device using the latest PSCI patches in U-Boot. However, we would like to do something more with it, and we would need

Re: [Xen-devel] [PATCH v3 04/32] libxc: introduce a domain loader for HVM guest firmware

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: Introduce a very simple (and dummy) domain loader to be used to load the firmware (hvmloader) into HVM guests. Since hmvloader is just a 32bit elf executable the loader is fairly simple. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Ian

Re: [Xen-devel] [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server

2015-07-06 Thread Paul Durrant
-Original Message- From: dunl...@gmail.com [mailto:dunl...@gmail.com] On Behalf Of George Dunlap Sent: 06 July 2015 13:36 To: Yu Zhang Cc: xen-devel@lists.xen.org; Keir (Xen.org); Jan Beulich; Andrew Cooper; Paul Durrant; Kevin Tian; zhiyuan...@intel.com Subject: Re: [Xen-devel]

Re: [Xen-devel] Sharing display between guests

2015-07-06 Thread Ian Campbell
On Mon, 2015-07-06 at 14:26 +0200, Maxime Ripard wrote: Hi Ian, On Mon, Jul 06, 2015 at 12:53:49PM +0100, Ian Campbell wrote: (switching to my work address) On Thu, 2015-07-02 at 13:13 +0200, Maxime Ripard wrote: Hi, I've started using Xen on an Allwinner A33, which works

Re: [Xen-devel] [PATCH v3 00/12] Alternate p2m: support multiple copies of host p2m

2015-07-06 Thread Jan Beulich
On 06.07.15 at 13:25, t...@xen.org wrote: At 10:50 +0100 on 06 Jul (1436179849), Jan Beulich wrote: On 01.07.15 at 20:09, edmund.h.wh...@intel.com wrote: Changes since v2: Addressed all v2 feedback *except*: In patch 5, the per-domain EPTP list page is still allocated from the

Re: [Xen-devel] [PATCH v2] Modified RTDS scheduler to use an event-driven model instead of polling.

2015-07-06 Thread Dario Faggioli
On Thu, 2015-07-02 at 22:12 -0700, Meng Xu wrote: Hi Dario, Hi, [Since I have commented on this thread in previous email, I just top-post it for reminder.] Just in case, this email is out of your radar... :-) It is on my radar. It's just that I really had to drain my queue of bugfixes.

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

2015-07-06 Thread osstest service owner
flight 59058 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/59058/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumpuserxen-amd64 15 rumpuserxen-demo-xenstorels/xenstorels.repeat fail REGR. vs.

Re: [Xen-devel] [PATCH v3 05/32] libxc: make arch_setup_meminit a xc_dom_arch hook

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: This allows having different arch_setup_meminit implementations based on the guest type. It should not introduce any functional changes. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano

Re: [Xen-devel] [xen-unstable test] 59040: regressions - FAIL

2015-07-06 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [xen-unstable test] 59040: regressions - FAIL): From http://logs.test-lab.xenproject.org/osstest/results/history/test-armhf-armhf-xl-credit2/xen-unstable.html it appears this one is sporadically unreliable on cubietruck, but works just fine on arndale.

Re: [Xen-devel] [PATCH v3 07/32] xen/x86: fix arch_set_info_guest for HVM guests

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: Add checks for ignored vcpu fields in HVM mode. HVM vCPUs (BSP and APs) are always started in 32bit protected mode with paging disabled. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Jan Beulich jbeul...@suse.com Cc: Andrew Cooper

Re: [Xen-devel] [PATCH 2/2] libxc: fix PV vNUMA guest memory allocation

2015-07-06 Thread Andrew Cooper
On 06/07/15 14:17, Wei Liu wrote: In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the number of super pages is calculated with the number of total pages. That is wrong. It breaks PV guest vNUMA. The correct number of super pages should be derived from the number of pages

Re: [Xen-devel] [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server

2015-07-06 Thread Paul Durrant
-Original Message- From: George Dunlap [mailto:george.dun...@eu.citrix.com] Sent: 06 July 2015 14:28 To: Paul Durrant; George Dunlap Cc: Yu Zhang; xen-devel@lists.xen.org; Keir (Xen.org); Jan Beulich; Andrew Cooper; Kevin Tian; zhiyuan...@intel.com Subject: Re: [Xen-devel] [PATCH v2

Re: [Xen-devel] [PATCH 2/2] libxc: fix PV vNUMA guest memory allocation

2015-07-06 Thread Ross Lagerwall
On 07/06/2015 02:30 PM, Wei Liu wrote: On Mon, Jul 06, 2015 at 02:26:37PM +0100, Andrew Cooper wrote: On 06/07/15 14:17, Wei Liu wrote: In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the number of super pages is calculated with the number of total pages. That is wrong. It

Re: [Xen-devel] [v4][PATCH 11/19] tools: introduce some new parameters to set rdm policy

2015-07-06 Thread Chen, Tiejun
I think we should go back here. I was involved in the design discussion, and from the very beginning I probably saw your plan but misunderstood it. I wouldn't be surprised if some others didn't quite understand what they were agreeing to. This way of doing things is different than the way we

Re: [Xen-devel] [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server

2015-07-06 Thread George Dunlap
On Mon, Jul 6, 2015 at 1:38 PM, Paul Durrant paul.durr...@citrix.com wrote: -Original Message- From: dunl...@gmail.com [mailto:dunl...@gmail.com] On Behalf Of George Dunlap Sent: 06 July 2015 13:36 To: Yu Zhang Cc: xen-devel@lists.xen.org; Keir (Xen.org); Jan Beulich; Andrew Cooper;

Re: [Xen-devel] [xen-unstable test] 59040: regressions - FAIL

2015-07-06 Thread Ian Campbell
On Mon, 2015-07-06 at 13:47 +0100, Ian Jackson wrote: test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm 9 debian-hvm-install fail REGR. vs. 58965 http://logs.test-lab.xenproject.org/osstest/results/history/test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm/xen-unstable.html

Re: [Xen-devel] [PATCH] tools: libxl: allow permissive qemu-upstream pci passthrough.

2015-07-06 Thread Anthony PERARD
On Fri, Jul 03, 2015 at 03:49:29PM +0100, Ian Campbell wrote: On Tue, 2015-06-02 at 16:47 +0100, Ian Campbell wrote: Anyone fancy (n)acking this followup to XSA-131? I think we probably want this for 4.6. From c395657b03a1e2b7616d987e7078694874981979 Mon Sep 17 00:00:00 2001 From: Ian

Re: [Xen-devel] [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server

2015-07-06 Thread Paul Durrant
-Original Message- From: dunl...@gmail.com [mailto:dunl...@gmail.com] On Behalf Of George Dunlap Sent: 06 July 2015 13:50 To: Paul Durrant Cc: Yu Zhang; xen-devel@lists.xen.org; Keir (Xen.org); Jan Beulich; Andrew Cooper; Kevin Tian; zhiyuan...@intel.com Subject: Re: [Xen-devel]

[Xen-devel] [PATCH 0/2] Two PV vNUMA patches

2015-07-06 Thread Wei Liu
The first one is just cosmetic change. The second patch fixes a bug. Wei Liu (2): libxc: remove trailing newline in xc_dom_panic format string libxc: fix PV vNUMA guest memory allocation tools/libxc/xc_dom_x86.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) --

[Xen-devel] [PATCH 1/2] libxc: remove trailing newline in xc_dom_panic format string

2015-07-06 Thread Wei Liu
xc_dom_panic prints more information after user supplied strings, so don't print a newline. Signed-off-by: Wei Liu wei.l...@citrix.com --- tools/libxc/xc_dom_x86.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c index

[Xen-devel] [PATCH 2/2] libxc: fix PV vNUMA guest memory allocation

2015-07-06 Thread Wei Liu
In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the number of super pages is calculated with the number of total pages. That is wrong. It breaks PV guest vNUMA. The correct number of super pages should be derived from the number of pages within that virtual NUMA node. Also

Re: [Xen-devel] [xen-unstable test] 59040: regressions - FAIL

2015-07-06 Thread Wei Liu
On Mon, Jul 06, 2015 at 01:57:28PM +0100, Ian Campbell wrote: On Mon, 2015-07-06 at 13:47 +0100, Ian Jackson wrote: test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm 9 debian-hvm-install fail REGR. vs. 58965

Re: [Xen-devel] [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server

2015-07-06 Thread George Dunlap
On 07/06/2015 02:09 PM, Paul Durrant wrote: -Original Message- From: dunl...@gmail.com [mailto:dunl...@gmail.com] On Behalf Of George Dunlap Sent: 06 July 2015 13:50 To: Paul Durrant Cc: Yu Zhang; xen-devel@lists.xen.org; Keir (Xen.org); Jan Beulich; Andrew Cooper; Kevin Tian;

Re: [Xen-devel] [PATCH 2/2] libxc: fix PV vNUMA guest memory allocation

2015-07-06 Thread Wei Liu
On Mon, Jul 06, 2015 at 02:26:37PM +0100, Andrew Cooper wrote: On 06/07/15 14:17, Wei Liu wrote: In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the number of super pages is calculated with the number of total pages. That is wrong. It breaks PV guest vNUMA. The correct

Re: [Xen-devel] [xen-unstable test] 59040: regressions - FAIL

2015-07-06 Thread Ian Campbell
On Mon, 2015-07-06 at 14:23 +0100, Wei Liu wrote: I saw this bug since the introduction of amd64-i386 stubdom test case. Now it looks like intermittent, i.e. we failed at the beginning, passed at some point, now it failed again.

Re: [Xen-devel] [PATCH 2/2] libxc: fix PV vNUMA guest memory allocation

2015-07-06 Thread Wei Liu
On Mon, Jul 06, 2015 at 02:33:35PM +0100, Ross Lagerwall wrote: On 07/06/2015 02:30 PM, Wei Liu wrote: On Mon, Jul 06, 2015 at 02:26:37PM +0100, Andrew Cooper wrote: On 06/07/15 14:17, Wei Liu wrote: In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the number of super pages

[Xen-devel] [PATCH OSSTEST 2/2] ts-debian-hvm-install: Arrange for installed guest to use a serial console

2015-07-06 Thread Ian Campbell
So that the guest boot will be logged somewhere useful (the qemu-dm log). It still seems to pickup a quiet from somewhere, so it's not as useful as it might be, but it is an improvement. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- ts-debian-hvm-install | 9 ++--- 1 file changed,

[Xen-devel] [PATCH OSSTEST 1/2] When invoking xl create do so verbosely

2015-07-06 Thread Ian Campbell
xend.pm inherits from xl.pm, but I don't know what (if any) support for verbosity it has, so the xm invocation is unchanged. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- Osstest/Toolstack/xend.pm | 1 + Osstest/Toolstack/xl.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)

Re: [Xen-devel] [PATCH v3 10/32] libxc: remove dead HVM building code

2015-07-06 Thread Andrew Cooper
On 03/07/15 12:34, Roger Pau Monne wrote: Remove xc_hvm_build_x86.c and xc_hvm_build_arm.c since xc_hvm_build is not longer used in order to create HVM guests. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini

[Xen-devel] [PATCH v2] libxc: fix PV vNUMA guest memory allocation

2015-07-06 Thread Wei Liu
In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the number of super pages is calculated with the number of total pages. That is wrong. It breaks PV guest vNUMA. The correct number of super pages should be derived from the number of pages within that virtual NUMA node. Also

Re: [Xen-devel] [PATCH V2 2/3] xen/vm_event: Support for guest-requested events

2015-07-06 Thread Lengyel, Tamas
On Mon, Jul 6, 2015 at 6:26 AM, Jan Beulich jbeul...@suse.com wrote: On 30.06.15 at 16:48, tleng...@novetta.com wrote: --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -342,13 +342,15 @@ struct arch_domain /* Monitor options */ struct { -

Re: [Xen-devel] [v4][PATCH 11/19] tools: introduce some new parameters to set rdm policy

2015-07-06 Thread Jan Beulich
On 06.07.15 at 15:34, tiejun.c...@intel.com wrote: I think we should go back here. I was involved in the design discussion, and from the very beginning I probably saw your plan but misunderstood it. I wouldn't be surprised if some others didn't quite understand what they were agreeing to.

Re: [Xen-devel] [xen-unstable test] 59040: regressions - FAIL

2015-07-06 Thread Wei Liu
On Mon, Jul 06, 2015 at 02:37:31PM +0100, Ian Campbell wrote: On Mon, 2015-07-06 at 14:23 +0100, Wei Liu wrote: I saw this bug since the introduction of amd64-i386 stubdom test case. Now it looks like intermittent, i.e. we failed at the beginning, passed at some point, now it failed

Re: [Xen-devel] [PATCH 2/2] libxc: fix PV vNUMA guest memory allocation

2015-07-06 Thread Dario Faggioli
On Mon, 2015-07-06 at 14:17 +0100, Wei Liu wrote: In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the number of super pages is calculated with the number of total pages. That is wrong. It breaks PV guest vNUMA. The correct number of super pages should be derived from the

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

2015-07-06 Thread Ian Campbell
On Mon, 2015-07-06 at 12:04 +0100, Julien Grall wrote: Hi Ian, On 03/07/15 16:55, 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

Re: [Xen-devel] [PATCH OSSTEST 1/2] When invoking xl create do so verbosely

2015-07-06 Thread Ian Jackson
Ian Campbell writes ([PATCH OSSTEST 1/2] When invoking xl create do so verbosely): xend.pm inherits from xl.pm, but I don't know what (if any) support for verbosity it has, so the xm invocation is unchanged. Acked-by: Ian Jackson ian.jack...@eu.citrix.com

  1   2   3   >