Re: [Xen-devel] [PATCH v2] x86: synchronize PCI config space access decoding

2015-06-16 Thread Jan Beulich
On 15.06.15 at 17:32, andrew.coop...@citrix.com wrote: On 15/06/15 15:30, Jan Beulich wrote: @@ -2439,9 +2434,19 @@ struct hvm_ioreq_server *hvm_select_iore type = IOREQ_TYPE_PCI_CONFIG; addr = ((uint64_t)sbdf 32) | - CF8_ADDR_HI(cf8) |

Re: [Xen-devel] FW: VT-d async invalidation for Device-TLB.

2015-06-16 Thread Jan Beulich
On 16.06.15 at 09:59, yang.z.zh...@intel.com wrote: Jan Beulich wrote on 2015-06-16: On 16.06.15 at 05:07, yang.z.zh...@intel.com wrote: Jan Beulich wrote on 2015-06-15: On 13.06.15 at 16:44, quan...@intel.com wrote: On 12.06.15 at 14:47, jbeul...@suse.com wrote: On 12.06.15 at 04:40,

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

2015-06-16 Thread Jan Beulich
On 16.06.15 at 10:08, feng...@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Tuesday, June 09, 2015 11:06 PM On 08.05.15 at 11:07, feng...@intel.com wrote: +dest_vcpu_array = xzalloc_array(struct vcpu *, d-max_vcpus); You realize that this can be quite big an

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Jan Beulich
On 16.06.15 at 10:20, ian.campb...@citrix.com wrote: On Tue, 2015-06-16 at 07:44 +0100, Jan Beulich wrote: On 15.06.15 at 16:30, jbeul...@suse.com wrote: The number of slots per page being 511 (i.e. not a power of two) means that the (32-bit) read and write indexes going beyond 2^32 will

Re: [Xen-devel] [PATCH v2 4/6] gnttab: simplify page copying/clearing

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 13:27 +0100, Jan Beulich wrote: ... by making {copy,clear}_domain_page() available also on other than x86. Signed-off-by: Jan Beulich jbeul...@suse.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing

Re: [Xen-devel] [OSSTEST PATCH 07/12] sg-report-job-history: Cope if history too short

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: If there have been less than 99 relevant flights, the inner SELECT (to determine the minimum flight number) would return NULL. And anything NULL is NULL and NULL is treated as false. So the host runvar identification would break.

Re: [Xen-devel] [OSSTEST PATCH 06/12] sg-report-job-history: Slightly prettify sql

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: No functional change apart from slightly better debug output. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list

Re: [Xen-devel] [OSSTEST PATCH 10/12] reporting: Add colours as optional export tag, and provide $blue

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] Is: graphics corruption with 'xen: Support Xen pv-domains using PAT. Was:Re: [BUG] Characters on the screen are broken on Linux = 3.19 with VT-d enabled

2015-06-16 Thread Juergen Gross
On 06/16/2015 10:55 AM, Ting-Wei Lan wrote: Juergen Gross 於 西元2015年06月16日 12:30 寫道: On 06/15/2015 09:03 PM, Ting-Wei Lan wrote: 於 一,2015-06-15 於 14:55 -0400,Konrad Rzeszutek Wilk 提到: On Sat, Jun 13, 2015 at 12:43:14AM +0800, Ting-Wei Lan wrote: When using Linux = 3.19 as the dom0 kernel,

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Paul Durrant
-Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: 16 June 2015 10:00 To: Jan Beulich Cc: Andrew Cooper; Wei Liu; Ian Jackson; Stefano Stabellini; xen-devel; Keir (Xen.org); Paul Durrant Subject: Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in

Re: [Xen-devel] FW: VT-d async invalidation for Device-TLB.

2015-06-16 Thread Zhang, Yang Z
Jan Beulich wrote on 2015-06-16: On 16.06.15 at 05:07, yang.z.zh...@intel.com wrote: Jan Beulich wrote on 2015-06-15: On 13.06.15 at 16:44, quan...@intel.com wrote: On 12.06.15 at 14:47, jbeul...@suse.com wrote: On 12.06.15 at 04:40, quan...@intel.com wrote: I tested it by a Myri-10G

Re: [Xen-devel] [PATCH v5 2/8] xenalyze: increase NR_CPUS to 256

