[Xen-devel] [qemu-mainline bisection] complete test-amd64-i386-xl-qemuu-debianhvm-amd64

2015-01-09 Thread xen . org
branch xen-unstable xen branch xen-unstable job test-amd64-i386-xl-qemuu-debianhvm-amd64 test debian-hvm-install Tree: linux git://xenbits.xen.org/linux-pvops.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/staging/qemu-xen-unstable.git

[Xen-devel] [qemu-upstream-4.5-testing baseline test] 33293: tolerable trouble: broken/fail/pass

2015-01-09 Thread xen . org
Old tested version had not actually been tested; therefore in this flight we test it, rather than a new candidate. The baseline, if any, is the most recent actually tested revision. flight 33293 qemu-upstream-4.5-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/33293/

[Xen-devel] [PATCH 09/12] Revert src/xenconfig: Xen-xl parser

2015-01-09 Thread Jim Fehlig
This reverts commit 2c78051a14acfb7aba078d569b1632dfe0ca0853. Conflicts: src/Makefile.am Signed-off-by: Jim Fehlig jfeh...@suse.com --- .gitignore| 1 - cfg.mk| 3 +- configure.ac | 1 - po/POTFILES.in|

[Xen-devel] [PATCH 00/12] Replace Xen xl parsing/formatting impl

2015-01-09 Thread Jim Fehlig
The first attempt to implement support for parsing/formatting Xen's xl disk config format copied Xen's flex-based parser into libvirt, which has proved to be challenging in the context of autotools. But as it turns out, Xen provides an interface to the parser via libxlutil. This series reverts

[Xen-devel] [PATCH 10/12] Introduce support for parsing/formatting Xen xl config format

2015-01-09 Thread Jim Fehlig
Introduce a parser/formatter for the xl config format. Since the deprecation of xm/xend, the VM config file format has diverged as new features are added to libxl. This patch adds support for parsing and formating the xl config format. It supports the existing xm config format, plus adds

[Xen-devel] [PATCH 12/12] libxl: Add support for parsing/formating Xen XL config

2015-01-09 Thread Jim Fehlig
From: Kiarie Kahurani davidkiar...@gmail.com Now that xenconfig supports parsing and formatting Xen's XL config format, integrate it into the libxl driver's connectDomainXML{From,To}Native functions. Signed-off-by: Kiarie Kahurani davidkiar...@gmail.com Signed-off-by: Jim Fehlig jfeh...@suse.com

[Xen-devel] [PATCH 08/12] Revert tests: Tests for the xen-xl parser

2015-01-09 Thread Jim Fehlig
This reverts commit 6b818d3b09f4e74ac2ea1d4020896be1e6871867. Signed-off-by: Jim Fehlig jfeh...@suse.com --- tests/Makefile.am| 9 +- tests/testutilsxen.c | 50 tests/testutilsxen.h | 9 +- tests/xlconfigdata/test-new-disk.cfg |

[Xen-devel] [PATCH 02/12] Revert src/Makefile: Fix parallel build after xen_xl_disk parser introduction

2015-01-09 Thread Jim Fehlig
This reverts commit 533349ff43ddf091026fbcb0d9a714d9cc570dc7. Signed-off-by: Jim Fehlig jfeh...@suse.com --- src/Makefile.am | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 2eaaf11..a6ea8e0 100644 ---

[Xen-devel] [PATCH 05/12] Revert build: fix xenconfig VPATH builds

2015-01-09 Thread Jim Fehlig
This reverts commit 1b21d300691a78f73d94446616a6d1f9fd88991e. Conflicts: src/Makefile.am Signed-off-by: Jim Fehlig jfeh...@suse.com --- src/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index aaa5af2..95ba12c 100644

[Xen-devel] [PATCH 04/12] Revert Revert src/Makefile.am: fix build breaker for xenconfig

2015-01-09 Thread Jim Fehlig
This reverts commit e662968fd980158e8f8d8990bb43378dbc3d036a. Signed-off-by: Jim Fehlig jfeh...@suse.com --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 850122a..aaa5af2 100644 --- a/src/Makefile.am +++

[Xen-devel] [PATCH 06/12] Revert src/Makefile.am: fix build breaker for xenconfig

2015-01-09 Thread Jim Fehlig
This reverts commit 703ef9667abf016ef1040eac296a81792b366932. Signed-off-by: Jim Fehlig jfeh...@suse.com --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 95ba12c..c7975e5 100644 --- a/src/Makefile.am +++

[Xen-devel] [PATCH 03/12] Revert src/Makefile: move the new xen_xl_disk parser code at the correct place

