Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Jun 12, 2015 12:59 AM, "Jan Beulich" wrote: > > > > >>> On 12.06.15 at 01:23, wrote: > > > There are two usages on MTRRs: > > > 1) MTRR entries set by firmware > > > 2) MTRR entries set by OS drivers > > > > > > We can obsolete 2), but we have no control over 1)

[Xen-devel] [qemu-upstream-4.5-testing test] 58413: tolerable FAIL - PUSHED

2015-06-12 Thread osstest service user
flight 58413 qemu-upstream-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/58413/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-xl-qemuu-debianhvm-amd64 9 debian-hvm-install fail in 58384 pass in 58413 test-amd6

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Wen Congyang
At 2015/6/12 23:31, Paul Durrant Wrote: -Original Message- From: Wen Congyang [mailto:ghost...@gmail.com] Sent: 12 June 2015 16:05 To: Paul Durrant; Wen Congyang; Yang Hongyang; Andrew Cooper; xen- de...@lists.xen.org Cc: Wei Liu; Ian Campbell; guijianf...@cn.fujitsu.com; yunhong.ji...@in

[Xen-devel] [xen-4.2-testing test] 58411: tolerable FAIL - PUSHED

2015-06-12 Thread osstest service user
flight 58411 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/58411/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop fail like 57955 test-amd64-i386-xl-win7-am

[Xen-devel] [ovmf bisection] complete build-i386-xsm

2015-06-12 Thread osstest service user
branch xen-unstable xen branch xen-unstable job build-i386-xsm test xen-build Tree: ovmf https://github.com/tianocore/edk2.git Tree: qemuu git://xenbits.xen.org/staging/qemu-upstream-unstable.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in t

Re: [Xen-devel] [libvirt] [PATCH] libxl: Add timestamp to the libxl driver log.

2015-06-12 Thread Jim Fehlig
Anthony PERARD wrote: > Signed-off-by: Anthony PERARD > --- > src/libxl/libxl_conf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c > index 9b258ac..e845759 100644 > --- a/src/libxl/libxl_conf.c > +++ b/src/libxl/libxl_conf

[Xen-devel] [xen-4.4-testing test] 58409: trouble: blocked/broken/fail/pass

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

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

2015-06-12 Thread osstest service user
flight 58410 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/58410/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ovmf-amd64 17 guest-start.2 fail REGR. vs. 58326 test-amd64-amd64-

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

2015-06-12 Thread Jim Fehlig
Ian Campbell wrote: > On Mon, 2015-06-08 at 04:37 +, osstest service user wrote: > >> flight 58119 libvirt real [real] >> http://logs.test-lab.xenproject.org/osstest/logs/58119/ >> >> Regressions :-( >> >> Tests which did not succeed and are blocking, >> including tests which could not be ru

[Xen-devel] virtual filesystem for Xen

2015-06-12 Thread sainath grandhi
Hello, Is there any qemu virtio-9p type of file system virtualization solution available for xen PV guests? I am looking for a solution by which I can share a directory on host (dom 0) to a dom U. Any advice is appreciated. Thanks ___ Xe

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread James Bottomley
On Fri, 2015-06-12 at 16:15 -0700, Andy Lutomirski wrote: > On Jun 12, 2015 12:59 AM, "Jan Beulich" wrote: > > > > >>> On 12.06.15 at 01:23, wrote: > > > There are two usages on MTRRs: > > > 1) MTRR entries set by firmware > > > 2) MTRR entries set by OS drivers > > > > > > We can obsolete 2),

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Andy Lutomirski
On Jun 12, 2015 12:59 AM, "Jan Beulich" wrote: > > >>> On 12.06.15 at 01:23, wrote: > > There are two usages on MTRRs: > > 1) MTRR entries set by firmware > > 2) MTRR entries set by OS drivers > > > > We can obsolete 2), but we have no control over 1). As UEFI firmwares > > also set this up, t

[Xen-devel] [PATCH v2] xen/pciif: Clarify what values go in op->err and op->result.

2015-06-12 Thread Konrad Rzeszutek Wilk
The earlier comment says that errno values go in op->err. However all implementations (NetBSD, Linux) of the most common operations use XEN_PCI_ERR_* instead of -EXX values. The exception is the xen-pciback in Linux (upstream & XenClassic) code when doing XEN_PCI_OP_enable_msix can stash the -EXX

[Xen-devel] [seabios test] 58406: tolerable FAIL - PUSHED

2015-06-12 Thread osstest service user
flight 58406 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/58406/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail never pass test-amd64-i386-xl-qemuu-win7-amd64 16 gues

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-12 Thread Chong Li
If no more feedbacks, let me summarize the design for the next version. For "get" operations, we will implement the following features: 1) Use " xl sched-rtds -v all " to output the per-dom parameters of all domains. And use, e.g., " xl sched-rtds -d vm1 -v all ", to output the per-dom parameters