2015-06-16 Thread Olaf Hering
On Tue, Jun 16, Ian Campbell wrote: On Mon, 2015-06-15 at 19:58 +0200, Olaf Hering wrote: On Mon, Jun 15, Andrew Cooper wrote: In an ideal world, userspace tools like this should not really be tied to NR_CPUS or MAX_CPUS. They should get max_cpu_id from Xen and dynamically

Re: [Xen-devel] [PATCH v2 1/6] gnttab: eliminate several explicit version checks

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 13:24 +0100, Jan Beulich wrote: By having nr_grant_entries() return zero when the grant table version is still unset we can reduce the number of error paths and at once fix grant_map_exists() running into the being removed ASSERT() when called for a page owned by a domain

[Xen-devel] [PATCH 3.4 165/172] config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected

2015-06-16 Thread lizf
From: Konrad Rzeszutek Wilk konrad.w...@oracle.com 3.4.108-rc1 review patch. If anyone has any objections, please let me know. -- commit a6dfa128ce5c414ab46b1d690f7a1b8decb8526d upstream. A huge amount of NIC drivers use the DMA API, however if compiled under 32-bit an very

Re: [Xen-devel] [OSSTEST PATCH 08/12] sg-report-job-history: Show start time

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] Is: graphics corruption with 'xen: Support Xen pv-domains using PAT. Was:Re: [BUG] Characters on the screen are broken on Linux = 3.19 with VT-d enabled

2015-06-16 Thread Ting-Wei Lan
Juergen Gross 於 西元2015年06月16日 12:30 寫道: On 06/15/2015 09:03 PM, Ting-Wei Lan wrote: 於 一,2015-06-15 於 14:55 -0400,Konrad Rzeszutek Wilk 提到: On Sat, Jun 13, 2015 at 12:43:14AM +0800, Ting-Wei Lan wrote: When using Linux = 3.19 as the dom0 kernel, characters on the screen become broken after the

Re: [Xen-devel] [PATCHv2 5/5] evtchn: pad struct evtchn to 64 bytes

2015-06-16 Thread Jan Beulich
On 15.06.15 at 17:48, david.vra...@citrix.com wrote: The number of struct evtchn in a page must be a power of two. Under some workloads performance is improved slightly by padding struct evtchn to 64 bytes (a cache line), thus putting the per-channel locks into their own cache line. This

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Andrew Cooper
On 16/06/15 07:40, Jan Beulich wrote: On 15.06.15 at 17:55, andrew.coop...@citrix.com wrote: On 15/06/15 15:30, Jan Beulich wrote: +/* Canonicalize read/write pointers to prevent their overflow. */ +while ( s-bufioreq_atomic +pg-ptrs.read_pointer = IOREQ_BUFFER_SLOT_NUM )

Re: [Xen-devel] [PATCH v5 2/8] xenalyze: increase NR_CPUS to 256

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 19:58 +0200, Olaf Hering wrote: On Mon, Jun 15, Andrew Cooper wrote: In an ideal world, userspace tools like this should not really be tied to NR_CPUS or MAX_CPUS. They should get max_cpu_id from Xen and dynamically allocate a bitmap of sufficient size. The dumps