2015-01-09 Thread Jim Fehlig
This reverts commit edacdb3d12256af4f6e31ec65c9dd4797fb3aa0d. Signed-off-by: Jim Fehlig jfeh...@suse.com --- src/Makefile.am | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index a6ea8e0..850122a 100644

Re: [Xen-devel] [PATCH 3/3] x86/HVM: make hvm_efer_valid() honor guest features

2015-01-09 Thread Andrew Cooper
On 09/01/15 15:33, Jan Beulich wrote: On 09.01.15 at 16:09, andrew.coop...@citrix.com wrote: On 09/01/15 11:20, Jan Beulich wrote: On 08.01.15 at 19:49, andrew.coop...@citrix.com wrote: I think hvm_efer_valid() also needs the current EFER and CR0 to work out what the current LMA should be,

Re: [Xen-devel] [PATCH 12/12] xen/gntdev: provide a set of pages for each VMA

2015-01-09 Thread Stefano Stabellini
On Fri, 9 Jan 2015, Stefano Stabellini wrote: On Tue, 6 Jan 2015, David Vrabel wrote: From: Jenny Herbert jennifer.herb...@citrix.com For each VMA for grant maps, provide the correct array of pages so get_user_pages() on foreign mappings works in PV guests. Signed-off-by: Jenny

Re: [Xen-devel] [PATCH 1/3] spinlock: use local_irq_disable() instead of local_irq_save() where possible

2015-01-09 Thread Andrew Cooper
On 09/01/15 16:02, Konrad Rzeszutek Wilk wrote: On Thu, Jan 08, 2015 at 04:13:03PM +, Jan Beulich wrote: ... as generally being a cheaper operation. I was wondering if it would be possible to change some of the EFLAGS after when we go in the 'cpu_relax' - and an interrupt happens, we

Re: [Xen-devel] [PATCH] MAINTAINERS: Andrew Cooper to co-maintain x86

2015-01-09 Thread Konrad Rzeszutek Wilk
On Fri, Jan 09, 2015 at 11:01:01AM +, Andrew Cooper wrote: On 09/01/15 10:55, Jan Beulich wrote: Signed-off-by: Jan Beulich jbeul...@suse.com Acked-by: Andrew Cooper andrew.coop...@citrix.com (or Reviewed-by perhaps? I am not certain of the protocol here) Congrantulations-by: Konrad

[Xen-devel] [PATCH v2] libxl: Don't ignore error when we fail to give access to ioport/irq/iomem

2015-01-09 Thread Julien Grall
If we fail to give the access, the domain will unlikely work correctly. So we should bail out at the first error. Signed-off-by: Julien Grall julien.gr...@linaro.org Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell

Re: [Xen-devel] [PATCH 08/12] xen/grant-table: add a mechanism to safely unmap pages that are in use

2015-01-09 Thread Stefano Stabellini
On Tue, 6 Jan 2015, David Vrabel wrote: From: Jenny Herbert jennifer.herb...@citrix.com Introduce gnttab_unmap_refs_async() that can be used to safely unmap pages that may be in use (ref count 1). If the pages are in use the unmap is deferred and retried later. This polling is not very

Re: [Xen-devel] [PATCH v2] libxl: Spice image compression setting support for upstream qemu

2015-01-09 Thread Wei Liu
On Thu, Jan 08, 2015 at 04:26:30PM +0100, Fabio Fantoni wrote: Usage: spice_image_compression=[auto_glz|auto_lz|quic|glz|lz|off] Specifies what image compression is to be used by spice (if given), otherwise the qemu default will be used. Signed-off-by: Fabio Fantoni fabio.fant...@m2r.biz

Re: [Xen-devel] [PATCH 1/3] spinlock: use local_irq_disable() instead of local_irq_save() where possible

2015-01-09 Thread Konrad Rzeszutek Wilk
On Thu, Jan 08, 2015 at 04:13:03PM +, Jan Beulich wrote: ... as generally being a cheaper operation. I was wondering if it would be possible to change some of the EFLAGS after when we go in the 'cpu_relax' - and an interrupt happens, we process it, alter the EFLAGS, then when we are done,

Re: [Xen-devel] One question about the hypercall to translate gfn to mfn.

2015-01-09 Thread Tian, Kevin
From: Tim Deegan [mailto:t...@xen.org] Sent: Thursday, January 08, 2015 8:43 PM Hi, Not really. The IOMMU tables are also 64-bit so there must be enough addresses to map all of RAM. There shouldn't be any need for these mappings to be _contiguous_, btw. You just need to have one

