[Xen-devel] [qemu-mainline test] 57872: regressions - FAIL

2015-06-04 Thread osstest service user
flight 57872 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/57872/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 5 xen-build fail REGR. vs. 57815

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

2015-06-04 Thread osstest service user
flight 57880 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/57880/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm 12 guest-localmigrate fail never pass

Re: [Xen-devel] [PATCH] x86/cpu: Fix SMAP check in PVOPS environments

2015-06-04 Thread Rusty Russell
H. Peter Anvin h...@zytor.com writes: On 06/04/2015 12:55 PM, Rusty Russell wrote: Yeah, hard cases make bad law. I'm not too unhappy with this fix; ideally we'd rename save_fl and restore_fl to save_eflags_if and restore_eflags_if too. I would be fine with this... but please document

Re: [Xen-devel] qemu mainline regression with xen-unstable: unable to start QMP

2015-06-04 Thread Don Slutz
On 06/04/15 11:04, Fabio Fantoni wrote: Today after trying xen-unstable build (tested many hours) of some days ago I tried update qemu to latest development version (from git master commit 6fa6b312765f698dc81b2c30e7eeb9683804a05b) and seems that there is a regression: xl create

Re: [Xen-devel] qemu mainline regression with xen-unstable: unable to start QMP

2015-06-04 Thread Don Slutz
On 06/04/15 17:59, Don Slutz wrote: On 06/04/15 11:04, Fabio Fantoni wrote: Today after trying xen-unstable build (tested many hours) of some days ago I tried update qemu to latest development version (from git master commit 6fa6b312765f698dc81b2c30e7eeb9683804a05b) and seems that there is a

[Xen-devel] [linux-3.4 test] 57865: regressions - FAIL

2015-06-04 Thread osstest service user
flight 57865 linux-3.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/57865/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 9 debian-install fail REGR. vs. 52209-bisect test-amd64-amd64-pair

Re: [Xen-devel] [PATCH V8] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event

2015-06-04 Thread Razvan Cojocaru
On 06/04/2015 10:56 PM, Jan Beulich wrote: Razvan Cojocaru rcojoc...@bitdefender.com 06/04/15 3:46 PM On 06/04/2015 04:43 PM, Tim Deegan wrote: At 14:40 +0100 on 04 Jun (1433428815), Tim Deegan wrote: At 16:45 +0300 on 29 May (1432917959), Razvan Cojocaru wrote: As suggested by Andrew

Re: [Xen-devel] [Qemu-devel] qemu mainline regression with xen-unstable: unable to start QMP

2015-06-04 Thread Don Slutz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/04/15 18:10, Eric Blake wrote: [adding Markus, as author of the regression] On 06/04/2015 03:59 PM, Don Slutz wrote: On 06/04/15 11:04, Fabio Fantoni wrote: Today after trying xen-unstable build (tested many hours) of some days ago I

Re: [Xen-devel] [Qemu-devel] qemu mainline regression with xen-unstable: unable to start QMP