Re: [Xen-devel] [PATCH v2 5/6] gnttab: fix/adjust gnttab_transfer()

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 13:28 +0100, Jan Beulich wrote: - don't update shared entry's frame number for translated domains (as MFNs shouldn't be exposed to such guests) - for v1 grant table format, force copying of the page also when the intended MFN doesn't fit in 32 bits (and the domain

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

2015-06-16 Thread Wu, Feng
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Tuesday, June 16, 2015 4:29 PM To: Wu, Feng Cc: andrew.coop...@citrix.com; george.dun...@eu.citrix.com; Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; k...@xen.org Subject: RE: [RFC v2 13/15] Update

Re: [Xen-devel] [OSSTEST PATCH 04/12] sg-report-flight: Use db_prepare

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: And do away with two commented-out ad-hoc statement dumps. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list

Re: [Xen-devel] [OSSTEST PATCH 03/12] cs-bisection-step: Use db_prepare

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: And do away with one ad-hoc statement dump. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list

Re: [Xen-devel] [OSSTEST PATCH 05/12] sg-report-job-history: Add a debugging statement

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCHv2 3/5] evtchn: use a per-event channel lock for sending events

2015-06-16 Thread Jan Beulich
On 15.06.15 at 17:48, david.vra...@citrix.com wrote: @@ -609,21 +662,18 @@ int evtchn_send(struct domain *ld, unsigned int lport) struct domain *rd; intrport, ret = 0; -spin_lock(ld-event_lock); - -if ( unlikely(!port_is_valid(ld, lport)) ) -{ -

Re: [Xen-devel] [PATCHv2 4/5] evtchn: remove the locking when unmasking an event channel

2015-06-16 Thread Jan Beulich
On 15.06.15 at 17:48, david.vra...@citrix.com wrote: --- a/xen/common/event_channel.c +++ b/xen/common/event_channel.c @@ -977,9 +977,7 @@ int evtchn_unmask(unsigned int port) struct domain *d = current-domain; struct evtchn *evtchn; -ASSERT(spin_is_locked(d-event_lock));

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

2015-06-16 Thread Jan Beulich
On 16.06.15 at 10:56, feng...@intel.com wrote: -Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Tuesday, June 16, 2015 4:29 PM To: Wu, Feng Cc: andrew.coop...@citrix.com; george.dun...@eu.citrix.com; Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org;

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Jan Beulich
On 16.06.15 at 11:15, paul.durr...@citrix.com wrote: -Original Message- From: Ian Campbell [mailto:ian.campb...@citrix.com] Sent: 16 June 2015 10:00 To: Jan Beulich Cc: Andrew Cooper; Wei Liu; Ian Jackson; Stefano Stabellini; xen-devel; Keir (Xen.org); Paul Durrant Subject: Re:

Re: [Xen-devel] [v3][PATCH 07/16] hvmloader/pci: skip reserved ranges

2015-06-16 Thread Chen, Tiejun
On 2015/6/16 13:47, Tian, Kevin wrote: From: Chen, Tiejun Sent: Friday, June 12, 2015 3:54 PM bar_data |= (uint32_t)base; bar_data_upper = (uint32_t)(base 32); +for ( j = 0; j memory_map.nr_map ; j++ ) +{ +if ( memory_map.map[j].type !=

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Ian Jackson
George Dunlap writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): Ian / Ian / Wei / Jim: Hi. 3. Have the libxl layer accept both busid and bus:addr. Translate as necessary and store in the libxl_device_usb struct. ... The advantage of #3 internally is that the functions can do the

Re: [Xen-devel] PCI Passthrough ARM Design : Draft1

2015-06-16 Thread Julien Grall
On 16/06/2015 08:02, Roger Pau Monné wrote: Hello, El 16/06/15 a les 7.42, Manish Jaggi ha escrit: [...] Beware that the 1:1 mapping doesn't fit with the current guest memory layout which is pre-defined at Xen build time. So you would also have to make it dynamically or decide to use the

Re: [Xen-devel] [PATCH v2 COLOPre 08/13] tools/libxl: introduce libxl__domain_common_switch_qemu_logdirty()

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: Secondary vm is running in colo mode, we need to send secondary vm's dirty page information to master at checkpoint, so we have to enable qemu logdirty on secondary. libxl__domain_suspend_common_switch_qemu_logdirty() is to enable qemu

Re: [Xen-devel] [PATCH v2 COLOPre 09/13] tools/libxl: Update libxl_save_msgs_gen.pl to support return data from xl to xc

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: From: Wen Congyang we...@cn.fujitsu.com Currently, all callbacks return an integer value or void. We cannot return some data to xc via callback. Update libxl_save_msgs_gen.pl to support this case. (Odd two space indent from

[Xen-devel] [DESIGN] Feature Levelling improvements

2015-06-16 Thread Andrew Cooper
All, With migration v2 getting close to being done, I have had time to pick back up with feature levelling improvements. Presented here for review is draft E. A PDF version of the design is available here: http://xenbits.xen.org/people/andrewcoop/feature-levelling/feature-levelling-E.pdf

Re: [Xen-devel] [PATCH v2 COLOPre 09/13] tools/libxl: Update libxl_save_msgs_gen.pl to support return data from xl to xc

2015-06-16 Thread Wen Congyang
On 06/16/2015 06:49 PM, Ian Campbell wrote: On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: From: Wen Congyang we...@cn.fujitsu.com Currently, all callbacks return an integer value or void. We cannot return some data to xc via callback. Update libxl_save_msgs_gen.pl to support

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Juergen Gross
On 06/16/2015 12:30 PM, George Dunlap wrote: On Mon, Jun 15, 2015 at 7:26 PM, Juergen Gross jgr...@suse.com wrote: On 06/15/2015 04:34 PM, George Dunlap wrote: On Mon, Jun 15, 2015 at 3:25 PM, Jürgen Groß jgr...@suse.com wrote: On 06/15/2015 04:17 PM, George Dunlap wrote: On Wed, Jun 10,

Re: [Xen-devel] [PATCH v2 COLOPre 10/13] tools/libxl: Add back channel to allow migration target send data back

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 09:38 +0800, Yang Hongyang wrote: On 06/12/2015 11:04 PM, Ian Jackson wrote: Wei Liu writes (Re: [Xen-devel] [PATCH v2 COLOPre 10/13] tools/libxl: Add back channel to allow migration target send data back): On Mon, Jun 08, 2015 at 11:43:14AM +0800, Yang Hongyang

Re: [Xen-devel] [PATCH v2 COLOPre 11/13] tools/libxl: rename remus device to checkpoint device

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 17:24 +0100, Wei Liu wrote: On Mon, Jun 15, 2015 at 09:45:54AM +0800, Yang Hongyang wrote: On 06/12/2015 10:57 PM, Ian Jackson wrote: Wei Liu writes (Re: [Xen-devel] [PATCH v2 COLOPre 11/13] tools/libxl: rename remus device to checkpoint device): On Fri, Jun

Re: [Xen-devel] [PATCH v2 COLOPre 12/13] tools/libxl: adjust the indentation

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: This is just tidying up after the previous automatic renaming. Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com Signed-off-by: Wen Congyang we...@cn.fujitsu.com Acked-by: Ian Campbell ian.campb...@citrix.com

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Jürgen Groß
On 06/16/2015 12:41 PM, Ian Jackson wrote: George Dunlap writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): Ian / Ian / Wei / Jim: Hi. 3. Have the libxl layer accept both busid and bus:addr. Translate as necessary and store in the libxl_device_usb struct. ... The advantage of

Re: [Xen-devel] [PATCH v2 COLOPre 09/13] tools/libxl: Update libxl_save_msgs_gen.pl to support return data from xl to xc

2015-06-16 Thread Ian Jackson
Wen Congyang writes (Re: [Xen-devel] [PATCH v2 COLOPre 09/13] tools/libxl: Update libxl_save_msgs_gen.pl to support return data from xl to xc): On 06/16/2015 06:49 PM, Ian Campbell wrote: Can you be more specific about what kind of data you need to pass back here? Is it an opaque void * blob

Re: [Xen-devel] [PATCH v6 COLO 01/15] docs: add colo readme

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: add colo readme, refer to http://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com This is fine as far as it goes but I wonder if perhaps docs/README.{remus,colo} ought to be moved

Re: [Xen-devel] [PATCH v2 COLOPre 10/13] tools/libxl: Add back channel to allow migration target send data back

2015-06-16 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [PATCH v2 COLOPre 10/13] tools/libxl: Add back channel to allow migration target send data back): On Mon, 2015-06-15 at 09:38 +0800, Yang Hongyang wrote: Then I'll just extend the params of libxl_domain_create_restore(). One question first: is it really

Re: [Xen-devel] [PATCH v2 COLOPre 09/13] tools/libxl: Update libxl_save_msgs_gen.pl to support return data from xl to xc

2015-06-16 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [PATCH v2 COLOPre 09/13] tools/libxl: Update libxl_save_msgs_gen.pl to support return data from xl to xc): On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: From: Wen Congyang we...@cn.fujitsu.com Currently, all callbacks return an integer value

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread George Dunlap
On Tue, Jun 16, 2015 at 11:41 AM, Ian Jackson ian.jack...@eu.citrix.com wrote: 3. Have the libxl layer accept both busid and bus:addr. Translate as necessary and store in the libxl_device_usb struct. ... The advantage of #3 internally is that the functions can do the translation once (if

Re: [Xen-devel] [PATCH v6 COLO 03/15] primary vm suspend/get_dirty_pfn/resume/checkpoint code

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: diff --git a/tools/libxc/include/xenguest.h b/tools/libxc/include/xenguest.h index 86bcf9c..d5902a6 100644 --- a/tools/libxc/include/xenguest.h +++ b/tools/libxc/include/xenguest.h @@ -75,6 +75,18 @@ struct save_callbacks { */

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

2015-06-16 Thread Wu, Feng
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Tuesday, June 16, 2015 3:53 PM To: Wu, Feng Cc: andrew.coop...@citrix.com; george.dun...@eu.citrix.com; Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; k...@xen.org Subject: RE: [RFC v2 13/15] Update

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Ian Campbell
On Tue, 2015-06-16 at 07:44 +0100, Jan Beulich wrote: On 15.06.15 at 16:30, jbeul...@suse.com wrote: The number of slots per page being 511 (i.e. not a power of two) means that the (32-bit) read and write indexes going beyond 2^32 will likely disturb operation. Extend I/O req server

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

2015-06-16 Thread Jan Beulich
On 16.06.15 at 10:13, feng...@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Tuesday, June 16, 2015 3:53 PM On 16.06.15 at 02:17, feng...@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Wednesday, June 10, 2015 2:44 PM On 08.05.15 at 11:07,

Re: [Xen-devel] VT-d async invalidation for Device-TLB.

2015-06-16 Thread Xu, Quan
June 16, 2015 3:57 PM jbeul...@suse.com wrote: On 16.06.15 at 05:55, quan...@intel.com wrote: From: Zhang, Yang wrote on June 16, 2015 11:07 AM Jan Beulich wrote on 2015-06-15: On 13.06.15 at 16:44, quan...@intel.com wrote: On 12.06.15 at 14:47, jbeul...@suse.com wrote: On

Re: [Xen-devel] virtual filesystem for Xen

2015-06-16 Thread Ian Campbell
AFAIK xenfs was an area of research back then which never made it to completion. I don't know of any extant code or repositories etc and Mark is no longer active in the community. (don't confuse xenfs with Linux's xenfs file system, which provides the /proc/xen interfaces but are nothing to do

Re: [Xen-devel] [PATCH v2 6/6] gnttab: make struct grant_mapping private

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 13:29 +0100, Jan Beulich wrote: This documents that no entity outside of gnttab.c actually accesses objects of that type, which is particularly important with the now more fine grained locking in place. Signed-off-by: Jan Beulich jbeul...@suse.com Acked-by: Ian

Re: [Xen-devel] [OSSTEST PATCH 02/12] sg-report-job-history: Use db_prepare

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Ian Campbell
On Tue, 2015-06-16 at 09:37 +0100, Jan Beulich wrote: On 16.06.15 at 10:20, ian.campb...@citrix.com wrote: On Tue, 2015-06-16 at 07:44 +0100, Jan Beulich wrote: On 15.06.15 at 16:30, jbeul...@suse.com wrote: The number of slots per page being 511 (i.e. not a power of two) means that

Re: [Xen-devel] [PATCH 00/12] Reporting and debugging improvements

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: I have been working on a new script called sg-report-host-history. This is the result so far. The series so far consists of mostly useful improvements, and one bugfix to the existing reporting arrangements. Unrelated, but while looking

Re: [Xen-devel] [OSSTEST PATCH 01/12] Osstest.pm: Provide new db_prepare helper with built-in debugging

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: No callers, so no functional change, as yet. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing list

Re: [Xen-devel] [OSSTEST PATCH 11/12] reporting: Show slightly better info for broken jobs

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- Osstest/Executive.pm |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index 6edbfee..6c16fdd 100644 ---

Re: [Xen-devel] [PATCHv2 3/5] evtchn: use a per-event channel lock for sending events

2015-06-16 Thread David Vrabel
On 16/06/15 10:18, Jan Beulich wrote: On 15.06.15 at 17:48, david.vra...@citrix.com wrote: @@ -609,21 +662,18 @@ int evtchn_send(struct domain *ld, unsigned int lport) struct domain *rd; intrport, ret = 0; -spin_lock(ld-event_lock); - -if (

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Ian Jackson
Jürgen Groß writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): On 06/16/2015 12:41 PM, Ian Jackson wrote: Is the busid more stable in the face of plug/unplug ? This is the normal reason for a more path-like device specification. ... Unfortunately the busid isn't stable at least

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Ian Jackson
George Dunlap writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): The busid we're talking about here will identify a device at a particular *port* in the USB topology; the busid will take whatever is plugged into that particular port. So in the example in my other thread, the

Re: [Xen-devel] [PATCHv2 4/5] evtchn: remove the locking when unmasking an event channel

2015-06-16 Thread David Vrabel
On 16/06/15 10:19, Jan Beulich wrote: On 15.06.15 at 17:48, david.vra...@citrix.com wrote: --- a/xen/common/event_channel.c +++ b/xen/common/event_channel.c @@ -977,9 +977,7 @@ int evtchn_unmask(unsigned int port) struct domain *d = current-domain; struct evtchn *evtchn; -

Re: [Xen-devel] [PATCHv2 3/5] evtchn: use a per-event channel lock for sending events

2015-06-16 Thread Jan Beulich
On 16.06.15 at 11:34, david.vra...@citrix.com wrote: On 16/06/15 10:18, Jan Beulich wrote: On 15.06.15 at 17:48, david.vra...@citrix.com wrote: @@ -609,21 +662,18 @@ int evtchn_send(struct domain *ld, unsigned int lport) struct domain *rd; intrport, ret = 0; -

Re: [Xen-devel] [PATCHv2 3/5] evtchn: use a per-event channel lock for sending events

2015-06-16 Thread David Vrabel
On 16/06/15 10:51, Jan Beulich wrote: On 16.06.15 at 11:34, david.vra...@citrix.com wrote: On 16/06/15 10:18, Jan Beulich wrote: On 15.06.15 at 17:48, david.vra...@citrix.com wrote: @@ -609,21 +662,18 @@ int evtchn_send(struct domain *ld, unsigned int lport) struct domain *rd;

Re: [Xen-devel] [PATCH v6 0/2] kconfig: add xenconfig

2015-06-16 Thread David Vrabel
On 20/05/15 19:53, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com Michal Marek, Xen folks (David Vrabel, Konrad, Ian), which tree should these go through? This v6 addresses enabling xen on i386, x86-64 and arm64 starting from a 'make allnoconfig' setting. Luis R.

Re: [Xen-devel] [PATCH v6 1/8] xenalyze: add to tools/xentrace/

2015-06-16 Thread Ian Campbell
On Thu, 2015-06-11 at 16:30 +, Olaf Hering wrote: @@ -26,6 +28,7 @@ install: build [ -z $(LIBBIN) ] || $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_DIR) $(DESTDIR)$(MAN1DIR) $(INSTALL_DIR) $(DESTDIR)$(MAN8DIR) + $(INSTALL_PROG) $(BIN) $(DESTDIR)$(bindir)

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread George Dunlap
On Mon, Jun 15, 2015 at 7:26 PM, Juergen Gross jgr...@suse.com wrote: On 06/15/2015 04:34 PM, George Dunlap wrote: On Mon, Jun 15, 2015 at 3:25 PM, Jürgen Groß jgr...@suse.com wrote: On 06/15/2015 04:17 PM, George Dunlap wrote: On Wed, Jun 10, 2015 at 4:20 AM, Chunyan Liu cy...@suse.com