Re: [Xen-devel] xen-ringwatch issues

2015-01-09 Thread Ian Campbell
On Thu, 2015-01-08 at 14:07 -0500, moftah moftah wrote: Hi All, We are using Xenserver 6.2 FYI xenserver is developed as a separate project over at www.xenserver.org, so in general you should be reporting issue/requesting help over on their forums and lists etc. However, since xen-ringwatch is

Re: [Xen-devel] [PATCH 0/3] XSA-114 follow-ups

2015-01-09 Thread Andrew Cooper
On 08/01/15 16:28, Tim Deegan wrote: At 16:00 + on 08 Jan (1420729255), Jan Beulich wrote: 1: spinlock: use local_irq_disable() instead of local_irq_save() where possible 2: rwlock: allow arch to override read_unlock() atomic 3: rwlock: allow arch to override write_unlock() atomic

Re: [Xen-devel] [PATCH 3/3] x86/HVM: vMSI simplification

2015-01-09 Thread Andrew Cooper
On 08/01/15 15:52, Jan Beulich wrote: - struct msixtbl_entry's table_len field can be unsigned int, and by moving it down a little the structure size can be reduced slightly - a disjoint xmalloc()/memset() pair can be converted to xzalloc() - a pointless local variable can be dropped

Re: [Xen-devel] (v2) Design proposal for RMRR fix

2015-01-09 Thread Jan Beulich
On 08.01.15 at 19:02, george.dun...@eu.citrix.com wrote: On Thu, Jan 8, 2015 at 4:10 PM, Jan Beulich jbeul...@suse.com wrote: On 08.01.15 at 16:59, dunl...@umich.edu wrote: It seems a lot cleaner to me to have the toolstack tell Xen what ranges are reserved for RMRR per VM, and then have Xen

Re: [Xen-devel] summary-1 (v2) Design proposal for RMRR fix

2015-01-09 Thread Jan Beulich
On 09.01.15 at 07:57, kevin.t...@intel.com wrote: 1) 'fail' vs. 'warn' upon gfn confliction Assigning device which fails RMRR confliction check (i.e. intended gfns already allocated for other resources) actually brings unknown stability problem (device may clobber those valid resources)

Re: [Xen-devel] [PATCH 3/3] xen: use correct type for physical addresses

2015-01-09 Thread Jan Beulich
On 08.01.15 at 18:01, jgr...@suse.com wrote: --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -140,7 +140,7 @@ static void __init xen_del_extra_mem(u64 start, u64 size) unsigned long __ref xen_chk_extra_mem(unsigned long pfn) { int i; - unsigned long addr =

Re: [Xen-devel] summary-1 (v2) Design proposal for RMRR fix

2015-01-09 Thread Tian, Kevin
From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Friday, January 09, 2015 5:46 PM On 09.01.15 at 07:57, kevin.t...@intel.com wrote: 1) 'fail' vs. 'warn' upon gfn confliction Assigning device which fails RMRR confliction check (i.e. intended gfns already allocated for other

Re: [Xen-devel] (v2) Design proposal for RMRR fix

2015-01-09 Thread Jan Beulich
On 09.01.15 at 03:29, kevin.t...@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, January 08, 2015 8:59 PM On 08.01.15 at 13:49, george.dun...@eu.citrix.com wrote: One question: where are these RMRRs typically located in memory? Are they normally up in the

Re: [Xen-devel] [PATCH 1/3] x86: also allow REP STOS emulation acceleration

2015-01-09 Thread Jan Beulich
On 08.01.15 at 20:29, andrew.coop...@citrix.com wrote: On 08/01/15 15:50, Jan Beulich wrote: +if ( !buf ) +buf = p_data; +else +switch ( bytes_per_rep ) +{ +#define CASE(bits, suffix) \ +

Re: [Xen-devel] [Intel-gfx] [Announcement] 2015-Q1 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-01-09 Thread Jike Song
Hi all, We're pleased to announce a public update to Intel Graphics Virtualization Technology (Intel GVT-g, formerly known as XenGT). Intel GVT-g is a complete vGPU solution with mediated pass-through, supported today on 4th generation Intel Core(TM) processors with Intel Graphics

Re: [Xen-devel] (v2) Design proposal for RMRR fix

2015-01-09 Thread Jan Beulich
On 09.01.15 at 03:27, kevin.t...@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, January 08, 2015 9:55 PM On 26.12.14 at 12:23, kevin.t...@intel.com wrote: 3) hvmloader Hvmloader allocates other resources (ACPI, PCI MMIO, etc.) and internal data

Re: [Xen-devel] [libvirt test] 33157: regressions - trouble: blocked/fail/pass/preparing/queued

2015-01-09 Thread Ian Campbell
On Thu, 2015-01-08 at 14:56 -0700, Jim Fehlig wrote: Jim Fehlig wrote: Ian Campbell wrote: I must confess that I thought you already did use libxlu... No, not directly. But I will be doing so now. I should try to revert all this nonsense and use libxlu before it

[Xen-devel] [linux-3.10 test] 33271: regressions - trouble: broken/fail/pass

2015-01-09 Thread xen . org
flight 33271 linux-3.10 real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/33271/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-winxpsp3 7 windows-install fail REGR. vs. 26303 Tests which are

Re: [Xen-devel] [RFC V9 4/4] domain snapshot design: libxl/libxlu

2015-01-09 Thread Chun Yan Liu
On 1/8/2015 at 08:11 PM, in message 1420719107.19787.53.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-12-22 at 02:36 -0700, Chun Yan Liu wrote: b). For internal snapshot, like qcow2, lvm too. For lvm, it doesn't support snapshot of snapshot, so out

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