Re: [Xen-devel] [PATCH OSSTEST 0/5] Debian Jessie patches

2015-06-12 Thread Wei Liu
On Wed, Jun 10, 2015 at 10:50:33AM +0100, Ian Campbell wrote: > On Wed, 2015-05-20 at 19:04 +0100, Wei Liu wrote: > > On Wed, May 20, 2015 at 06:56:23PM +0100, Wei Liu wrote: > > > I worked a little bit on upgrading Osstest to Jessie a few months ago but > > > dropped the ball. Here are the patches

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 08:36:29PM +0200, Martin Pohlack wrote: > On 12.06.2015 18:39, Konrad Rzeszutek Wilk wrote: > > On Fri, Jun 12, 2015 at 05:17:13PM +0100, Andrew Cooper wrote: > >> On 12/06/15 17:09, Konrad Rzeszutek Wilk wrote: > >>> > > The _GET_STATUS does not enforce this and can tak

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 07:31:25PM +0200, Martin Pohlack wrote: > On 12.06.2015 16:43, Jan Beulich wrote: > On 12.06.15 at 16:31, wrote: > >> The 1ms is just a random number. I would actually suggest to allow a > >> sysadmin or hotpatch management tooling to specify how long one is > >> will

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Martin Pohlack
On 12.06.2015 18:39, Konrad Rzeszutek Wilk wrote: > On Fri, Jun 12, 2015 at 05:17:13PM +0100, Andrew Cooper wrote: >> On 12/06/15 17:09, Konrad Rzeszutek Wilk wrote: >>> > The _GET_STATUS does not enforce this and can take longer giving us > more breathing room - and also unbounded time - w

[Xen-devel] [xen-4.3-testing test] 58404: regressions - FAIL

2015-06-12 Thread osstest service user
flight 58404 xen-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/58404/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 14 guest-localmigrate.2 fail in 58367 REGR. vs. 58060 Tests

Re: [Xen-devel] [Patch V2 2/3] usb: Introduce Xen pvUSB frontend

2015-06-12 Thread Greg KH
On Fri, Jun 12, 2015 at 05:33:46PM +0100, David Vrabel wrote: > On 12/06/15 17:20, Greg KH wrote: > > On Fri, Jun 12, 2015 at 04:10:00PM +0200, Juergen Gross wrote: > >> Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen > >> domU to communicate with a USB device assigned to tha

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Julien Grall
On 12/06/2015 10:24, Ian Campbell wrote: On Fri, 2015-06-12 at 09:32 -0400, Julien Grall wrote: On 12/06/2015 09:16, Ian Campbell wrote: On Fri, 2015-06-12 at 09:09 -0400, Julien Grall wrote: Hi Ian, On 12/06/2015 04:52, Ian Campbell wrote: On Fri, 2015-06-12 at 14:07 +0530, Vijay Kilari

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Martin Pohlack
On 12.06.2015 16:43, Jan Beulich wrote: On 12.06.15 at 16:31, wrote: >> The 1ms is just a random number. I would actually suggest to allow a >> sysadmin or hotpatch management tooling to specify how long one is >> willing to potentially block the whole machine when waiting for a >> stop_mach

Re: [Xen-devel] [PATCH v6 5/8] xenalyze: handle more events in sched_process

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 04:30:42PM +, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists

Re: [Xen-devel] [PATCH v6 5/8] xenalyze: handle more events in sched_process

2015-06-12 Thread Olaf Hering
On Fri, Jun 12, Wei Liu wrote: > On Thu, Jun 11, 2015 at 04:30:42PM +, Olaf Hering wrote: > > Signed-off-by: Olaf Hering > > Cc: Ian Jackson > > Cc: Stefano Stabellini > > Cc: Ian Campbell > > Cc: Wei Liu > > --- > > I thought I acked last version. What is new in this version that made >

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Toshi Kani
On Fri, 2015-06-12 at 08:59 +0100, Jan Beulich wrote: > >>> On 12.06.15 at 01:23, wrote: > > There are two usages on MTRRs: > > 1) MTRR entries set by firmware > > 2) MTRR entries set by OS drivers > > > > We can obsolete 2), but we have no control over 1). As UEFI firmwares > > also set this

Re: [Xen-devel] [PATCH v6 8/8] xenalyze: remove unused private cpumask_t

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 04:30:45PM +, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu > --- > tools/xentrace/analyze.h | 13 - > 1 file changed, 13 deletions(-) > > diff --git a/t

Re: [Xen-devel] [PATCH v6 5/8] xenalyze: handle more events in sched_process

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 04:30:42PM +, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu > --- I thought I acked last version. What is new in this version that made you drop my ack? Wei. ___