Re: [Xen-devel] [PATCH v6 1/8] xenalyze: add to tools/xentrace/

2015-06-16 Thread George Dunlap
On Tue, Jun 16, 2015 at 11:24 AM, Ian Campbell ian.campb...@citrix.com wrote: On Thu, 2015-06-11 at 16:30 +, Olaf Hering wrote: @@ -26,6 +28,7 @@ install: build [ -z $(LIBBIN) ] || $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_DIR) $(DESTDIR)$(MAN1DIR) $(INSTALL_DIR)

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Ian Campbell
On Tue, 2015-06-16 at 10:34 +0100, Jan Beulich wrote: On 16.06.15 at 10:59, ian.campb...@citrix.com wrote: On Tue, 2015-06-16 at 09:37 +0100, Jan Beulich wrote: On 16.06.15 at 10:20, ian.campb...@citrix.com wrote: On Tue, 2015-06-16 at 07:44 +0100, Jan Beulich wrote: On 15.06.15 at

Re: [Xen-devel] [v3][PATCH 07/16] hvmloader/pci: skip reserved ranges

2015-06-16 Thread Jan Beulich
On 16.06.15 at 11:29, tiejun.c...@intel.com wrote: I'm trying to walk into this direction: /* * We'll skip all space overlapping with reserved memory later, * so we need to increase mmio_total to compensate them. */ for ( j = 0; j memory_map.nr_map ; j++ )