2015-01-09 Thread xen . org
flight 33280 libvirt real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/33280/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 5 libvirt-build fail REGR. vs. 32648 build-i386-libvirt

Re: [Xen-devel] [PATCH 12/12] xen/gntdev: provide a set of pages for each VMA

2015-01-09 Thread David Vrabel
On 09/01/15 16:05, Stefano Stabellini wrote: On Fri, 9 Jan 2015, Stefano Stabellini wrote: On Tue, 6 Jan 2015, David Vrabel wrote: From: Jenny Herbert jennifer.herb...@citrix.com For each VMA for grant maps, provide the correct array of pages so get_user_pages() on foreign mappings works in

Re: [Xen-devel] [PATCH 06/12] xen: mark grant mapped pages as foreign

2015-01-09 Thread Stefano Stabellini
On Fri, 9 Jan 2015, David Vrabel wrote: On 09/01/15 16:19, Ian Campbell wrote: On Fri, 2015-01-09 at 16:03 +, Stefano Stabellini wrote: On Tue, 6 Jan 2015, David Vrabel wrote: From: Jenny Herbert jennifer.herb...@citrix.com Use the foreign page flag to mark pages that have a grant

Re: [Xen-devel] Xen 4.5 Development Update (GA slip by a week), GA slip + 1 day

2015-01-09 Thread Konrad Rzeszutek Wilk
On Fri, Jan 09, 2015 at 01:51:56PM +, Lars Kurth wrote: Note that I published the Acknowledgements and most 4.5 documentation is now in place. Bits which you may want to check and fix * Spelling of your name if it contains special characters as the scripts that I use nuke them -

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-01-09 Thread Konrad Rzeszutek Wilk
On Tue, Dec 16, 2014 at 05:21:05PM +0100, Juergen Gross wrote: Hi, This is a design proposal for a rework of the config options on the Linux kernel which are related to Xen. The need to do so arose from the fact that it is currently not possible to build the Xen frontend drivers for a

Re: [Xen-devel] [PATCH 06/12] xen: mark grant mapped pages as foreign

2015-01-09 Thread Ian Campbell
On Fri, 2015-01-09 at 16:39 +, David Vrabel wrote: ... or stubbed out for arches which don't need this (which might include arm*?). I'm reasonably certain that this is required for HVM and ARM guests as well. The grant copy will still fail to get the page by gfn since the mfn is

Re: [Xen-devel] [PATCH] x86/traps: Avoid the #GP slowpath for guest #DB exceptions

2015-01-09 Thread Andrew Cooper
On 08/01/15 14:00, Jan Beulich wrote: On 08.01.15 at 14:25, andrew.coop...@citrix.com wrote: do_debug() is capable of correctly dealing with #DB exceptions in guest context, and indeed needs to be as the 'icebp' instruction skips the DPL check anyway. I don't follow: ICEBP doesn't check DPL,

Re: [Xen-devel] [libvirt test] 33157: regressions - trouble: blocked/fail/pass/preparing/queued

2015-01-09 Thread Dario Faggioli
On Thu, 2015-01-08 at 14:56 -0700, Jim Fehlig wrote: Jim Fehlig wrote: No, not directly. But I will be doing so now. I should try to revert all this nonsense and use libxlu before it ends up in the next libvirt release. Hmm, I don't think that is going to be possible since