2015-06-04 Thread Eric Blake
[adding Markus, as author of the regression] On 06/04/2015 03:59 PM, Don Slutz wrote: On 06/04/15 11:04, Fabio Fantoni wrote: Today after trying xen-unstable build (tested many hours) of some days ago I tried update qemu to latest development version (from git master commit

Re: [Xen-devel] [PATCH 1/2 linux-next] Revert ufs: fix deadlocks introduced by sb mutex merge

2015-06-04 Thread Al Viro
On Thu, Jun 04, 2015 at 06:01:23AM +0100, Al Viro wrote: So we need * per-page exclusion for reallocation time (normal page locks are doing that) * per-fs exclusion for block and fragment allocations (-s_lock?) * per-fs exclusion for inode allocations (-s_lock?) *

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-04 Thread Dario Faggioli
On Mon, 2015-05-25 at 19:09 -0500, Chong Li wrote: Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to support per-VCPU settings for RTDS scheduler. Add a new data structure (libxl_vcpu_sched_params) to help per-VCPU settings. Signed-off-by: Chong Li

Re: [Xen-devel] [edk2] A problem about the memory size of virtual machine(VM) when using OVMF

2015-06-04 Thread Laszlo Ersek
I have the impression that this is HTML mail. Please don't post HTML mail; it falls apart when it is quoted. That said, On 06/04/15 16:07, Maoming wrote: Hi all: I started a virtual machine(VM) (redhat6.3_64bit) using OVMF in XEN4.6. And the memory of the VM is 64G. But I only

Re: [Xen-devel] OpenStack - Libvirt+Xen CI overview : anyone interested in a walk/through or presentation on how it works

2015-06-04 Thread Bob Ball
Hi all, Apologies for dropping the ball on this. I've created a doodle poll with an initial set of options at http://doodle.com/596a39y9t9dhah65. The timezone is currently set to London (BST) but can be changed on the link to your local timezone. If there are others who would like to attend

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

2015-06-04 Thread Julien Grall
Hi Ian, On 04/06/15 14:54, Ian Campbell wrote: ### Device Identifiers Each device using the ITS is associated with a unique Device Identifier. The device IDs are properties of the implementaiton and are typically implementation described via system firmware, e.g. the ACPI IORT table or

[Xen-devel] [linux-next test] 57861: regressions - FAIL

2015-06-04 Thread osstest service user
flight 57861 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/57861/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 9 windows-install fail REGR. vs. 57740 Regressions which are

Re: [Xen-devel] [PATCH] x86/cpu: Fix SMAP check in PVOPS environments

2015-06-04 Thread H. Peter Anvin
On 06/04/2015 12:55 PM, Rusty Russell wrote: Yeah, hard cases make bad law. I'm not too unhappy with this fix; ideally we'd rename save_fl and restore_fl to save_eflags_if and restore_eflags_if too. I would be fine with this... but please document what the bloody semantics of pvops is

Re: [Xen-devel] [PATCH v11 7/9] tools: Add vmware_port support

2015-06-04 Thread Ian Campbell
On Wed, 2015-06-03 at 18:06 +0100, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: This new libxl_domain_create_info field is used to set XEN_DOMCTL_CONFIG_VMWARE_PORT_MASK in the xc_domain_configuration_t for x86. In xen it is is_vmware_port_enabled. If

Re: [Xen-devel] RFC: QEMU bumping memory limit and domain restore

2015-06-04 Thread Ian Campbell
On Thu, 2015-06-04 at 16:28 +0100, Wei Liu wrote: An alternative we came up with during our IRL discussion. 1. QEMU writes the size of additional memory in xenstore. Above is orthogonal to below I think. You existing patch could be reimplemented in terms of the below, while the above is

Re: [Xen-devel] [PATCH v11 3/9] tools: Add vmware_hwver support

2015-06-04 Thread Don Slutz
On 06/04/15 11:17, Ian Campbell wrote: On Fri, 2015-05-22 at 11:50 -0400, Don Slutz wrote: [...] +=item Bvmware_hwver=NUMBER + +Turns on or off the exposure of VMware cpuid. The number is +VMware's hardware version number, where 0 is off. A number = 7 +is needed to enable exposure of

Re: [Xen-devel] [PATCH v11 6/9] xen: Add ring 3 vmware_port support

2015-06-04 Thread Don Slutz
On 06/04/15 10:14, George Dunlap wrote: On 06/04/2015 01:37 PM, Don Slutz wrote: On 06/03/15 12:58, George Dunlap wrote: On 06/03/2015 05:41 PM, Don Slutz wrote: On 06/03/15 12:23, George Dunlap wrote: On 06/03/2015 04:58 PM, Andrew Cooper wrote: On 03/06/15 16:26, George Dunlap wrote: On

Re: [Xen-devel] [PATCH v2 1/2] net/xen-netfront: Correct printf format in xennet_get_responses

2015-06-04 Thread Joe Perches
On Thu, 2015-06-04 at 13:52 +0100, Julien Grall wrote: On 04/06/15 13:46, David Vrabel wrote: On 04/06/15 13:45, Julien Grall wrote: On 03/06/15 18:06, Joe Perches wrote: On Wed, 2015-06-03 at 17:55 +0100, Julien Grall wrote: rx-status is an int16_t, print it using %d rather than %u in

[Xen-devel] [PATCH] xen: arm: Do not expose PMU to domain 0

2015-06-04 Thread Ian Campbell
It uses a PPI which we cannot route to a guest, and will surely need more support than just that anyway. I noticed this on Mustang with UEFI where the built in DTB contains a node of this type. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- xen/arch/arm/domain_build.c |1 + 1 file

[Xen-devel] [libvirt test] 57859: regressions - FAIL

2015-06-04 Thread osstest service user
flight 57859 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/57859/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt 11 guest-start fail REGR. vs. 53854 test-amd64-amd64-libvirt

[Xen-devel] [PATCH] xen: arm: add missing newline to error message.

2015-06-04 Thread Ian Campbell
Signed-off-by: Ian Campbell ian.campb...@citrix.com --- xen/arch/arm/irq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c index 376c9f2..2dd43ee 100644 --- a/xen/arch/arm/irq.c +++ b/xen/arch/arm/irq.c @@ -417,7 +417,7 @@ int

[Xen-devel] [PATCH v3 0/2] net/xen: Clean up

2015-06-04 Thread Julien Grall
Hi, Those 2 patches was originally part of the Xen 64KB series [1]. They are already acked/reviewed and can go in Linux via the net tree now without waiting the rest of the series. Sincerely yours, Cc: Wei Liu wei.l...@citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: David Vrabel

Re: [Xen-devel] [PATCH] xen: arm: add missing newline to error message.

2015-06-04 Thread Julien Grall
Hi Ian, On 04/06/15 16:31, Ian Campbell wrote: Signed-off-by: Ian Campbell ian.campb...@citrix.com Reviewed-by: Julien Grall julien.gr...@citrix.com --- xen/arch/arm/irq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c

Re: [Xen-devel] [PATCH v11 7/9] tools: Add vmware_port support

2015-06-04 Thread Don Slutz
On 06/04/15 11:49, Ian Campbell wrote: On Wed, 2015-06-03 at 18:06 +0100, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: This new libxl_domain_create_info field is used to set XEN_DOMCTL_CONFIG_VMWARE_PORT_MASK in the xc_domain_configuration_t for x86. In xen it is

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

2015-06-04 Thread osstest service user
flight 57857 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/57857/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stopfail REGR. vs. 56492

[Xen-devel] toggles user/supervisor privilege level on page entry

2015-06-04 Thread HANNAS YAYA Issa
Hi I want to toggle user/sypervisor priviledge bit in page table entry associated to a given this page. But I my code does'nt work. I have plenty buggs. here is the method used to set access to hypervisor level void remove_access(l1_pgentry_t *pl1e){ l1_pgentry_t ol1e; l1_pgentry_t nl1e;

Re: [Xen-devel] [PATCH RFC 2/4] xen: grant_table: implement grant_table_soft_reset()

2015-06-04 Thread Tim Deegan
At 16:22 +0100 on 04 Jun (1433434934), David Vrabel wrote: On 04/06/15 15:11, Tim Deegan wrote: There has been talk before of an operation along the lines of revoke this grant entry and wait for all users to release it but that would only help with backends that are guaranteed to release

Re: [Xen-devel] [PATCH v11 3/9] tools: Add vmware_hwver support

2015-06-04 Thread Don Slutz
On 06/04/15 11:15, Ian Campbell wrote: On Wed, 2015-06-03 at 15:53 +0100, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: This is used to set xen_arch_domainconfig vmware_hw. It is set to the emulated VMware virtual hardware version. Currently 0, 3-4, 6-11 are good values.

Re: [Xen-devel] [PATCH RFC 1/4] xen: evtchn: make evtchn_reset() ready for soft reset

2015-06-04 Thread Tim Deegan
At 16:19 +0100 on 04 Jun (1433434780), David Vrabel wrote: On 04/06/15 15:05, Tim Deegan wrote: At 15:35 +0200 on 03 Jun (1433345719), Vitaly Kuznetsov wrote: We need to close all event channel so the domain performing soft reset will be able to open them back. Interdomain channels are,

Re: [Xen-devel] [PATCH RFC 1/4] xen: evtchn: make evtchn_reset() ready for soft reset

2015-06-04 Thread Tim Deegan
At 15:35 +0200 on 03 Jun (1433345719), Vitaly Kuznetsov wrote: We need to close all event channel so the domain performing soft reset will be able to open them back. Interdomain channels are, however, special. We need to keep track of who opened it as in (the most common) case it was opened by

Re: [Xen-devel] [PATCH RFC 0/4] 'reset everything' approach to PVHVM guest kexec

2015-06-04 Thread Tim Deegan
Hi, At 15:35 +0200 on 03 Jun (1433345718), Vitaly Kuznetsov wrote: last week you expressed some concerns about if the toolstack-based approach to PVHVM guest kexec is the best. Here you can see the 'reset everything' approach to the same problem. It is the bare minimum of what should be done

[Xen-devel] qemu mainline regression with xen-unstable: unable to start QMP

2015-06-04 Thread Fabio Fantoni
Today after trying xen-unstable build (tested many hours) of some days ago I tried update qemu to latest development version (from git master commit 6fa6b312765f698dc81b2c30e7eeb9683804a05b) and seems that there is a regression: xl create /etc/xen/W7.cfg Parsing config from /etc/xen/W7.cfg

Re: [Xen-devel] [PATCH RFC 2/4] xen: grant_table: implement grant_table_soft_reset()

2015-06-04 Thread David Vrabel
On 04/06/15 15:11, Tim Deegan wrote: There has been talk before of an operation along the lines of revoke this grant entry and wait for all users to release it but that would only help with backends that are guaranteed to release grants in a reasonable time. Are you talking about my idea?

Re: [Xen-devel] [PATCH RFC 1/4] xen: evtchn: make evtchn_reset() ready for soft reset

2015-06-04 Thread David Vrabel
On 04/06/15 15:05, Tim Deegan wrote: At 15:35 +0200 on 03 Jun (1433345719), Vitaly Kuznetsov wrote: We need to close all event channel so the domain performing soft reset will be able to open them back. Interdomain channels are, however, special. We need to keep track of who opened it as in

Re: [Xen-devel] [PATCH v11 3/9] tools: Add vmware_hwver support

2015-06-04 Thread Ian Campbell
On Fri, 2015-05-22 at 11:50 -0400, Don Slutz wrote: [...] +=item Bvmware_hwver=NUMBER + +Turns on or off the exposure of VMware cpuid. The number is +VMware's hardware version number, where 0 is off. A number = 7 +is needed to enable exposure of VMware cpuid. + +The hardware version

Re: [Xen-devel] RFC: QEMU bumping memory limit and domain restore

2015-06-04 Thread Wei Liu
On Tue, Jun 02, 2015 at 06:40:56PM +0100, Wei Liu wrote: On Tue, Jun 02, 2015 at 05:11:02PM +0100, Andrew Cooper wrote: On 02/06/15 16:49, Ian Campbell wrote: On Tue, 2015-06-02 at 15:08 +0100, Wei Liu wrote: [...] So here is a proof of concept patch to record and honour that value

Re: [Xen-devel] [PATCH V9] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event

2015-06-04 Thread Tim Deegan
At 16:19 +0200 on 03 Jun (1433348379), Lengyel, Tamas wrote: On Wed, Jun 3, 2015 at 3:48 PM, Razvan Cojocaru rcojoc...@bitdefender.com wrote: On 06/03/2015 04:29 PM, Lengyel, Tamas wrote: struct { -uint16_t mov_to_cr0_enabled : 1; -uint16_t

Re: [Xen-devel] [PATCH RFC 4/4] xen: arch-specific hooks for domain_soft_reset()

2015-06-04 Thread Tim Deegan
At 15:35 +0200 on 03 Jun (1433345722), Vitaly Kuznetsov wrote: x86-specific hook cleans up the pirq-emuirq mappings and replaces the shared_info frame with an empty page to support subsequent XENMAPSPACE_shared_info call. That's a bit roundabout. I think we might be better off allocating a

Re: [Xen-devel] [PATCH v11 7/9] tools: Add vmware_port support

2015-06-04 Thread Ian Campbell
On Fri, 2015-05-22 at 11:50 -0400, Don Slutz wrote: diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 86164a7..fcce7c3 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -205,6 +205,11 @@ #define LIBXL_HAVE_LIBXL_VGA_INTERFACE_TYPE_VMWARE 1 /* + *

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

2015-06-04 Thread osstest service user
flight 57854 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/57854/ 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.

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

2015-06-04 Thread Dario Faggioli
On Tue, 2015-06-02 at 17:28 +0100, George Dunlap wrote: On Tue, May 26, 2015 at 1:05 AM, Chong Li lichong...@gmail.com wrote: Add two hypercalls(XEN_DOMCTL_SCHEDOP_getvcpuinfo/putvcpuinfo) to get/set a domain's per-VCPU parameters. Hypercalls are handled by newly added hook

Re: [Xen-devel] [PATCH RFC 2/4] xen: grant_table: implement grant_table_soft_reset()

2015-06-04 Thread Tim Deegan
At 15:35 +0200 on 03 Jun (1433345720), Vitaly Kuznetsov wrote: When soft reset is being performed we need to replace all actively granted pages with empty pages to prevent possible future memory corruption as the newly started kernel won't be aware of these granted pages. I'm not sure about

[Xen-devel] save restore failed when tmem enabled in Xen 4.1 Xen 4.3

2015-06-04 Thread yunfang tai
Hi all, Recently, I am testing the TMEM support on Xen. I discovered that when enabled TMEM in ubuntu 14.10 as guest on Xen 4.1 Xen 4.3, xm save xm restore“ failed after there are more than 1000 pages put in persistent pool of TMEM in Xen. My operations are list as follows: In ubuntu guest

Re: [Xen-devel] [Bug report] Security issue in xl vcpu-set

2015-06-04 Thread Ian Campbell
(redirecting to xen-devel as I originally intended) On Wed, 2015-06-03 at 13:02 +0800, lwch...@cs.hku.hk wrote: Hi, Wonder if there is any follow-ups from the relevant developers: (1) are you able to reproduce the spinning behavior of xl vcpu-set? I am with Xen 4.5, but not with

Re: [Xen-devel] [PATCH v2 0/6] Misc cleanups for libxl

2015-06-04 Thread Yang Hongyang
On 06/03/2015 06:51 PM, Andrew Cooper wrote: On 03/06/15 09:01, Yang Hongyang wrote: This patchset mainly focus on libxl save, most of the patches are simply move codes out of libxl_dom.c, except a refactor patch. Please see individual patch for detail. Can get the whole patchset from:

[Xen-devel] [Draft D] Xen on ARM vITS Handling

2015-06-04 Thread Ian Campbell
Draft D follows. Also at: http://xenbits.xen.org/people/ianc/vits/draftD.{pdf,html} In this iteration I took a step back and tried to simplify a lot of things, in an attempt to get closer to something we can agree on as a first cut that is achievable for 4.6, since I felt we were getting bogged

Re: [Xen-devel] [PATCH 0/2] xen/mem Common cleanup

2015-06-04 Thread Tim Deegan
At 12:43 +0100 on 03 Jun (145401), Andrew Cooper wrote: Following c/s e758ed14 which describes the current terms used in Xens memory management, introduce some infrastructure so that new code can be written correctly. This is the start of a long potential cleanup. Acked-by: Tim Deegan

Re: [Xen-devel] [PATCH v11 6/9] xen: Add ring 3 vmware_port support

2015-06-04 Thread George Dunlap
On 06/04/2015 01:37 PM, Don Slutz wrote: On 06/03/15 12:58, George Dunlap wrote: On 06/03/2015 05:41 PM, Don Slutz wrote: On 06/03/15 12:23, George Dunlap wrote: On 06/03/2015 04:58 PM, Andrew Cooper wrote: On 03/06/15 16:26, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote:

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

2015-06-04 Thread Dario Faggioli
On Fri, 2015-05-29 at 11:47 -0500, Chong Li wrote: On Fri, May 29, 2015 at 8:51 AM, Dario Faggioli dario.faggi...@citrix.com wrote: On Mon, 2015-05-25 at 19:05 -0500, Chong Li wrote: diff --git a/xen/common/domctl.c b/xen/common/domctl.c index 28aea55..8143c44 100644 ---

Re: [Xen-devel] [PATCH v11 3/9] tools: Add vmware_hwver support

2015-06-04 Thread Ian Campbell
On Wed, 2015-06-03 at 15:53 +0100, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: This is used to set xen_arch_domainconfig vmware_hw. It is set to the emulated VMware virtual hardware version. Currently 0, 3-4, 6-11 are good values. However the code only checks for ==

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

2015-06-04 Thread Dario Faggioli
On Fri, 2015-05-29 at 14:14 +0100, Jan Beulich wrote: On 29.05.15 at 15:01, dario.faggi...@citrix.com wrote: On Wed, 2015-05-27 at 12:41 +0100, Jan Beulich wrote: On 26.05.15 at 19:18, lichong...@gmail.com wrote: On Tue, May 26, 2015 at 4:08 AM, Jan Beulich jbeul...@suse.com wrote: On

[Xen-devel] [xen-4.2-testing test] 57842: regressions - FAIL

2015-06-04 Thread osstest service user
flight 57842 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/57842/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xend-winxpsp3 16 guest-stop fail REGR. vs. 53018

Re: [Xen-devel] [PATCH] x86/cpu: Fix SMAP check in PVOPS environments

2015-06-04 Thread H. Peter Anvin
On 06/03/2015 02:31 AM, Andrew Cooper wrote: There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns the full flags, while lguest and Xen only return the Interrupt Flag, and both have comments by the implementations stating that

Re: [Xen-devel] [PATCH v2 7/9] x86/intel_pstate: add a booting param to select the driver to load

2015-06-04 Thread Wang, Wei W
On 04/06/2015 09:18, Wei Wang wrote On 03/06/2015 19:51, Jan Beulich wrote On 03.06.15 at 10:07, wei.w.w...@intel.com wrote: On 26/05/2015 22:02, Jan Beulich wrote On 13.05.16 at 09:51, wei.w.w...@intel.com wrote: --- a/xen/arch/x86/acpi/cpufreq/cpufreq.c +++

Re: [Xen-devel] RFC: QEMU bumping memory limit and domain restore

2015-06-04 Thread Ian Campbell
On Thu, 2015-06-04 at 10:14 +0100, Wei Liu wrote: The main objection is that we shouldn't call xc_domain_setmaxmem in the middle of a migration stream. In the middle of an _xc_ migration stream. This seems like the sort of thing it would be OK to have in a (to be introduced) libxl stream

Re: [Xen-devel] RFC: QEMU bumping memory limit and domain restore

2015-06-04 Thread Ian Campbell
On Thu, 2015-06-04 at 10:32 +0100, Andrew Cooper wrote: On 04/06/15 10:26, Ian Campbell wrote: On Thu, 2015-06-04 at 10:14 +0100, Wei Liu wrote: The main objection is that we shouldn't call xc_domain_setmaxmem in the middle of a migration stream. In the middle of an _xc_ migration stream.

[Xen-devel] [PATCH] libxc: unify handling of vNUMA layout

2015-06-04 Thread Wei Liu
This patch does the following: 1. Use local variables for dummy vNUMA layout in PV case. 2. Avoid leaking dummy layout back to caller in PV case. 3. Use local variables to reference vNUMA layout (whether it is dummy or provided by caller) for both PV and HVM. Signed-off-by: Wei Liu

Re: [Xen-devel] [PATCH RFC 1/2] libxl: allow /local/domain/0/device-model/$DOMID to be written by $DOMID

2015-06-04 Thread Wei Liu
On Thu, Jun 04, 2015 at 11:06:39AM +0100, Stefano Stabellini wrote: On Tue, 2 Jun 2015, Wei Liu wrote: On Mon, Jun 01, 2015 at 05:01:34PM +0100, Stefano Stabellini wrote: The device model is going to restrict its xenstore connection to $DOMID level. Let it access

Re: [Xen-devel] clarification of xen Wiki article

2015-06-04 Thread Wei Liu
On Thu, Jun 04, 2015 at 10:58:18AM +0100, Ian Campbell wrote: Unless the author or someone else in the know speaks up I would propose to remove this text from the wiki. +1 for this. Wei. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org

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

2015-06-04 Thread Julien Grall
On 04/06/2015 18:55, Julien Grall wrote: After reading this draft, I think we can avoid to browse the Device Table and the ITT. As said on the previous paragraph, the pending_irq structure is linked to an irq_desc. In your proposal, you suggested to store the its_device in the irq_guest (part

Re: [Xen-devel] [PATCH V9] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event

2015-06-04 Thread Lengyel, Tamas
On Thu, Jun 4, 2015 at 3:53 PM, Tim Deegan t...@xen.org wrote: At 16:19 +0200 on 03 Jun (1433348379), Lengyel, Tamas wrote: On Wed, Jun 3, 2015 at 3:48 PM, Razvan Cojocaru rcojoc...@bitdefender.com wrote: On 06/03/2015 04:29 PM, Lengyel, Tamas wrote: struct { -

Re: [Xen-devel] [PATCH v2 8/9] x86/intel_pstate: support the use of intel_pstate in pmstat.c

2015-06-04 Thread Jan Beulich
Wang, Wei W wei.w.w...@intel.com 06/04/15 4:21 AM On 26/05/2015 22:16, Jan Beulich wrote On 13.05.16 at 09:51, wei.w.w...@intel.com wrote: --- a/xen/drivers/acpi/pmstat.c +++ b/xen/drivers/acpi/pmstat.c @@ -261,29 +272,47 @@ static int get_cpufreq_para(struct xen_sysctl_pm_op *op)

Re: [Xen-devel] [PATCH v2 7/9] x86/intel_pstate: add a booting param to select the driver to load

2015-06-04 Thread Jan Beulich
Wang, Wei W wei.w.w...@intel.com 06/04/15 3:15 AM On 03/06/2015 19:51, Jan Beulich wrote On 03.06.15 at 10:07, wei.w.w...@intel.com wrote: @@ -650,9 +650,12 @@ static int __init cpufreq_driver_init(void) int ret = 0; if ((cpufreq_controller == FREQCTL_xen) -

Re: [Xen-devel] [PATCH] xen/sched_rt: Use the correct type for _cpumask_scratch

2015-06-04 Thread Julien Grall
Hi Dario, On 04/06/2015 09:57, Dario Faggioli wrote: On Tue, 2015-06-02 at 16:07 +0100, Julien Grall wrote: The commit 376bbbabbda607d2039b8f839f15ff02721597d2 sched_rt: print useful affinity info when dumping breaks build on ARM64: sched_rt.c: In function ‘rt_init’: sched_rt.c:442:26: error:

Re: [Xen-devel] [PATCH v1 COLO Pre 03/12] tools/libxc: export xc_bitops.h

2015-06-04 Thread Yang Hongyang
On 06/04/2015 04:36 PM, Ian Campbell wrote: On Thu, 2015-06-04 at 09:01 +0800, Yang Hongyang wrote: On 06/02/2015 06:11 PM, Andrew Cooper wrote: On 02/06/15 10:26, Yang Hongyang wrote: When we are under COLO, we will send dirty page bitmap info from secondary to primary at every

Re: [Xen-devel] [PATCH] x86/cpu: Fix SMAP check in PVOPS environments

2015-06-04 Thread Andrew Cooper
On 04/06/15 07:38, H. Peter Anvin wrote: On 06/03/2015 02:31 AM, Andrew Cooper wrote: There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely. Native returns the full flags, while lguest and Xen only return the Interrupt Flag, and both have

Re: [Xen-devel] [PATCH] xen/sched_rt: Use the correct type for _cpumask_scratch

2015-06-04 Thread Dario Faggioli
On Tue, 2015-06-02 at 16:07 +0100, Julien Grall wrote: The commit 376bbbabbda607d2039b8f839f15ff02721597d2 sched_rt: print useful affinity info when dumping breaks build on ARM64: sched_rt.c: In function ‘rt_init’: sched_rt.c:442:26: error: assignment from incompatible pointer type [-Werror]

Re: [Xen-devel] [PATCH v1 COLO Pre 03/12] tools/libxc: export xc_bitops.h

2015-06-04 Thread Ian Campbell
On Thu, 2015-06-04 at 09:01 +0800, Yang Hongyang wrote: On 06/02/2015 06:11 PM, Andrew Cooper wrote: On 02/06/15 10:26, Yang Hongyang wrote: When we are under COLO, we will send dirty page bitmap info from secondary to primary at every checkpoint. So we need to get/test the dirty page

[Xen-devel] clarification of xen Wiki article

2015-06-04 Thread Linda
Hi all, I was reading http://wiki.xen.org/wiki/XenBus In the section on Store Organization, there is the statement Information should not be replicated in the store and required to be consistent I'm not sure what that means. Can anybody clarify this for me, please? Thanks. linda

Re: [Xen-devel] [PATCH v11 6/9] xen: Add ring 3 vmware_port support

2015-06-04 Thread Don Slutz
On 06/03/15 12:23, George Dunlap wrote: On 06/03/2015 04:58 PM, Andrew Cooper wrote: On 03/06/15 16:26, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: Summary is that VMware treats in (%dx),%eax (or out %eax,(%dx)) to port 0x5658 specially. Note: since many operations return

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

2015-06-04 Thread Chris (Christopher) Brand
Hi Julien, When the property clock-frequency is present in the DT timer node, it means that the bootloader/firmware didn't correctly configured the CNTFRQ/CNTFRQ_EL0 on each processor. I will test this patch, but it doesn't apply cleanly to the version of Xen I'm currently using, so I need to

Re: [Xen-devel] RFC: QEMU bumping memory limit and domain restore

2015-06-04 Thread Wei Liu
On Wed, Jun 03, 2015 at 02:22:25PM +0100, George Dunlap wrote: On Tue, Jun 2, 2015 at 3:05 PM, Wei Liu wei.l...@citrix.com wrote: Previous discussion at [0]. For the benefit of discussion, we refer to max_memkb inside hypervisor as hv_max_memkb (name subject to improvement). That's the

Re: [Xen-devel] RFC: QEMU bumping memory limit and domain restore

2015-06-04 Thread Andrew Cooper
On 04/06/15 10:26, Ian Campbell wrote: On Thu, 2015-06-04 at 10:14 +0100, Wei Liu wrote: The main objection is that we shouldn't call xc_domain_setmaxmem in the middle of a migration stream. In the middle of an _xc_ migration stream. This seems like the sort of thing it would be OK to have

Re: [Xen-devel] clarification of xen Wiki article

2015-06-04 Thread Ian Campbell
On Wed, 2015-06-03 at 09:24 -0600, Linda wrote: Hi all, I was reading http://wiki.xen.org/wiki/XenBus In the section on Store Organization, there is the statement Information should not be replicated in the store and required to be consistent I'm not sure what that means. Can

Re: [Xen-devel] [PATCH RFC 1/2] libxl: allow /local/domain/0/device-model/$DOMID to be written by $DOMID

2015-06-04 Thread Stefano Stabellini
On Tue, 2 Jun 2015, Wei Liu wrote: On Mon, Jun 01, 2015 at 05:01:34PM +0100, Stefano Stabellini wrote: The device model is going to restrict its xenstore connection to $DOMID level. Let it access /local/domain/0/device-model/$DOMID, as it is required by QEMU to read/write the physmap. It

[Xen-devel] [PATCH v2 0/5] libxl: xs_restrict QEMU

2015-06-04 Thread Stefano Stabellini
Hi all, this patch series changes libxl to start QEMU as device model with the new xsrestrict option (http://marc.info/?l=xen-develm=143341692707358). It also starts a second QEMU to provide PV backends in userspace (qdisk) to HVM guests. Changes in v2: - fix xs permissions to actually do what

Re: [Xen-devel] [PATCH v11 9/9] Add xentrace to vmware_port

2015-06-04 Thread Don Slutz
On 06/04/15 07:20, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: Also added missing TRAP_DEBUG VLAPIC. Signed-off-by: Don Slutz dsl...@verizon.com Acked-by: Ian Campbell ian.campb...@citrix.com --- v11: No change v10: Added Acked-by: Ian Campbell Added back in

[Xen-devel] Developer Summit Schedule announced + Maintainer/Committer meeting on Aug 19

2015-06-04 Thread Lars Kurth
Hi everyone, the developer summit schedule is now live at http://events.linuxfoundation.org/events/xen-project-developer-summit/program/schedule http://events.linuxfoundation.org/events/xen-project-developer-summit/program/schedule and speakers should have gotten an acceptance mails. If not,

Re: [Xen-devel] [PATCH v11 9/9] Add xentrace to vmware_port

2015-06-04 Thread George Dunlap
On 05/22/2015 04:50 PM, Don Slutz wrote: Also added missing TRAP_DEBUG VLAPIC. Signed-off-by: Don Slutz dsl...@verizon.com Acked-by: Ian Campbell ian.campb...@citrix.com --- v11: No change v10: Added Acked-by: Ian Campbell Added back in the trace point calls. Why is cmd

[Xen-devel] [PATCH v2 0/2] restrict the privilege of the xenstore connection

2015-06-04 Thread Stefano Stabellini
Hi all, this patch series introduces a new command line option to restrict the privilege of the xenstore connection. Used together with -runas, can help secure the execution of QEMU in Dom0. Changes in v2: - remove xenstore_record_dm_state and open code the xenstore write instead - change the

Re: [Xen-devel] clarification of xen Wiki article

2015-06-04 Thread Wei Liu
On Thu, Jun 04, 2015 at 11:35:23AM +0100, Wei Liu wrote: On Thu, Jun 04, 2015 at 10:58:18AM +0100, Ian Campbell wrote: Unless the author or someone else in the know speaks up I would propose to remove this text from the wiki. +1 for this. Ian, I looked at the history of that page. It

Re: [Xen-devel] clarification of xen Wiki article

2015-06-04 Thread Wei Liu
On Thu, Jun 04, 2015 at 12:35:22PM +0100, Ian Campbell wrote: On Thu, 2015-06-04 at 12:31 +0100, Wei Liu wrote: On Thu, Jun 04, 2015 at 11:35:23AM +0100, Wei Liu wrote: On Thu, Jun 04, 2015 at 10:58:18AM +0100, Ian Campbell wrote: Unless the author or someone else in the know speaks up I

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

2015-06-04 Thread osstest service user
flight 57852 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/57852/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 9 windows-install fail REGR. vs. 57419 Regressions which

[Xen-devel] [PATCH v2 1/2] xen: separate the xenstore_record_dm_state calls for pv and hvm machines

2015-06-04 Thread Stefano Stabellini
The following patch will introduce a new option to restrict the privilege of the xenstore connection. In that case, we do not want to use multiple xenstore connections, but just the one, with lower privileges. For this reason, split the xenstore_record_dm_state calls for pv and hvm machines, so

[Xen-devel] [PATCH v2 2/2] xen: introduce xsrestrict

2015-06-04 Thread Stefano Stabellini
Introduce a new command line option xenopts, with one boolean suboption xsrestrict. When xsrestrict=on is passed, QEMU will restrict the xenstore connection calling xs_restrict. Also it won't initialize the pv backends as they require higher privileges. Change the xenpv machine xenstore path for

[Xen-devel] [PATCH v2 5/5] libxl: spawns two QEMUs for HVM guests

2015-06-04 Thread Stefano Stabellini
Starts a second QEMU to provide PV backends in userspace to HVM guests. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- tools/libxl/libxl_create.c | 18 ++ tools/libxl/libxl_dm.c |9 - 2 files changed, 26 insertions(+), 1 deletion(-) diff

[Xen-devel] [PATCH v2 1/5] libxl: allow /local/domain/0/device-model/$DOMID to be written by $DOMID

2015-06-04 Thread Stefano Stabellini
The device model is going to restrict its xenstore connection to $DOMID level. Let it access /local/domain/0/device-model/$DOMID, as it is required by QEMU to read/write the physmap. It doesn't contain any information the guest is not already fully aware of. Signed-off-by: Stefano Stabellini

[Xen-devel] [PATCH v2 4/5] libxl: change xs path for pv qemu

2015-06-04 Thread Stefano Stabellini
If QEMU is ran just to provide PV backends, change the xenstore path to /local/domain/0/device-model/$DOMID/pv. Add a parameter to libxl__device_model_xs_path to distinguish the device model from the pv backends provider. Store the device model binary path under /local/domain/$DOMID/device-model

Re: [Xen-devel] [PATCH v11 8/9] Add IOREQ_TYPE_VMWARE_PORT

2015-06-04 Thread Don Slutz
On 06/03/15 13:09, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: This adds synchronization of the 6 vcpu registers (only 32bits of them) that vmport.c needs between Xen and QEMU. This is to avoid a 2nd and 3rd exchange between QEMU and Xen to fetch and put these 6 vcpu

[Xen-devel] [PATCH v2 2/5] libxl: do not add a vkb backend to hvm guests

2015-06-04 Thread Stefano Stabellini
When QEMU restricts its xenstore connection, it cannot provide PV backends. A separate QEMU instance is required to provide PV backends in userspace, such as qdisk. With two separate instances, it is not possible to take advantage of vkb for mouse and keyboard, as the QEMU that emulates the

[Xen-devel] [PATCH v2 3/5] libxl: xsrestrict QEMU

2015-06-04 Thread Stefano Stabellini
Check whether QEMU supports the xsrestrict option, by parsing its --help output. Store the result on xenstore for future reference on a per QEMU binary basis, so that device_model_override still works fine with it. Replace / with _ in the QEMU binary path before writing it to xenstore, so that it

Re: [Xen-devel] clarification of xen Wiki article

2015-06-04 Thread Ian Campbell
On Thu, 2015-06-04 at 12:31 +0100, Wei Liu wrote: On Thu, Jun 04, 2015 at 11:35:23AM +0100, Wei Liu wrote: On Thu, Jun 04, 2015 at 10:58:18AM +0100, Ian Campbell wrote: Unless the author or someone else in the know speaks up I would propose to remove this text from the wiki. +1

[Xen-devel] [linux-3.18 test] 57853: regressions - FAIL

2015-06-04 Thread osstest service user
flight 57853 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/57853/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop fail in 57788 REGR. vs. 57312 Tests which are

Re: [Xen-devel] [PATCH V8] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event

2015-06-04 Thread Jan Beulich
Razvan Cojocaru rcojoc...@bitdefender.com 06/04/15 3:46 PM On 06/04/2015 04:43 PM, Tim Deegan wrote: At 14:40 +0100 on 04 Jun (1433428815), Tim Deegan wrote: At 16:45 +0300 on 29 May (1432917959), Razvan Cojocaru wrote: As suggested by Andrew Cooper, this patch attempts to remove some

Re: [Xen-devel] [PATCH v11 6/9] xen: Add ring 3 vmware_port support

2015-06-04 Thread Don Slutz
On 06/03/15 12:58, George Dunlap wrote: On 06/03/2015 05:41 PM, Don Slutz wrote: On 06/03/15 12:23, George Dunlap wrote: On 06/03/2015 04:58 PM, Andrew Cooper wrote: On 03/06/15 16:26, George Dunlap wrote: On 05/22/2015 04:50 PM, Don Slutz wrote: Summary is that VMware treats in (%dx),%eax

Re: [Xen-devel] [PATCH v2 1/2] net/xen-netfront: Correct printf format in xennet_get_responses

2015-06-04 Thread David Vrabel
On 04/06/15 13:45, Julien Grall wrote: On 03/06/15 18:06, Joe Perches wrote: On Wed, 2015-06-03 at 17:55 +0100, Julien Grall wrote: rx-status is an int16_t, print it using %d rather than %u in order to have a meaningful value when the field is negative. [] diff --git

Re: [Xen-devel] [PATCH v2 1/2] net/xen-netfront: Correct printf format in xennet_get_responses

2015-06-04 Thread Julien Grall
On 04/06/15 13:46, David Vrabel wrote: On 04/06/15 13:45, Julien Grall wrote: On 03/06/15 18:06, Joe Perches wrote: On Wed, 2015-06-03 at 17:55 +0100, Julien Grall wrote: rx-status is an int16_t, print it using %d rather than %u in order to have a meaningful value when the field is negative.

  1   2   >