Re: [Xen-devel] [PATCH] x86/HVM: avoid pointer wraparound in bufioreq handling

2015-06-16 Thread Jan Beulich
On 16.06.15 at 11:45, paul.durr...@citrix.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: 16 June 2015 10:30 On 16.06.15 at 11:15, paul.durr...@citrix.com wrote: From my reading, both QEMU upstream and trad are safe. They use a loop of the form: while (read_ptr !=

Re: [Xen-devel] Is: graphics corruption with 'xen: Support Xen pv-domains using PAT. Was:Re: [BUG] Characters on the screen are broken on Linux = 3.19 with VT-d enabled

2015-06-16 Thread Juergen Gross
On 06/16/2015 11:32 AM, 藍挺瑋 wrote: 於 二,2015-06-16 於 11:06 +0200,Juergen Gross 提到: On 06/16/2015 10:55 AM, Ting-Wei Lan wrote: Juergen Gross 於 西元2015年06月16日 12:30 寫道: On 06/15/2015 09:03 PM, Ting-Wei Lan wrote: 於 一,2015-06-15 於 14:55 -0400,Konrad Rzeszutek Wilk 提到: On Sat, Jun 13, 2015 at

Re: [Xen-devel] [OSSTEST PATCH 11/12] reporting: Show slightly better info for broken jobs

2015-06-16 Thread Ian Jackson
Ian Campbell writes (Re: [OSSTEST PATCH 11/12] reporting: Show slightly better info for broken jobs): On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com ... -} elsif ($status eq 'fail') { +} elsif ($status eq 'fail' or $status

Re: [Xen-devel] [OSSTEST PATCH 11/12] reporting: Show slightly better info for broken jobs

2015-06-16 Thread Ian Campbell
On Tue, 2015-06-16 at 11:13 +0100, Ian Jackson wrote: Ian Campbell writes (Re: [OSSTEST PATCH 11/12] reporting: Show slightly better info for broken jobs): On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com ... -} elsif