Re: [Xen-devel] [PATCH resend] libxl, hotplug/Linux: default to phy backend for raw format file, take 2

2015-01-09 Thread Dario Faggioli
On Fri, 2015-01-09 at 14:42 +, Wei Liu wrote: On Thu, Jan 08, 2015 at 03:33:17PM +0100, Fabio Fantoni wrote: Sorry for the probably stupid question, what are the pros and cons of default use of phy instead qdisk for raw files as domU disk? There's no stupid question. :-) I was

Re: [Xen-devel] [PATCH 06/12] xen: mark grant mapped pages as foreign

2015-01-09 Thread David Vrabel
On 09/01/15 16:19, Ian Campbell wrote: On Fri, 2015-01-09 at 16:03 +, Stefano Stabellini wrote: On Tue, 6 Jan 2015, David Vrabel wrote: From: Jenny Herbert jennifer.herb...@citrix.com Use the foreign page flag to mark pages that have a grant map. Use page-private to store information of

Re: [Xen-devel] [libvirt test] 33157: regressions - trouble: blocked/fail/pass/preparing/queued

2015-01-09 Thread Jim Fehlig
Dario Faggioli wrote: On Thu, 2015-01-08 at 14:56 -0700, Jim Fehlig wrote: Jim Fehlig wrote: No, not directly. But I will be doing so now. I should try to revert all this nonsense and use libxlu before it ends up in the next libvirt release. Hmm, I don't think that is

Re: [Xen-devel] [PATCH 3/3] x86/HVM: make hvm_efer_valid() honor guest features

2015-01-09 Thread Jan Beulich
On 09.01.15 at 16:09, andrew.coop...@citrix.com wrote: On 09/01/15 11:20, Jan Beulich wrote: On 08.01.15 at 19:49, andrew.coop...@citrix.com wrote: I think hvm_efer_valid() also needs the current EFER and CR0 to work out what the current LMA should be, and reject any attempt to change it.

Re: [Xen-devel] [PATCH 1/3] spinlock: use local_irq_disable() instead of local_irq_save() where possible

2015-01-09 Thread Jan Beulich
On 09.01.15 at 17:02, konrad.w...@oracle.com wrote: On Thu, Jan 08, 2015 at 04:13:03PM +, Jan Beulich wrote: ... as generally being a cheaper operation. I was wondering if it would be possible to change some of the EFLAGS after when we go in the 'cpu_relax' - and an interrupt happens,

Re: [Xen-devel] xen-ringwatch issues

2015-01-09 Thread moftah moftah
Hi Ian, OK, I have followed your suggestions and created a new patch this new patch does fix the issue fully for the negative numbers I didnt run the patch on 64bit OS since xenserver has 32bit Dom0 but i think it is safe to add here is the patch in case you or anyone want to have look at and

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

2015-01-09 Thread Andrew Cooper
On 09/01/2015 21:26, Ed White wrote: This set of patches adds support to hvm domains for EPTP switching by creating multiple copies of the host p2m (currently limited to 10 copies). The primary use of this capability is expected to be in scenarios where access to memory needs to be monitored

[Xen-devel] [xen-unstable test] 33285: trouble: broken/fail/pass

2015-01-09 Thread xen . org
flight 33285 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/33285/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl 3 host-install(3) broken REGR. vs. 33112

Re: [Xen-devel] One question about the hypercall to translate gfn to mfn.

2015-01-09 Thread Konrad Rzeszutek Wilk
On Fri, Jan 09, 2015 at 08:02:48AM +, Tian, Kevin wrote: From: Tim Deegan [mailto:t...@xen.org] Sent: Thursday, January 08, 2015 8:43 PM Hi, Not really. The IOMMU tables are also 64-bit so there must be enough addresses to map all of RAM. There shouldn't be any need for

Re: [Xen-devel] (v2) Design proposal for RMRR fix

2015-01-09 Thread Konrad Rzeszutek Wilk
On Thu, Jan 08, 2015 at 06:02:04PM +, George Dunlap wrote: On Thu, Jan 8, 2015 at 4:10 PM, Jan Beulich jbeul...@suse.com wrote: On 08.01.15 at 16:59, dunl...@umich.edu wrote: On Thu, Jan 8, 2015 at 1:54 PM, Jan Beulich jbeul...@suse.com wrote: the 1st invocation of this interface will

[Xen-devel] [RFC PATCH] Boot with more than 255 CPUs in initial domain.