Re: [Xen-devel] [v3][PATCH 14/16] tools/libxl: extend XENMEM_set_memory_map

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 09:15:23AM +0800, Tiejun Chen wrote: > Here we'll construct a basic guest e820 table via > XENMEM_set_memory_map. This table includes lowmem, highmem > and RDMs if they exist. And hvmloader would need this info > later. > > Signed-off-by: Tiejun Chen > --- > tools/libxl/l

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Toshi Kani
On Fri, 2015-06-12 at 02:52 +0200, Luis R. Rodriguez wrote: > On Thu, Jun 11, 2015 at 05:23:16PM -0600, Toshi Kani wrote: > > On Thu, 2015-06-11 at 13:36 -0700, Luis R. Rodriguez wrote: > > : > > > Pending RIP MTRR patches > > > > > > > > > There are a few pending series so I

[Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-12 Thread Malcolm Crossley
Hi All, Here is a design for allowing guests to control the IOMMU. This allows for the guest GFN mapping to be programmed into the IOMMU and avoid using the SWIOTLB bounce buffer technique in the Linux kernel (except for legacy 32 bit DMA IO devices). Draft B has been expanded to include Bus Addr

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 05:17:13PM +0100, Andrew Cooper wrote: > On 12/06/15 17:09, Konrad Rzeszutek Wilk wrote: > > > >>> The _GET_STATUS does not enforce this and can take longer giving us > >>> more breathing room - and also unbounded time - which means if > >>> we were to try to cancel it (say

Re: [Xen-devel] [v3][PATCH 13/16] tools/libxl: detect and avoid conflicts with RDM

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 09:15:22AM +0800, Tiejun Chen wrote: [...] > +++ b/tools/libxc/xc_hvm_build_x86.c > @@ -21,6 +21,7 @@ > #include > #include > #include > +#include > > #include "xg_private.h" > #include "xc_private.h" > @@ -270,7 +271,7 @@ static int setup_guest(xc_interface *xch,

Re: [Xen-devel] [Patch V2 2/3] usb: Introduce Xen pvUSB frontend

2015-06-12 Thread David Vrabel
On 12/06/15 17:20, Greg KH wrote: > On Fri, Jun 12, 2015 at 04:10:00PM +0200, Juergen Gross wrote: >> Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen >> domU to communicate with a USB device assigned to that domU. The >> communication is all done via the pvUSB backend in a dr

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Andrew Cooper
On 12/06/15 17:09, Konrad Rzeszutek Wilk wrote: > >>> The _GET_STATUS does not enforce this and can take longer giving us >>> more breathing room - and also unbounded time - which means if >>> we were to try to cancel it (say it had run for an hour and still >>> could not patch it)- we have to add

Re: [Xen-devel] [v3][PATCH 12/16] tools/libxl: passes rdm reservation policy

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 09:15:21AM +0800, Tiejun Chen wrote: > This patch passes our rdm reservation policy inside libxl > when we assign a device or attach a device. > > Signed-off-by: Tiejun Chen > --- > docs/man/xl.pod.1 | 7 ++- > tools/libxl/libxl_pci.c | 10 +- > too

Re: [Xen-devel] [Patch V2 1/3] usb: Add Xen pvUSB protocol description

2015-06-12 Thread Greg KH
On Fri, Jun 12, 2015 at 04:09:59PM +0200, Juergen Gross wrote: > +enum usb_spec_version { > + USB_VER_UNKNOWN = 0, > + USB_VER_USB11, > + USB_VER_USB20, > + USB_VER_USB30, /* not supported yet */ > +}; > + You are defining a bunch of things in this .h file that start with "usb" ye

Re: [Xen-devel] [Patch V2 2/3] usb: Introduce Xen pvUSB frontend

2015-06-12 Thread Greg KH
On Fri, Jun 12, 2015 at 04:10:00PM +0200, Juergen Gross wrote: > Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen > domU to communicate with a USB device assigned to that domU. The > communication is all done via the pvUSB backend in a driver domain > (usually Dom0) which is o

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 04:31:12PM +0200, Martin Pohlack wrote: > On 12.06.2015 16:03, Konrad Rzeszutek Wilk wrote: > > On Fri, Jun 12, 2015 at 01:39:05PM +0200, Martin Pohlack wrote: > >> On 15.05.2015 21:44, Konrad Rzeszutek Wilk wrote: > >> [...] > >>> ## Hypercalls > >>> > >>> We will employ th

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

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 09:15:20AM +0800, Tiejun Chen wrote: > This patch introduces user configurable parameters to specify RDM > resource and according policies, > > Global RDM parameter: > rdm = "type=none/host,reserve=strict/relaxed" > Per-device RDM parameter: > pci = [ 'sbdf, rdm_res

Re: [Xen-devel] no default ioreq server?

2015-06-12 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 12 June 2015 16:52 > To: Paul Durrant > Cc: xen-devel > Subject: RE: no default ioreq server? > > >>> On 12.06.15 at 17:39, wrote: > >> -Original Message- > >> From: Jan Beulich [mailto:jbeul...@suse.com]

Re: [Xen-devel] no default ioreq server?

2015-06-12 Thread Jan Beulich
>>> On 12.06.15 at 17:39, wrote: >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 12 June 2015 15:41 >> To: Paul Durrant >> Cc: xen-devel >> Subject: no default ioreq server? >> >> Paul, >> >> looks like guests nowadays run without a default ioreq server. I

Re: [Xen-devel] [v3][PATCH 10/16] tools: extend xc_assign_device() to support rdm reservation policy

2015-06-12 Thread Wei Liu
On Thu, Jun 11, 2015 at 09:15:19AM +0800, Tiejun Chen wrote: [...] > > -static int next_bdf(char **str, int *seg, int *bus, int *dev, int *func) > +static int next_bdf(char **str, int *seg, int *bus, int *dev, int *func, > +int *flag) This is unrelated change. It should be mo

Re: [Xen-devel] no default ioreq server?

2015-06-12 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 12 June 2015 15:41 > To: Paul Durrant > Cc: xen-devel > Subject: no default ioreq server? > > Paul, > > looks like guests nowadays run without a default ioreq server. Is > that intended to be that way? Having noti

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Paul Durrant
> -Original Message- > From: Wen Congyang [mailto:ghost...@gmail.com] > Sent: 12 June 2015 16:05 > To: Paul Durrant; Wen Congyang; Yang Hongyang; Andrew Cooper; xen- > de...@lists.xen.org > Cc: Wei Liu; Ian Campbell; guijianf...@cn.fujitsu.com; > yunhong.ji...@intel.com; Eddie Dong; rshri..

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Andrew Cooper
On 12/06/15 15:36, Daniel Kiper wrote: >> As stated at the hackathon, the problem with using %ebp is that it turns >> all implicit %ds references into implicit %ss references, and tends to > I am aware of that. However, I think that this is not a problem right > now because %ds == %ss. Some data s

Re: [Xen-devel] [OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job

2015-06-12 Thread Ian Jackson
Ian Jackson writes ("RE: [OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job"): > Thinking about this leads me to ask another question. Suppose that a > bug causes the l1 to lock up completely. ts-logs-capture will attempt > to hard reboot a locked-up host. If it can't fet

Re: [Xen-devel] [OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job

2015-06-12 Thread Ian Jackson
Pang, LongtaoX writes ("RE: [OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job"): > > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] ... > > leak-check compares the set of objects present at the `leak-check > > check' step with the set of objects present at the `basis'

Re: [Xen-devel] Clarifying the state of ARINC653 scheduler (and other components) in Xen 4.5 and beyond

2015-06-12 Thread Lars Kurth
> On 10 Jun 2015, at 10:51, Andrew Cooper wrote: > > On 10/06/15 10:42, Lars Kurth wrote: >> Alright, >> if nobody is willing to come up with a definition of >> experimental/preview/supported/deprecated, I will based on what I have seen >> Lars > > I was planning to start a document to this ef

[Xen-devel] Proposal: Feature Maturity Lifecycle

2015-06-12 Thread Lars Kurth
Hi all, following up from http://lists.xenproject.org/archives/html/xen-devel/2015-06/msg01775.html I wanted to propose the following convention related to feature classification as a proposal for discussion. I tried to pretty much describe what we do now and hope my understanding is correct.

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

2015-06-12 Thread Ian Jackson
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 wrote: > > From: Wen Congyang > > > > In colo mode, slave needs to send data to master, but the io_fd > >

Re: [Xen-devel] [PATCH V4 2/7] libxl_read_file_contents: add new entry to read sysfs file

2015-06-12 Thread Ian Jackson
Chun Yan Liu writes ("Re: [Xen-devel] [PATCH V4 2/7] libxl_read_file_contents: add new entryto read sysfs file"): > <21881.46148.466883.923...@mariner.uk.xensource.com>, Ian Jackson > wrote: > > Chunyan Liu writes ("[Xen-devel] [PATCH V4 2/7] libxl_read_file_contents: > > add > > What is

Re: [Xen-devel] [PATCH V4 1/7] libxl: export some functions for pvusb use

2015-06-12 Thread Ian Jackson
Wei Liu writes ("Re: [Xen-devel] [PATCH V4 1/7] libxl: export some functions for pvusb use"): > On Thu, Jun 11, 2015 at 05:08:57PM +0100, Ian Jackson wrote: > > Functions in libxl with external linkage should have the appropriate > > namespacing (ie, their names must start with libxl__). > > > >

Re: [Xen-devel] [PATCH] xen/arm: Propagate clock-frequency to DOMU if present in the DT timer node

2015-06-12 Thread Chris (Christopher) Brand
>Can I get your Tested-by on this patch? Tested-by: Chris Brand Chris ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Wen Congyang
At 2015/6/12 19:48, Paul Durrant Wrote: -Original Message- From: Wen Congyang [mailto:we...@cn.fujitsu.com] Sent: 12 June 2015 12:10 To: Paul Durrant; Yang Hongyang; Andrew Cooper; xen-devel@lists.xen.org Cc: Wei Liu; Ian Campbell; guijianf...@cn.fujitsu.com; yunhong.ji...@intel.com; Eddi

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

2015-06-12 Thread Ian Jackson
Wei Liu writes ("Re: [Xen-devel] [PATCH v2 COLOPre 11/13] tools/libxl: rename remus device to checkpoint device"): > On Fri, Jun 12, 2015 at 02:30:46PM +0100, Wei Liu wrote: > > On Mon, Jun 08, 2015 at 11:43:15AM +0800, Yang Hongyang wrote: > > > -(-18, "REMUS_DEVOPS_DOES_NOT_MATCH"), > > > -

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

2015-06-12 Thread Ian Jackson
Wei Liu 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: > > From: Wen Congyang > > +crcs->status = LIBXL_COLO_RESUMED; > > + > > +/* avoid calling libxl__xc_domain_restore_done()

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 02:57:29PM +0100, Jan Beulich wrote: > >>> On 12.06.15 at 15:51, wrote: > > On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: > >> >>> On 12.06.15 at 13:14, wrote: > >> > Here I do not want to discuss GRUB2 and multiboot2 protocol support > >> > details > >> >

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Jan Beulich
>>> On 12.06.15 at 16:31, wrote: > The 1ms is just a random number. I would actually suggest to allow a > sysadmin or hotpatch management tooling to specify how long one is > willing to potentially block the whole machine when waiting for a > stop_machine-like barrier as part of a relevant hyperc

[Xen-devel] no default ioreq server?

2015-06-12 Thread Jan Beulich
Paul, looks like guests nowadays run without a default ioreq server. Is that intended to be that way? Having noticed it and having looked at qemuu I certainly can't see how one would be set up. Yet without one send_timeoffset_req() can't possibly work, and after having seen "Unsuccessful timeoffse

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 02:19:01PM +0100, Andrew Cooper wrote: > On 12/06/15 12:14, Daniel Kiper wrote: > > Hey, > > > > During work on multiboot2 protocol support for Xen on EFI platform > > I discovered that we need relocatable Xen early boot code (which is > > mostly 32-bit code). More you can f

Re: [Xen-devel] [PATCH v6 COLO 12/15] COLO nic: implement COLO nic subkind

2015-06-12 Thread Wei Liu
On Mon, Jun 08, 2015 at 11:45:56AM +0800, Yang Hongyang wrote: > implement COLO nic subkind. > > Signed-off-by: Yang Hongyang > Signed-off-by: Wen Congyang > --- > tools/hotplug/Linux/Makefile | 1 + > tools/hotplug/Linux/colo-proxy-setup | 131 +++ There are hardcoded pat

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Martin Pohlack
On 12.06.2015 16:03, Konrad Rzeszutek Wilk wrote: > On Fri, Jun 12, 2015 at 01:39:05PM +0200, Martin Pohlack wrote: >> On 15.05.2015 21:44, Konrad Rzeszutek Wilk wrote: >> [...] >>> ## Hypercalls >>> >>> We will employ the sub operations of the system management hypercall >>> (sysctl). >>> There a

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Ian Campbell
On Fri, 2015-06-12 at 09:32 -0400, Julien Grall wrote: > > On 12/06/2015 09:16, Ian Campbell wrote: > > On Fri, 2015-06-12 at 09:09 -0400, Julien Grall wrote: > >> Hi Ian, > >> > >> On 12/06/2015 04:52, Ian Campbell wrote: > >>> On Fri, 2015-06-12 at 14:07 +0530, Vijay Kilari wrote: > >>> So pLPIs

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

2015-06-12 Thread Wei Liu
On Mon, Jun 08, 2015 at 11:45:46AM +0800, Yang Hongyang wrote: > From: Wen Congyang > > Secondary vm is running in colo mode. So we will do > the following things again and again: > 1. Resume secondary vm >a. Send LIBXL_COLO_SVM_READY to master. >b. If it is not the first resume, call >

Re: [Xen-devel] [PATCH v3 10/10] x86/MSI-X: provide hypercall interface for mask-all control

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 02:51:02PM +0100, Jan Beulich wrote: > >>> On 12.06.15 at 15:21, wrote: > > On Thu, Jun 11, 2015 at 09:35:51AM +0100, Jan Beulich wrote: > >> >>> On 05.06.15 at 13:28, wrote: > >> > Qemu shouldn't be fiddling with this bit directly, as the hypervisor > >> > may (and now do

[Xen-devel] [linux-3.18 test] 58402: tolerable FAIL - PUSHED

2015-06-12 Thread osstest service user
flight 58402 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/58402/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl 3 host-install(3) broken in 57490 pass in 58402 test-armhf-armhf-libvirt-xsm 3 host

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Ian Campbell
On Fri, 2015-06-12 at 10:05 -0400, Julien Grall wrote: > > On 12/06/2015 09:32, Julien Grall wrote: > > > > > > On 12/06/2015 09:16, Ian Campbell wrote: > >> On Fri, 2015-06-12 at 09:09 -0400, Julien Grall wrote: > >>> Hi Ian, > >>> > >>> On 12/06/2015 04:52, Ian Campbell wrote: > On Fri, 201

[Xen-devel] [Patch V2 2/3] usb: Introduce Xen pvUSB frontend

2015-06-12 Thread Juergen Gross
Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a driver domain (usually Dom0) which is owner of the physical device. The code is taken from the pvUSB implemen

[Xen-devel] [Patch V2 1/3] usb: Add Xen pvUSB protocol description

2015-06-12 Thread Juergen Gross
Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu for Xen based on Linux 2.6.18. Changes are: - adapt to Linux style guide Signed-off-by: Juergen Gross --

[Xen-devel] [Patch V2 3/3] xen: add Xen pvUSB maintainer

2015-06-12 Thread Juergen Gross
Add myself as maintainer for the Xen pvUSB stuff. Signed-off-by: Juergen Gross Acked-by: Konrad Rzeszutek Wilk --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d8afd29..5f54a0d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10965,6 +109

[Xen-devel] [Patch V2 0/3] xen, usb: support pvUSB frontend driver

2015-06-12 Thread Juergen Gross
This series adds XEN guest pvUSB support. With pvUSB it is possible to use physical USB devices from a XEN domain. The support consists of a frontend in the unprivileged domU passing I/O-requests to the backend in a driver domain (usually Dom0). The backend is not part of this patch series, as it

Re: [Xen-devel] Backport request "libxl: In libxl_set_vcpuonline check for maximum number of VCPUs against the cpumap." (Was: Re: [Bug report] Security issue in "xl vcpu-set")

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 01:02:47PM +0100, Ian Jackson wrote: > Ian Campbell writes ("Backport request "libxl: In libxl_set_vcpuonline check > for maximum number of VCPUs against the cpumap." (Was: Re: [Bug report] > Security issue in "xl vcpu-set")"): > > commit d83bf9d224eeb5b73b93c2703f7dba4473

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 01:51:08PM +0200, Martin Pohlack wrote: > On 08.06.2015 17:19, Konrad Rzeszutek Wilk wrote:q Heh - ":q", well now I know what editor camp you are in :-) > [...] > >>> There is a nice part of the old code check - you > >>> can check (and deal with) patching an already patch

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Julien Grall
On 12/06/2015 09:32, Julien Grall wrote: On 12/06/2015 09:16, Ian Campbell wrote: On Fri, 2015-06-12 at 09:09 -0400, Julien Grall wrote: Hi Ian, On 12/06/2015 04:52, Ian Campbell wrote: On Fri, 2015-06-12 at 14:07 +0530, Vijay Kilari wrote: So pLPIs must be routed at device assignment tim

Re: [Xen-devel] [RFC v2] xSplice design

2015-06-12 Thread Konrad Rzeszutek Wilk
On Fri, Jun 12, 2015 at 01:39:05PM +0200, Martin Pohlack wrote: > On 15.05.2015 21:44, Konrad Rzeszutek Wilk wrote: > [...] > > ## Hypercalls > > > > We will employ the sub operations of the system management hypercall > > (sysctl). > > There are to be four sub-operations: > > > > * upload the

Re: [Xen-devel] [PATCH v24 04/15] x86/VPMU: Interface for setting PMU mode and flags

2015-06-12 Thread Boris Ostrovsky
On 06/11/2015 11:23 PM, Tian, Kevin wrote: From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com] + +case XENPMU_feature_set: +if ( pmu_params.val & ~XENPMU_FEATURE_INTEL_BTS ) +return -EINVAL; + +spin_lock(&vpmu_lock); + +if ( vpmu_count == 0 )

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Jan Beulich
>>> On 12.06.15 at 15:51, wrote: > On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: >> >>> On 12.06.15 at 13:14, wrote: >> > Here I do not want to discuss GRUB2 and multiboot2 protocol support details >> > for relocatable images. It is not needed. It is sufficient to know that it >> >

Re: [Xen-devel] [PATCH v3 10/10] x86/MSI-X: provide hypercall interface for mask-all control

2015-06-12 Thread Jan Beulich
>>> On 12.06.15 at 15:21, wrote: > On Thu, Jun 11, 2015 at 09:35:51AM +0100, Jan Beulich wrote: >> >>> On 05.06.15 at 13:28, wrote: >> > Qemu shouldn't be fiddling with this bit directly, as the hypervisor >> > may (and now does) use it for its own purposes. Provide it with a >> > replacement int

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: > >>> On 12.06.15 at 13:14, wrote: > > Here I do not want to discuss GRUB2 and multiboot2 protocol support details > > for relocatable images. It is not needed. It is sufficient to know that it > > is able to put loaded image anywhere in

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

2015-06-12 Thread osstest service user
flight 58425 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/58425/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm5 xen-build fail REGR. vs. 58398 build-amd64

Re: [Xen-devel] [PATCH OSSTEST 3/5] Cope with Jessie's d-i vg name

2015-06-12 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST 3/5] Cope with Jessie's d-i vg name"): > The difference is you don't need to enumerate all the names. e.g. > "lenny|squeeze|wheezy" becomes "< debver('wheezy')" I'm not sure this is worth the candle. Because we only use this for backward compatibility, we

Re: [Xen-devel] [PATCH QEMU-XEN] xen/pt: Start with emulated PCI_COMMAND set to zero.

2015-06-12 Thread Konrad Rzeszutek Wilk
On Thu, Jun 11, 2015 at 01:19:34PM +0200, Sander Eikelenboom wrote: > > Thursday, June 11, 2015, 9:47:47 AM, you wrote: > > On 10.06.15 at 22:53, wrote: > >> --- a/hw/xen/xen_pt.c > >> +++ b/hw/xen/xen_pt.c > >> @@ -785,7 +785,9 @@ out: > >> xen_host_pci_set_word(&s->real_device, P

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

2015-06-12 Thread Wei Liu
On Fri, Jun 12, 2015 at 02:30:46PM +0100, Wei Liu wrote: > On Mon, Jun 08, 2015 at 11:43:15AM +0800, Yang Hongyang wrote: > [...] > > > > Signed-off-by: Wen Congyang > > Signed-off-by: Yang Hongyang > > --- > > tools/libxl/Makefile | 2 +- > > tools/libxl/libxl_checkpoint_dev

[Xen-devel] [PATCHv12 3/5] gnttab: make the grant table lock a read-write lock

2015-06-12 Thread David Vrabel
In combination with the per-active entry locks, the grant table lock can be made a read-write lock since the majority of cases only the read lock is required. The grant table read lock protects against changes to the table version or size (which are done with the write lock held). The write lock i

[Xen-devel] [PATCHv12 1/5] gnttab: per-active entry locking

2015-06-12 Thread David Vrabel
Introduce a per-active entry spin lock to protect active entry state The grant table lock must be locked before acquiring (locking) an active entry. This is a step in reducing contention on the grant table lock, but will only do so once the grant table lock is turned into a read-write lock. Based

[Xen-devel] [PATCHv12 5/5] [RFC] gnttab: steal maptrack entries from other VCPUs

2015-06-12 Thread David Vrabel
If a guest is not evenly grant mapping across its VCPUs one of the VCPUs may run out of free maptrack entries even though other VCPUs have many free. If this happens, "steal" free entries from other VCPUs. We want to steal entries such that: a) We avoid ping-ponging stolen entries between VCPUs.

[Xen-devel] [PATCHv12 0/5] gnttab: Improve scaleability

2015-06-12 Thread David Vrabel
The series builds on the original series by Matt Wilson and Christoph Egger from Amazon. Performance results for aggregate intrahost network throughput (between 20 VM pairs, with 16 dom0 VCPUs) show substantial improvements. Throughput/Gbit/s Base

[Xen-devel] [PATCHv12 2/5] gnttab: introduce maptrack lock

2015-06-12 Thread David Vrabel
Split grant table lock into two separate locks. One to protect maptrack free list (maptrack_lock) and one for everything else (lock). Based on a patch originally by Matt Wilson . Signed-off-by: David Vrabel Reviewed-by: Jan Beulich --- v12: - Document that maptrack_lock is only for the free lis

[Xen-devel] [PATCHv12 4/5] gnttab: use per-VCPU maptrack free lists

2015-06-12 Thread David Vrabel
From: Malcolm Crossley Performance analysis of aggregate network throughput with many VMs shows that performance is signficantly limited by contention on the maptrack lock when obtaining/releasing maptrack handles from the free list. Instead of a single free list use a per-VCPU list. This avoids

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Julien Grall
On 12/06/2015 09:16, Ian Campbell wrote: On Fri, 2015-06-12 at 09:09 -0400, Julien Grall wrote: Hi Ian, On 12/06/2015 04:52, Ian Campbell wrote: On Fri, 2015-06-12 at 14:07 +0530, Vijay Kilari wrote: So pLPIs must be routed at device assignment time because in the vLPI configuration table tr

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

2015-06-12 Thread Wei Liu
On Mon, Jun 08, 2015 at 11:43:15AM +0800, Yang Hongyang wrote: [...] > > Signed-off-by: Wen Congyang > Signed-off-by: Yang Hongyang > --- > tools/libxl/Makefile | 2 +- > tools/libxl/libxl_checkpoint_device.c | 327 > ++ > tools/libxl/libxl_in

Re: [Xen-devel] [Draft A] Boot ABI for HVM guests without a device-model

2015-06-12 Thread Konrad Rzeszutek Wilk
On Thu, Jun 11, 2015 at 08:18:27AM +0100, Jan Beulich wrote: > >>> On 10.06.15 at 20:55, wrote: > > On Wed, Jun 10, 2015 at 02:34:00PM +0200, Roger Pau Monné wrote: > >> The first three notes contain information about the guest kernel and > >> the Xen hypercall ABI version. The following notes ar

Re: [Xen-devel] [PATCH v2 COLOPre 13/13] tools/libxl: don't touch remus in checkpoint_device

2015-06-12 Thread Wei Liu
On Mon, Jun 08, 2015 at 11:43:17AM +0800, Yang Hongyang wrote: > Checkpoint device is an abstract layer to do checkpoint. > COLO can also use it to do checkpoint. But there are > still some codes in checkpoint device which touch remus: > 1. remus_ops: we use remus ops directly in checkpoint >de

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Ian Campbell
On Fri, 2015-06-12 at 09:14 -0400, Julien Grall wrote: > > On 12/06/2015 08:55, Ian Campbell wrote: > > On Thu, 2015-06-11 at 10:40 +0100, Ian Campbell wrote: > >> ## Command Queue Virtualisation > >> > >> The command translation/emulation in this design has been arranged to > >> be as cheap as po

Re: [Xen-devel] [Draft A] Boot ABI for HVM guests without a device-model

2015-06-12 Thread Konrad Rzeszutek Wilk
On Thu, Jun 11, 2015 at 10:43:08AM +0200, Roger Pau Monné wrote: > El 10/06/15 a les 20.55, Konrad Rzeszutek Wilk ha escrit: > > On Wed, Jun 10, 2015 at 02:34:00PM +0200, Roger Pau Monné wrote: > >> Hello, > >> > >> The discussion in [1] lead to an agreement of the missing pieces in PVH > >> (or H

Re: [Xen-devel] [PATCH v3 10/10] x86/MSI-X: provide hypercall interface for mask-all control

2015-06-12 Thread Konrad Rzeszutek Wilk
On Thu, Jun 11, 2015 at 09:35:51AM +0100, Jan Beulich wrote: > >>> On 05.06.15 at 13:28, wrote: > > Qemu shouldn't be fiddling with this bit directly, as the hypervisor > > may (and now does) use it for its own purposes. Provide it with a > > replacement interface, allowing the hypervisor to track

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Andrew Cooper
On 12/06/15 12:14, Daniel Kiper wrote: > Hey, > > During work on multiboot2 protocol support for Xen on EFI platform > I discovered that we need relocatable Xen early boot code (which is > mostly 32-bit code). More you can find here: > > http://lists.xen.org/archives/html/xen-devel/2015-02/msg01257

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Ian Campbell
On Fri, 2015-06-12 at 09:09 -0400, Julien Grall wrote: > Hi Ian, > > On 12/06/2015 04:52, Ian Campbell wrote: > > On Fri, 2015-06-12 at 14:07 +0530, Vijay Kilari wrote: > > So pLPIs must be routed at device assignment time because in the vLPI > > configuration table trap there is no mapping back t

Re: [Xen-devel] [Draft F] Xen on ARM vITS Handling

2015-06-12 Thread Julien Grall
On 12/06/2015 08:55, Ian Campbell wrote: On Thu, 2015-06-11 at 10:40 +0100, Ian Campbell wrote: ## Command Queue Virtualisation The command translation/emulation in this design has been arranged to be as cheap as possible (e.g. in many cases the actions are NOPs), avoiding previous concerns a

  1   2   >