Re: [Xen-devel] [PATCH 00/12] Reporting and debugging improvements

2015-06-16 Thread Ian Jackson
Ian Campbell writes (Re: [PATCH 00/12] Reporting and debugging improvements): On Mon, 2015-06-15 at 18:13 +0100, Ian Jackson wrote: I have been working on a new script called sg-report-host-history. This is the result so far. The series so far consists of mostly useful improvements, and

Re: [Xen-devel] [PATCH 3/4] Allow vif= to specify PCI address for each nic

2015-06-16 Thread Wei Liu
On Mon, Jun 15, 2015 at 01:45:26PM -0400, Don Slutz wrote: On 06/15/15 11:54, Wei Liu wrote: On Mon, Jun 15, 2015 at 10:15:51AM -0400, Don Slutz wrote: This allows more then 32 nics. How does this patch help? What prevents you from having more than 32 nics? Without a way to put

Re: [Xen-devel] [PATCH v6 1/8] xenalyze: add to tools/xentrace/

2015-06-16 Thread Ian Campbell
On Tue, 2015-06-16 at 11:24 +0100, Ian Campbell wrote: On Thu, 2015-06-11 at 16:30 +, Olaf Hering wrote: @@ -26,6 +28,7 @@ install: build [ -z $(LIBBIN) ] || $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_DIR) $(DESTDIR)$(MAN1DIR) $(INSTALL_DIR) $(DESTDIR)$(MAN8DIR) +