2015-01-09 Thread Konrad Rzeszutek Wilk
Hey, This is RFC since: 1) I haven't yet tested it on an x2APIC enabled box. 2) Not sure if we just want override the 'apic-' as done elsewhere instead of adding our own APIC driver. This fixes the issue of trying to boot Linux under an 8 socket machine and only seeing an subset of CPUs.

[Xen-devel] [RFC PATCH] xen, apic: Setup our own APIC criver and validator for APIC IDs.

2015-01-09 Thread Konrad Rzeszutek Wilk
Via CPUID masking and the different apic- overrides we effectively make PV guests only but with the default APIC driver. That is OK as an PV guest should never access any APIC registers. However, the APIC is also used to limit the amount of CPUs if the APIC IDs are incorrect - and since we mask

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

2015-01-09 Thread Ed White
On 01/09/2015 02:06 PM, Andrew Cooper wrote: On 09/01/2015 21:26, Ed White wrote: This set of patches adds support to hvm domains for EPTP switching by creating multiple copies of the host p2m (currently limited to 10 copies). The primary use of this capability is expected to be in

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

2015-01-09 Thread Andrew Cooper
On 09/01/2015 22:21, Ed White wrote: On 01/09/2015 02:06 PM, Andrew Cooper wrote: On 09/01/2015 21:26, Ed White wrote: This set of patches adds support to hvm domains for EPTP switching by creating multiple copies of the host p2m (currently limited to 10 copies). The primary use of this

[Xen-devel] [qemu-mainline test] 33287: regressions - trouble: broken/fail/pass

2015-01-09 Thread xen . org
flight 33287 qemu-mainline real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/33287/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-win7-amd64 7 windows-install fail REGR. vs. 32598

[Xen-devel] [PATCH 03/11] x86/HVM: Hardware alternate p2m support detection.

2015-01-09 Thread Ed White
As implemented here, only supported on platforms with VMX HAP. Signed-off-by: Ed White edmund.h.wh...@intel.com --- xen/arch/x86/hvm/hvm.c| 8 xen/arch/x86/hvm/vmx/vmx.c| 1 + xen/include/asm-x86/hvm/hvm.h | 6 ++ 3 files changed, 15 insertions(+) diff --git

[Xen-devel] [PATCH 02/11] VMX: implement suppress #VE.

2015-01-09 Thread Ed White
In preparation for selectively enabling hardware #VE in a later patch, set suppress #VE on all EPTE's on #VE-capable hardware. Suppress #VE should always be the default condition for two reasons: it is generally not safe to deliver #VE into a guest unless that guest has been modified to receive

[Xen-devel] [PATCH 04/11] x86/MM: Improve p2m type checks.

2015-01-09 Thread Ed White
The alternate p2m code will introduce a new p2m type. In preparation for using that new type, introduce the type indicator here and fix all the checks that assume !nestedp2m == hostp2m to explicitly check for hostp2m. Signed-off-by: Ed White edmund.h.wh...@intel.com --- xen/arch/x86/hvm/hvm.c

[Xen-devel] [PATCH 06/11] VMX/altp2m: add code to support EPTP switching and #VE.

2015-01-09 Thread Ed White
Implement and hook up the code to enable VMX support of VMFUNC and #VE. VMFUNC leaf 0 (EPTP switching) and #VE are emulated on hardware that doesn't support them. Signed-off-by: Ed White edmund.h.wh...@intel.com --- xen/arch/x86/hvm/vmx/vmx.c | 138 +

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

2015-01-09 Thread Ed White
Add the basic data structures needed to support alternate p2m's and the functions to initialise them and tear them down. Although Intel hardware can handle 512 EPTP's per hardware thread concurrently, only 10 per domain are supported in this patch for performance reasons. The iterator in

[Xen-devel] [PATCH 07/11] x86/altp2m: introduce p2m_ram_rw_ve type.

2015-01-09 Thread Ed White
This is treated exactly like p2m_ram_rw, except that suppress_ve is not set in the EPTE. Signed-off-by: Ed White edmund.h.wh...@intel.com --- xen/arch/x86/mm/p2m-ept.c | 3 ++- xen/include/asm-x86/p2m.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [Xen-devel] (v2) Design proposal for RMRR fix

2015-01-09 Thread Tian, Kevin
From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Friday, January 09, 2015 5:21 PM On 09.01.15 at 03:27, kevin.t...@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, January 08, 2015 9:55 PM On 26.12.14 at 12:23, kevin.t...@intel.com wrote: 3)

Re: [Xen-devel] [PATCH v2 1/3] x86: also allow REP STOS emulation acceleration