Re: [Xen-devel] [PATCH v6 COLO 05/15] send store mfn and console mfn to xl before resuming secondary vm

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: From: Wen Congyang we...@cn.fujitsu.com We will call libxl__xc_domain_restore_done() to rebuild secondary vm. But we need store mfn and console mfn when rebuilding secondary vm. So make restore_results is a function pointers in

Re: [Xen-devel] [PATCHv2 5/5] evtchn: pad struct evtchn to 64 bytes

2015-06-16 Thread Julien Grall
Hi David, On 15/06/2015 16:48, David Vrabel wrote: diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 44ea92d..a0ff9d2 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -129,7 +129,7 @@ struct evtchn #endif } ssid; #endif -}; +}

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Juergen Gross
On 06/16/2015 01:11 PM, George Dunlap wrote: On Tue, Jun 16, 2015 at 11:51 AM, Juergen Gross jgr...@suse.com wrote: The busid interface that Chunyan is describing requires the caller to find out that long name -- 2-3.1.2 -- rather than the traditional short name (002:010). Just accepting 2-3

Re: [Xen-devel] [PATCH v6 COLO 07/15] implement the cmdline for COLO

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: From: Wen Congyang we...@cn.fujitsu.com Add a new option -c to the command 'xl remus'. If you want to use COLO HA instead of Remus HA, please use -c option. Update man pages to reflect the addition of a new option to 'xl remus'

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread George Dunlap
On Tue, Jun 16, 2015 at 12:12 PM, Ian Jackson ian.jack...@eu.citrix.com wrote: George Dunlap writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): The busid we're talking about here will identify a device at a particular *port* in the USB topology; the busid will take whatever is