2015-01-09 Thread Andrew Cooper
On 09/01/15 10:27, Jan Beulich wrote: While the REP MOVS acceleration appears to have helped qemu-traditional based guests, qemu-upstream (or really the respective video BIOSes) doesn't appear to benefit from that. Instead the acceleration added here provides a visible performance improvement

Re: [Xen-devel] [PATCH v2 1/3] x86: also allow REP STOS emulation acceleration

2015-01-09 Thread Tim Deegan
At 11:24 + on 09 Jan (1420799087), Jan Beulich wrote: On 09.01.15 at 12:18, t...@xen.org wrote: +default: +xfree(buf); +ASSERT(!buf); looks dodgy... In which way? The default is supposed to be unreachable, and sits in the else

Re: [Xen-devel] (v2) Design proposal for RMRR fix

2015-01-09 Thread Andrew Cooper
On 09/01/15 00:53, Tian, Kevin wrote: From: Tim Deegan [mailto:t...@xen.org] Sent: Thursday, January 08, 2015 8:32 PM Hi Kevin, Thanks for sending out this design document. I think Jan will have the most to say about this. Looking just at the hypervisor side of things, and leaving the

Re: [Xen-devel] [PATCH v3 1/2] gnttab: Introduce rwlock to protect updates to grant table state

2015-01-09 Thread Jan Beulich
On 09.01.15 at 14:05, cheg...@amazon.de wrote: On 2014/12/18 12:37, Jan Beulich wrote: On 03.12.14 at 15:29, cheg...@amazon.de wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c [...] @@ -944,6 +944,7 @@ __gnttab_unmap_common( } op-rd = rd; +

Re: [Xen-devel] [PATCH] libxl: Don't ignore error when we fail to give access to ioport/irq

2015-01-09 Thread Wei Liu
On Fri, Jan 09, 2015 at 01:54:22PM +, Julien Grall wrote: If we fail to give the access, the domain will unlikely work correctly. So we should bail out at the first error. Signed-off-by: Julien Grall julien.gr...@linaro.org Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano

Re: [Xen-devel] [PATCH] MAINTAINERS: Andrew Cooper to co-maintain x86

2015-01-09 Thread Keir Fraser
Jan Beulich mailto:jbeul...@suse.com 9 January 2015 10:55 Signed-off-by: Jan Beulich jbeul...@suse.com Acked-by: Keir Fraser k...@xen.org --- a/MAINTAINERS +++ b/MAINTAINERS @@ -341,6 +341,7 @@ X86 ARCHITECTURE M: Keir Fraser k...@xen.org M: Jan Beulich jbeul...@suse.com +M: Andrew Cooper

Re: [Xen-devel] Xen 4.5 Development Update (GA slip by a week), GA slip + 1 day

2015-01-09 Thread Lars Kurth
Note that I published the Acknowledgements and most 4.5 documentation is now in place. Bits which you may want to check and fix * Spelling of your name if it contains special characters as the scripts that I use nuke them - http://wiki.xenproject.org/wiki/Xen_Project_4.5_Acknowledgements * Some

[Xen-devel] [PATCH] libxl: Don't ignore error when we fail to give access to ioport/irq

2015-01-09 Thread Julien Grall
If we fail to give the access, the domain will unlikely work correctly. So we should bail out at the first error. Signed-off-by: Julien Grall julien.gr...@linaro.org Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Ian Campbell

Re: [Xen-devel] [PATCH 3/3] xen: use correct type for physical addresses

2015-01-09 Thread David Vrabel
On 08/01/15 17:01, Juergen Gross wrote: When converting a pfn to a physical address be sure to use 64 bit wide types. Also avoid invalidating memory for zero sized non-aligned extra memory regions. Also means this bit should be in another patch... Signed-off-by: Juergen Gross

[Xen-devel] [PATCH v3] libxl: Spice streaming video setting support for upstream qemu

2015-01-09 Thread Fabio Fantoni
Usage: spice_streaming_video=[filter|all|off] Specifies what streaming video setting is to be used by spice (if given), otherwise the qemu default will be used. Signed-off-by: Fabio Fantoni fabio.fant...@m2r.biz --- Changes in v3: - fixed a mistake in libxl_dm.c Changes in v2: - refresh ---

Re: [Xen-devel] [PATCH 3/3] xen: use correct type for physical addresses

2015-01-09 Thread Jan Beulich
On 09.01.15 at 13:51, david.vra...@citrix.com wrote: On 09/01/15 09:57, Jan Beulich wrote: On 08.01.15 at 18:01, jgr...@suse.com wrote: @@ -284,7 +286,7 @@ static void __init xen_update_mem_tables(unsigned long pfn, unsigned long mfn) } /* Update kernel mapping, but not for

[Xen-devel] [PATCH] MAINTAINERS: Andrew Cooper to co-maintain x86

2015-01-09 Thread Jan Beulich
Signed-off-by: Jan Beulich jbeul...@suse.com --- a/MAINTAINERS +++ b/MAINTAINERS @@ -341,6 +341,7 @@ X86 ARCHITECTURE M: Keir Fraser k...@xen.org M: Jan Beulich jbeul...@suse.com +M: Andrew Cooper andrew.coop...@citrix.com S: Supported L: xen-devel@lists.xen.org F:

Re: [Xen-devel] [PATCH v2 1/3] x86: also allow REP STOS emulation acceleration

2015-01-09 Thread Tim Deegan
At 10:56 + on 09 Jan (1420797418), Andrew Cooper wrote: On 09/01/15 10:27, Jan Beulich wrote: While the REP MOVS acceleration appears to have helped qemu-traditional based guests, qemu-upstream (or really the respective video BIOSes) doesn't appear to benefit from that. Instead the

Re: [Xen-devel] [PATCH] treewide: Convert clockevents_notify to use int cpu

2015-01-09 Thread Thierry Reding
On Wed, Dec 10, 2014 at 03:28:53PM -0800, Joe Perches wrote: [...] arch/arm/mach-tegra/cpuidle-tegra114.c | 4 ++-- arch/arm/mach-tegra/cpuidle-tegra20.c | 8 arch/arm/mach-tegra/cpuidle-tegra30.c | 8 [...] Acked-by: Thierry Reding tred...@nvidia.com pgpsUlJQpYjp_.pgp

Re: [Xen-devel] [PATCH] MAINTAINERS: Andrew Cooper to co-maintain x86

2015-01-09 Thread Andrew Cooper
On 09/01/15 10:55, Jan Beulich wrote: Signed-off-by: Jan Beulich jbeul...@suse.com Acked-by: Andrew Cooper andrew.coop...@citrix.com (or Reviewed-by perhaps? I am not certain of the protocol here) --- a/MAINTAINERS +++ b/MAINTAINERS @@ -341,6 +341,7 @@ X86 ARCHITECTURE M: Keir Fraser

Re: [Xen-devel] [PATCH 3/3] x86/HVM: make hvm_efer_valid() honor guest features

2015-01-09 Thread Jan Beulich
On 08.01.15 at 19:49, andrew.coop...@citrix.com wrote: On 08/01/15 15:23, Jan Beulich wrote: Following the earlier similar change validating CR4 modifications. Signed-off-by: Jan Beulich jbeul...@suse.com --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -1672,20 +1672,53 @@

Re: [Xen-devel] [PATCH] tools/misc: Cleanup makefile

2015-01-09 Thread Wei Liu
On Thu, Jan 08, 2015 at 01:34:22PM +, Andrew Cooper wrote: The existing makefile was awkward with needing to express conditional inclusion for both the build and install rules, and contained both split and unsplit long lines. The INSTALL_* rules now contain the conditional inclusion

Re: [Xen-devel] [PATCH v3 1/2] gnttab: Introduce rwlock to protect updates to grant table state

2015-01-09 Thread Egger, Christoph
On 2015/01/09 15:10, Jan Beulich wrote: On 09.01.15 at 14:05, cheg...@amazon.de wrote: On 2014/12/18 12:37, Jan Beulich wrote: On 03.12.14 at 15:29, cheg...@amazon.de wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c [...] @@ -944,6 +944,7 @@ __gnttab_unmap_common(

Re: [Xen-devel] [PATCH 2/3] xen: correct race in alloc_p2m_pmd()

2015-01-09 Thread David Vrabel
On 08/01/15 17:01, Juergen Gross wrote: When allocating a new pmd for the linear mapped p2m list a check is done for not introducing another pmd when this just happened on another cpu. In this case the old pte pointer was returned which points to the p2m_missing or p2m_identity page. The

Re: [Xen-devel] [PATCH 3/3] x86/HVM: make hvm_efer_valid() honor guest features

2015-01-09 Thread Andrew Cooper
On 09/01/15 11:20, Jan Beulich wrote: On 08.01.15 at 19:49, andrew.coop...@citrix.com wrote: On 08/01/15 15:23, Jan Beulich wrote: Following the earlier similar change validating CR4 modifications. Signed-off-by: Jan Beulich jbeul...@suse.com --- a/xen/arch/x86/hvm/hvm.c +++