Re: [Xen-devel] [PATCH v6 COLO 09/15] COLO: use qemu block replication

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: From: Wen Congyang we...@cn.fujitsu.com The guest should be paused before doing COLO!!! I'm not sure what to make of this comment. Please write a commit message which explains what the commit does and the implication etc.

Re: [Xen-devel] [PATCH v6 COLO 08/15] Support colo mode for qemu disk

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: From: Wen Congyang we...@cn.fujitsu.com Usage: disk = ['...,colo,colo-params=xxx,active-disk=xxx,hidden-disk=xxx...'] The format of colo-params: host:port:exportname=xx Please expand docs/misc/xl-disk-configuration.txt with what these

Re: [Xen-devel] [PATCH v6 COLO 10/15] COLO proxy: implement setup/teardown of COLO proxy module

2015-06-16 Thread Ian Campbell
On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: setup/teardown of COLO proxy module. we use netlink to communicate with proxy module. What is a COLO proxy module and where would one get hold of such a thing? Is this a new kernel feature with a patch? If so then please link to its

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Juergen Gross
On 06/16/2015 01:10 PM, Ian Jackson wrote: Jürgen Groß writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): On 06/16/2015 12:41 PM, Ian Jackson wrote: Is the busid more stable in the face of plug/unplug ? This is the normal reason for a more path-like device specification. ...

Re: [Xen-devel] [PATCH v6 COLO 10/15] COLO proxy: implement setup/teardown of COLO proxy module

2015-06-16 Thread Ian Campbell
On Tue, 2015-06-16 at 12:24 +0100, Ian Campbell wrote: On Mon, 2015-06-08 at 11:45 +0800, Yang Hongyang wrote: setup/teardown of COLO proxy module. we use netlink to communicate with proxy module. What is a COLO proxy module and where would one get hold of such a thing? Is this a new

Re: [Xen-devel] [PATCH] Revert xen-hvm: increase maxmem before calling xc_domain_populate_physmap

2015-06-16 Thread Wei Liu
On Wed, Jun 10, 2015 at 01:55:13PM +0100, George Dunlap wrote: This reverts commit c1d322e6048796296555dd36fdd102d7fa2f50bf. The original commit fixes a bug when assigning a large number of devices which require option roms to a guest. (One known configuration that needs extra memory is

Re: [Xen-devel] [PATCH v6 0/8] add xenalyze to staging

2015-06-16 Thread Ian Campbell
On Thu, 2015-06-11 at 16:30 +, Olaf Hering wrote: Having xenalyze in the source tree makes it much easier to keep private debug code in hypervisor and xenalyze in sync. It helped alot while debugging the root cause for commit 607e8494c42397fb249191904066cace6ac9a880. I've applied 1..4, 6

Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code

2015-06-16 Thread Ian Jackson
Yang Hongyang writes (Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code): On Mon, Jun 08, 2015 at 11:45:46AM +0800, Yang Hongyang wrote: ... 3. Suspend secondary vm a. Suspend secondary vm. b. Call libxl__checkpoint_devices_postsuspend(). c.

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread George Dunlap
On Tue, Jun 16, 2015 at 12:25 PM, Juergen Gross jgr...@suse.com wrote: qemu does support specifying a USB device via vendorId:productId, which is stable even across reboots, but unfortunately it isn't guaranteed to be unique (you can have plugged in two devices of the same type). Indeed.

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Ian Jackson
George Dunlap writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): On Tue, Jun 16, 2015 at 12:19 PM, Juergen Gross jgr...@suse.com wrote: I'm pretty sure this is just a matter of timing during boot: the busses are all (or at least some of them) queried at the same time and the

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API

2015-06-16 Thread Ian Jackson
Juergen Gross writes (Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API): On 06/16/2015 01:10 PM, Ian Jackson wrote: AIUI some devices have serial numbers, which means you can distinguish them ? Yes, they have. The question is whether those are different on multiple instances? With

<    1   2   3