[Xen-devel] Fw: unsubscribe

2015-01-08 Thread Minalkumar Patel
 MinalKumar Patel(M.E. - Computer Engineering) Lecturer,Computer Engineering Department, A.D.Patel Institute of Technology, New Vallabh Vidyanagar,Karamsad - 388121, Anand,Gujarat. Mobile - 9998574188 E-mail Id - patel...@yahoo.co.in URL - http://www.minall.co.in On Friday, 9 January 2015 4:

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

2015-01-08 Thread Tian, Kevin
Thanks Jan/George/Tim for your valuable inputs. To make discussion more efficient, let's do a summary for previous discussions and remaining opens here: -- 1) 'fail' vs. 'warn' upon gfn confliction Assigning device which fails RMRR confliction check (i.e. intended gfns already allocated for oth

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

2015-01-08 Thread Jim Fehlig
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 ends

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

2015-01-08 Thread xen . org
branch xen-unstable xen branch xen-unstable job test-amd64-amd64-xl-qemuu-ovmf-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 Tree: q

Re: [Xen-devel] [PATCH] hvm/vmx: WRITE_MSR() macro hygene

2015-01-08 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Thursday, January 08, 2015 11:39 PM > > Use the standard "do { } while ( 0 )" semantics, and don't hide the break > statement, incase this macro wants to be used anywhere outside of a switch. > > No functional change, but it is now

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

2015-01-08 Thread Tian, Kevin
> From: George Dunlap > Sent: Friday, January 09, 2015 2:02 AM > > On Thu, Jan 8, 2015 at 4:10 PM, Jan Beulich wrote: > On 08.01.15 at 16:59, wrote: > >> On Thu, Jan 8, 2015 at 1:54 PM, Jan Beulich wrote: > the 1st invocation of this interface will save all reported reserved > re

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

2015-01-08 Thread Tian, Kevin
> From: George Dunlap > Sent: Friday, January 09, 2015 12:00 AM > > >3.3 Policies > >> > >> An intuitive thought is to fail immediately upon a confliction, however > >> it is not flexible regarding to different requirments: > >> > >> a) it's not appropriate to fail libxc domain builder ju

Re: [Xen-devel] [OSSTEST PATCH 3/4] Add nested testcase of installing L2 guest VM

2015-01-08 Thread Pang, LongtaoX
> -Original Message- > From: Dario Faggioli [mailto:dario.faggi...@citrix.com] > Sent: Friday, January 09, 2015 1:20 AM > To: Pang, LongtaoX > Cc: Wei Liu; Hu, Robert; ian.jack...@eu.citrix.com; ian.campb...@citrix.com; > Zheng, Di; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [OSST

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

2015-01-08 Thread Tian, Kevin
> From: George Dunlap > Sent: Thursday, January 08, 2015 8:55 PM > > On Thu, Jan 8, 2015 at 12:49 PM, George Dunlap > wrote: > > If RMRRs almost always happen up above 2G, for example, then a simple > > solution that wouldn't require too much work would be to make sure > > that the PCI MMIO hole

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

2015-01-08 Thread Tian, Kevin
> From: George Dunlap > Sent: Thursday, January 08, 2015 8:50 PM > > On Fri, Dec 26, 2014 at 11:23 AM, Tian, Kevin wrote: > > (please note some proposal is different from last sent version after more > > discussions. But I tried to summarize previous discussions and explained why > > we choose a

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

2015-01-08 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, January 08, 2015 8:59 PM > > >>> On 08.01.15 at 13:49, wrote: > > One question: where are these RMRRs typically located in memory? Are > > they normally up in the MMIO region? Or can they occur anywhere (even > > in really low are

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

2015-01-08 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, January 08, 2015 9:55 PM > > >>> On 26.12.14 at 12:23, wrote: > > [Issue-2] Being lacking of goal-b), existing device assignment with > > RMRR works only when reserved regions happen to not conflicting with > > other valid allocatio

Re: [Xen-devel] [PATCH v2 1/5] vTPM: event channel bind interdomain with para/hvm virtual machine

2015-01-08 Thread Xu, Quan
> -Original Message- > From: Daniel De Graaf [mailto:dgde...@tycho.nsa.gov] > Sent: Friday, January 09, 2015 1:48 AM > To: Xu, Quan; xen-devel@lists.xen.org > Cc: samuel.thiba...@ens-lyon.org; stefano.stabell...@eu.citrix.com > Subject: Re: [PATCH v2 1/5] vTPM: event channel bind interdom

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

2015-01-08 Thread Tian, Kevin
> 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 tools desig to others... > > A

[Xen-devel] [xen-4.5-testing baseline test] 33264: trouble: blocked/broken/fail/pass

2015-01-08 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 33264 xen-4.5-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/33264/ Failures and pr

[Xen-devel] unsubscribe

2015-01-08 Thread Raval, Brijen
___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [RFC 2/2] x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader

2015-01-08 Thread Andy Lutomirski
On Thu, Jan 8, 2015 at 2:31 PM, Marcelo Tosatti wrote: > On Tue, Jan 06, 2015 at 11:49:09AM -0800, Andy Lutomirski wrote: >> On Tue, Jan 6, 2015 at 10:45 AM, Marcelo Tosatti wrote: >> > On Tue, Jan 06, 2015 at 10:26:22AM -0800, Andy Lutomirski wrote: >> >> On Tue, Jan 6, 2015 at 10:13 AM, Marcelo

Re: [Xen-devel] [RFC 2/2] x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader

2015-01-08 Thread Marcelo Tosatti
On Tue, Jan 06, 2015 at 11:49:09AM -0800, Andy Lutomirski wrote: > On Tue, Jan 6, 2015 at 10:45 AM, Marcelo Tosatti wrote: > > On Tue, Jan 06, 2015 at 10:26:22AM -0800, Andy Lutomirski wrote: > >> On Tue, Jan 6, 2015 at 10:13 AM, Marcelo Tosatti > >> wrote: > >> > On Tue, Jan 06, 2015 at 08:56:4

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

2015-01-08 Thread Jim Fehlig
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 ends up in the next libvirt > release. > Hmm, I don

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

2015-01-08 Thread Andrew Cooper
On 08/01/15 15:50, Jan Beulich wrote: > +if ( !buf ) > +buf = p_data; > +else > +switch ( bytes_per_rep ) > +{ > +#define CASE(bits, suffix) \ > +case (bits) / 8:

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

2015-01-08 Thread Konrad Rzeszutek Wilk
> > > = Timeline = > > > > > > Xen 4.5 is a 10 month release. The dates are: > > > > > > * Feature Freeze: 24th September 2014 > > > * First RC: 24th October [Friday!] > > > * RC2: Nov 11th > > > * RC2 Test-day: Nov 13th > > > * RC3: Dec 3rd. > > > * RC3 Test-day: Dec 4th > > > * RC4: Dec 15th >

[Xen-devel] [linux-next test] 33257: regressions - trouble: blocked/broken/fail/pass

2015-01-08 Thread xen . org
flight 33257 linux-next real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/33257/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken REGR. vs. 33115 build-amd64-libvirt

Re: [Xen-devel] Mapping Data between Dom0 and DomU

2015-01-08 Thread Christian Refvik
Andrew, Ian, and Paul - thanks so much for the help. I need to study the code and I'll try to get a channel going between two Linux VMs. Latency and performance are critical (~500 MB/s), so I'll probably have more questions about best practices for large data buffers. However, once I have a w

Re: [Xen-devel] [PATCH 1/2] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file.

2015-01-08 Thread Konrad Rzeszutek Wilk
On Thu, Jan 08, 2015 at 08:51:51AM +0100, Olaf Hering wrote: > On Wed, Jan 07, Ian Campbell wrote: > > > On Wed, 2015-01-07 at 16:49 +, Ian Jackson wrote: > > > Certainly removing this feature this late in the 4.5 release cycle is > > > not appropriate. > > > > I agree that faffing around wit

[Xen-devel] xen-ringwatch issues

2015-01-08 Thread moftah moftah
Hi All, We are using Xenserver 6.2 with latest patches installed and we just enabled email sending on the pool (the pool has been running for long time with no major issues) now 3 hosts out of 4 hosts in the pool are flooding us with xen-ringwatch exceptions like this Traceback (most recent call l

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

2015-01-08 Thread Andrew Cooper
On 08/01/15 16:04, Jan Beulich wrote: On 08.01.15 at 16:56, wrote: >> At 15:23 + on 08 Jan (1420727005), Jan Beulich wrote: >>> +if ( (value & EFER_LMSLE) && !cpu_has_lmsl ) >>> +return 0; >> I see this bit has no CPUID flag, and the docs don't seem to suggest >> that it would

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

2015-01-08 Thread Andrew Cooper
On 08/01/15 15:23, Jan Beulich wrote: > Following the earlier similar change validating CR4 modifications. > > Signed-off-by: Jan Beulich > > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -1672,20 +1672,53 @@ static int hvm_save_cpu_ctxt(struct doma > return 0; > } > > -

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

2015-01-08 Thread Tim Deegan
At 17:05 + on 08 Jan (1420733142), Jan Beulich wrote: > >>> On 08.01.15 at 17:56, wrote: > > At 16:29 + on 08 Jan (1420730974), Jan Beulich wrote: > >> >>> On 08.01.15 at 17:16, wrote: > >> > At 15:50 + on 08 Jan (1420728649), Jan Beulich wrote: > >> >> While the REP MOVS acceleration

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

2015-01-08 Thread Pasi Kärkkäinen
On Thu, Jan 08, 2015 at 06:02:04PM +, George Dunlap wrote: > On Thu, Jan 8, 2015 at 4:10 PM, Jan Beulich wrote: > On 08.01.15 at 16:59, wrote: > >> On Thu, Jan 8, 2015 at 1:54 PM, Jan Beulich wrote: > the 1st invocation of this interface will save all reported reserved > regio

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

2015-01-08 Thread George Dunlap
On Thu, Jan 8, 2015 at 4:10 PM, Jan Beulich wrote: On 08.01.15 at 16:59, wrote: >> On Thu, Jan 8, 2015 at 1:54 PM, Jan Beulich wrote: the 1st invocation of this interface will save all reported reserved regions under domain structure, and later invocation (e.g. from hvmloader

Re: [Xen-devel] [PATCH 1/2] mm: allow for an alternate set of pages for userspace mappings

2015-01-08 Thread David Vrabel
On 08/01/15 17:20, Johannes Weiner wrote: > On Thu, Jan 08, 2015 at 03:28:43PM +, David Vrabel wrote: >> Add an optional array of pages to struct vm_area_struct that can be >> used find the page backing a VMA. This is useful in cases where the >> normal mechanisms for finding the page don't wo

Re: [Xen-devel] [PATCH v2 1/5] vTPM: event channel bind interdomain with para/hvm virtual machine

2015-01-08 Thread Daniel De Graaf
On 01/08/2015 11:49 AM, Xu, Quan wrote: -Original Message- From: Daniel De Graaf [mailto:dgde...@tycho.nsa.gov] Sent: Thursday, January 08, 2015 11:55 PM To: Xu, Quan; xen-devel@lists.xen.org Cc: samuel.thiba...@ens-lyon.org; stefano.stabell...@eu.citrix.com Subject: Re: [PATCH v2 1/5]

[Xen-devel] [OSSTEST PATCH] make-flight: reorganize scheduling related test jobs

2015-01-08 Thread Dario Faggioli
Scheduling related tests are ok to run on ARM, so do not cut them off. They also do not depend on a particular Dom0 architecture. The net effect is that the following tests are removed: test-amd64-i386-xl-credit2 test-amd64-i386-xl-multivcpu while the following new ones are created: test-amd64

Re: [Xen-devel] [PATCH] tools/misc: Remove sbdf2devicepath

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 13:45 +, Andrew Cooper wrote: > This script has become orphaned from the build system, and depends on removed > Xend functionality (xen.util.pci) so can't possibly function now. > > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu Acked

Re: [Xen-devel] [PATCH 2/2] libxl_internal: comment on domain userdata unlock function

2015-01-08 Thread Ian Campbell
On Wed, 2015-01-07 at 16:57 +, Wei Liu wrote: > > > diff --git a/tools/libxl/libxl_internal.c b/tools/libxl/libxl_internal.c > > > index 9d8025d..a70214b 100644 > > > --- a/tools/libxl/libxl_internal.c > > > +++ b/tools/libxl/libxl_internal.c > > > @@ -458,6 +458,20 @@ out: > > > > > > void

Re: [Xen-devel] [OSSTEST PATCH 3/4] Add nested testcase of installing L2 guest VM

2015-01-08 Thread Dario Faggioli
On Tue, 2015-01-06 at 03:28 +, Pang, LongtaoX wrote: > [Pang, LongtaoX] > [Pang, LongtaoX] Thanks for checking. We used ts-debian-hvm-install for > installing L1 HVM guest via ISO Image, > because we will build XEN, XEN-Tools and dom0 kernel inside it, and then we > will install L2 guest in

Re: [Xen-devel] [PATCH 2/3] x86/HVM: clobber hypercall arguments just like for PV

2015-01-08 Thread Andrew Cooper
On 08/01/15 15:22, Jan Beulich wrote: > Unused arguments get clobbered before the call (not affecting caller > visible state), while used arguments get clobbered afterwards unless > a continuation is needed (affecting caller visible state). > > Signed-off-by: Jan Beulich After a long time pouring

Re: [Xen-devel] [PATCH 1/2] mm: allow for an alternate set of pages for userspace mappings

2015-01-08 Thread Johannes Weiner
On Thu, Jan 08, 2015 at 03:28:43PM +, David Vrabel wrote: > Add an optional array of pages to struct vm_area_struct that can be > used find the page backing a VMA. This is useful in cases where the > normal mechanisms for finding the page don't work. This array is only > inspected if the PTE

Re: [Xen-devel] [OSSTEST PATCH 3/4] Add nested testcase of installing L2 guest VM

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 18:20 +0100, Dario Faggioli wrote: > On Tue, 2015-01-06 at 03:28 +, Pang, LongtaoX wrote: > > [Pang, LongtaoX] > > [Pang, LongtaoX] Thanks for checking. We used ts-debian-hvm-install for > > installing L1 HVM guest via ISO Image, > > because we will build XEN, XEN-Tools

Re: [Xen-devel] [PATCH v2] tools/Rules.mk: Don't optimize debug builds; add macro debugging information

2015-01-08 Thread Ian Campbell
On Mon, 2014-12-01 at 14:21 +, Euan Harris wrote: > Tools debug builds are built with optimization level -O1, inherited from > the CFLAGS definition in StdGNU.mk. Optimizations confuse the debugger, > and the comment justifying -O1 in StdGNU.mk should not apply for a > userspace library. (Fo

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

2015-01-08 Thread Jim Fehlig
Ian Campbell wrote: > On Thu, 2015-01-08 at 09:37 -0700, Jim Fehlig wrote: > >> xen.org wrote: >> >>> flight 33157 libvirt running [real] >>> http://www.chiark.greenend.org.uk/~xensrcts/logs/33157/ >>> >>> Regressions :-( >>> >>> Tests which did not succeed and are blocking, >>> including t

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

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 17:56, wrote: > At 16:29 + on 08 Jan (1420730974), Jan Beulich wrote: >> >>> On 08.01.15 at 17:16, wrote: >> > At 15:50 + on 08 Jan (1420728649), Jan Beulich wrote: >> >> While the REP MOVS acceleration appears to have helped qemu-traditional >> >> based guests, qemu-up

Re: [Xen-devel] [PATCH 0/2] hvmloader: fix iasl warnings

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 16:22 +, Jan Beulich wrote: > 1: avoid named helper symbols > 2: certain methods are not supposed to have a return value > > Reported-by: Ian Campbell > Signed-off-by: Jan Beulich FWIW (I'm no asl expect): Acked-by: Ian Campbell _

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

2015-01-08 Thread Juergen Gross
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. Signed-off-by: Juergen Gross Tested-by: Boris Ostrovsky --- arch/x86/xen/setup.c | 6 -- 1 file changed, 4 insertions(+), 2 deletion

[Xen-devel] [PATCH 1/3] xen: correct error for building p2m list on 32 bits

2015-01-08 Thread Juergen Gross
In xen_rebuild_p2m_list() for large areas of invalid or identity mapped memory the pmd entries on 32 bit systems are initialized wrong. Correct this error. Suggested-by: Boris Ostrovsky Signed-off-by: Juergen Gross --- arch/x86/xen/p2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[Xen-devel] [PATCH 0/3] xen: correct several bugs in new p2m list setup

2015-01-08 Thread Juergen Gross
In the setup code of the linear mapped p2m list several bugs have been found, especially for 32 bit dom0. These patches correct the errors and make 32 bit dom0 bootable again. Juergen Gross (3): xen: correct error for building p2m list on 32 bits xen: correct race in alloc_p2m_pmd() xen: use

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

2015-01-08 Thread Juergen Gross
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 correct value would be the pointer to the found ne

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

2015-01-08 Thread Tim Deegan
At 16:29 + on 08 Jan (1420730974), Jan Beulich wrote: > >>> On 08.01.15 at 17:16, wrote: > > At 15:50 + on 08 Jan (1420728649), Jan Beulich wrote: > >> While the REP MOVS acceleration appears to have helped qemu-traditional > >> based guests, qemu-upstream (or really the respective video B

Re: [Xen-devel] [PATCH] arm64: Relax licensing of arm64 Xen DMA operations

2015-01-08 Thread Stefano Stabellini
On Sun, 21 Dec 2014, Chuck Tuffli wrote: > With Xen configured into the arm64 kernel, any driver allocating > DMA'able memory for PCI operations, must be GPL compatible, regardless > of its interaction with Xen. This patch relaxes the GPL requirement of > xen_dma_ops and its dependencies to allow o

Re: [Xen-devel] [PATCH v2 1/5] vTPM: event channel bind interdomain with para/hvm virtual machine

2015-01-08 Thread Xu, Quan
> -Original Message- > From: Daniel De Graaf [mailto:dgde...@tycho.nsa.gov] > Sent: Thursday, January 08, 2015 11:55 PM > To: Xu, Quan; xen-devel@lists.xen.org > Cc: samuel.thiba...@ens-lyon.org; stefano.stabell...@eu.citrix.com > Subject: Re: [PATCH v2 1/5] vTPM: event channel bind inter

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

2015-01-08 Thread Stefano Stabellini
On Thu, 8 Jan 2015, Ian Campbell wrote: > On Thu, 2015-01-08 at 16:07 +, Wei Liu wrote: > > On Thu, Jan 08, 2015 at 02:07:42PM +, Ian Campbell wrote: > > > On Wed, 2014-11-26 at 16:55 +, Wei Liu wrote: > > > > Modify libxl and hotplug script to allow raw format file to use phy > > > > b

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

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 09:37 -0700, Jim Fehlig wrote: > xen.org wrote: > > flight 33157 libvirt running [real] > > http://www.chiark.greenend.org.uk/~xensrcts/logs/33157/ > > > > Regressions :-( > > > > Tests which did not succeed and are blocking, > > including tests which could not be run: > > bu

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

2015-01-08 Thread Jim Fehlig
xen.org wrote: > flight 33157 libvirt running [real] > http://www.chiark.greenend.org.uk/~xensrcts/logs/33157/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > build-amd64-libvirt queued > test-amd64-i386-l

Re: [Xen-devel] qemu-upstream stubdom - status?

2015-01-08 Thread Eric Shelton
On Tue, Apr 8, 2014 at 7:26 AM, Anthony PERARD wrote: > On Tue, Apr 08, 2014 at 11:49:43AM +0100, George Dunlap wrote: >> On Mon, Apr 7, 2014 at 9:50 PM, Eric Shelton wrote: >> > Where does this feature stand currently? It pops up under a couple of >> > names >> > and proposed implementations (

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

2015-01-08 Thread Tim Deegan
At 16:30 + on 08 Jan (1420731016), Jan Beulich wrote: > >>> On 08.01.15 at 17:14, wrote: > > At 15:52 + on 08 Jan (1420728734), 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 slig

[Xen-devel] [PATCH 2/2] hvmloader: certain methods are not supposed to have a return value

2015-01-08 Thread Jan Beulich
Newer iasl complains about this being violated. Also convert a ShiftLeft(, ) to a plain constant. Reported-by: Ian Campbell Signed-off-by: Jan Beulich --- a/tools/firmware/hvmloader/acpi/mk_dsdt.c +++ b/tools/firmware/hvmloader/acpi/mk_dsdt.c @@ -222,12 +222,9 @@ int main(int argc, char **argv

[Xen-devel] [PATCH 1/2] hvmloader: avoid named helper symbols

2015-01-08 Thread Jan Beulich
Newer iasl validly complains that such routines would otherwise need to be marked Serialized (in the SSDT case it can't know that explicit serialization is being enforced), which is undesirable. Use Local instead. Reported-by: Ian Campbell Signed-off-by: Jan Beulich --- a/tools/firmware/hvmload

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

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 17:14, wrote: > At 15:52 + on 08 Jan (1420728734), 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 x

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

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 17:16, wrote: > At 15:50 + on 08 Jan (1420728649), 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 acceler

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

2015-01-08 Thread Tim Deegan
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 > > Signed-off-by: Jan Beulich Reviewe

[Xen-devel] [PATCH 0/2] hvmloader: fix iasl warnings

2015-01-08 Thread Jan Beulich
1: avoid named helper symbols 2: certain methods are not supposed to have a return value Reported-by: Ian Campbell Signed-off-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

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

2015-01-08 Thread Tim Deegan
At 15:50 + on 08 Jan (1420728649), 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 p

[Xen-devel] [PATCH 3/3] rwlock: allow arch to override write_unlock() atomic

2015-01-08 Thread Jan Beulich
... (for consistency with read_unlock()), and default it to xchg(), being generally cheaper than cmpxchg(). Signed-off-by: Jan Beulich --- a/xen/common/spinlock.c +++ b/xen/common/spinlock.c @@ -438,10 +438,14 @@ int _write_trylock(rwlock_t *lock) return 1; } -void _write_unlock(rwlock_t

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

2015-01-08 Thread Tim Deegan
At 15:52 + on 08 Jan (1420728734), 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

Re: [Xen-devel] [PATCH 2/3] x86/HVM: drop pointless parameters from vIOAPIC internal routines

2015-01-08 Thread Tim Deegan
At 15:51 + on 08 Jan (1420728683), Jan Beulich wrote: > Also simplify a few other operations (without funtional change). > > Signed-off-by: Jan Beulich Reviewed-by: Tim Deegan ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.or

[Xen-devel] [PATCH 2/3] rwlock: allow arch to override read_unlock() atomic

2015-01-08 Thread Jan Beulich
On x86, LOCK DEC is cheaper than LOCK CMPXCHG and doesn't require a retry loop around it. Signed-off-by: Jan Beulich --- a/xen/common/spinlock.c +++ b/xen/common/spinlock.c @@ -333,14 +333,18 @@ int _read_trylock(rwlock_t *lock) return 1; } -void _read_unlock(rwlock_t *lock) -{ -uint

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

2015-01-08 Thread Jan Beulich
... as generally being a cheaper operation. Signed-off-by: Jan Beulich --- a/xen/common/spinlock.c +++ b/xen/common/spinlock.c @@ -162,7 +162,7 @@ unsigned long _spin_lock_irqsave(spinloc local_irq_restore(flags); while ( likely(_raw_spin_is_locked(&lock->raw)) ) c

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

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 16:07 +, Wei Liu wrote: > On Thu, Jan 08, 2015 at 02:07:42PM +, Ian Campbell wrote: > > On Wed, 2014-11-26 at 16:55 +, Wei Liu wrote: > > > Modify libxl and hotplug script to allow raw format file to use phy > > > backend. > > > > > > The block script now tests th

Re: [Xen-devel] [PATCH 1/3] x86: streamline hypercall_create_continuation()

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 17:01, wrote: > There appear to other many other places which could benifit from a > caching of guest_x86_mode() (especially in the nested virt case). Is it > worth considering unconditionally calculating on vmexit and removing the > function? If it's _only_ nested, then maybe

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

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 16:59, wrote: > On Thu, Jan 8, 2015 at 1:54 PM, Jan Beulich wrote: >>> the 1st invocation of this interface will save all reported reserved >>> regions under domain structure, and later invocation (e.g. from >>> hvmloader) gets saved content. >> >> Why would the reserved region

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

2015-01-08 Thread Wei Liu
On Thu, Jan 08, 2015 at 02:07:42PM +, Ian Campbell wrote: > On Wed, 2014-11-26 at 16:55 +, Wei Liu wrote: > > Modify libxl and hotplug script to allow raw format file to use phy > > backend. > > > > The block script now tests the path and determine the actual type of > > file (block device

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

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 16:56, wrote: > At 15:23 + on 08 Jan (1420727005), Jan Beulich wrote: >> +if ( (value & EFER_LMSLE) && !cpu_has_lmsl ) >> +return 0; > > I see this bit has no CPUID flag, and the docs don't seem to suggest > that it would ever not be valid. Are there real CPUs

Re: [Xen-devel] [PATCH ARM v8 1/4] mini-os: arm: time

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 15:58 +, Thomas Leonard wrote: > On 8 January 2015 at 15:52, Ian Campbell wrote: > > On Tue, 2014-10-21 at 11:50 +0100, Ian Campbell wrote: > >> On Fri, 2014-10-03 at 10:20 +0100, Thomas Leonard wrote: > >> > Based on an initial patch by Karim Raslan. > >> > > >> > Signed

Re: [Xen-devel] [PATCH 1/3] x86: streamline hypercall_create_continuation()

2015-01-08 Thread Andrew Cooper
On 08/01/15 15:22, Jan Beulich wrote: > - drop clearing of excessive multicall arguments in compat case (no > longer needed now that hypercall_xlat_continuation() only checks the > actual arguments) > - latch current into a local variable > - use the cached value of hvm_guest_x86_mode() instead

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

2015-01-08 Thread Jan Beulich
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 Signed-off-by: Jan Beulich ___ Xen-devel mailing list Xen-de

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

2015-01-08 Thread George Dunlap
On Thu, Jan 8, 2015 at 1:54 PM, Jan Beulich wrote: > Ideally, rather than detecting conflicts, hvmloader would just > consume what libxc set up. Obviously that would require awareness > in libxc of things it currently doesn't care about (like fitting PCI BARs > into the MMIO hole, enlarging it as

Re: [Xen-devel] [PATCH ARM v8 1/4] mini-os: arm: time

2015-01-08 Thread Thomas Leonard
On 8 January 2015 at 15:52, Ian Campbell wrote: > On Tue, 2014-10-21 at 11:50 +0100, Ian Campbell wrote: >> On Fri, 2014-10-03 at 10:20 +0100, Thomas Leonard wrote: >> > Based on an initial patch by Karim Raslan. >> > >> > Signed-off-by: Karim Allah Ahmed >> > Signed-off-by: Thomas Leonard >> >>

Re: [Xen-devel] [PATCH] hvm/vmx: WRITE_MSR() macro hygene

2015-01-08 Thread Tim Deegan
At 15:38 + on 08 Jan (1420727918), Andrew Cooper wrote: > Use the standard "do { } while ( 0 )" semantics, and don't hide the break > statement, incase this macro wants to be used anywhere outside of a switch. > > No functional change, but it is now clear that long_mode_do_msr_write() > doesn'

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

2015-01-08 Thread Tim Deegan
At 15:23 + on 08 Jan (1420727005), Jan Beulich wrote: > +if ( (value & EFER_LMSLE) && !cpu_has_lmsl ) > +return 0; I see this bit has no CPUID flag, and the docs don't seem to suggest that it would ever not be valid. Are there real CPUs where it can't be set? My reviewed-by: stan

Re: [Xen-devel] [PATCH v2 1/5] vTPM: event channel bind interdomain with para/hvm virtual machine

2015-01-08 Thread Daniel De Graaf
On 01/08/2015 03:20 AM, Xu, Quan wrote: -Original Message- From: Daniel De Graaf [mailto:dgde...@tycho.nsa.gov] Sent: Wednesday, January 07, 2015 3:47 AM To: Xu, Quan; xen-devel@lists.xen.org Cc: samuel.thiba...@ens-lyon.org; stefano.stabell...@eu.citrix.com Subject: Re: [PATCH v2 1/5]

Re: [Xen-devel] [PATCH v2 3/4] sysctl: Add sysctl interface for querying PCI topology

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 16:49, wrote: > On 01/08/2015 04:50 AM, Jan Beulich wrote: > On 07.01.15 at 18:55, wrote: >>> There probably would not be too serious issues in converting everything >>> to PXM, or adding duplicates, but I don't see the reason why we should >>> do such a thing... Perhaps I'

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

2015-01-08 Thread Tim Deegan
At 15:15 + on 08 Jan (1420726540), Jan Beulich wrote: > 1: streamline hypercall_create_continuation() > 2: HVM: clobber hypercall arguments just like for PV > 3: HVM: make hvm_efer_valid() honor guest features > > Signed-off-by: Jan Beulich Reviewed-by: Tim Deegan _

Re: [Xen-devel] [PATCH ARM v8 1/4] mini-os: arm: time

2015-01-08 Thread Ian Campbell
On Tue, 2014-10-21 at 11:50 +0100, Ian Campbell wrote: > On Fri, 2014-10-03 at 10:20 +0100, Thomas Leonard wrote: > > Based on an initial patch by Karim Raslan. > > > > Signed-off-by: Karim Allah Ahmed > > Signed-off-by: Thomas Leonard > > Acked-by: Ian Campbell Applied (for 4.6), thanks. #2

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

2015-01-08 Thread Jan Beulich
- 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 Signed-off-by: Jan Beulich --- unstable.orig/xe

[Xen-devel] [PATCH 2/3] x86/HVM: drop pointless parameters from vIOAPIC internal routines

2015-01-08 Thread Jan Beulich
Also simplify a few other operations (without funtional change). Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/vioapic.c +++ b/xen/arch/x86/hvm/vioapic.c @@ -46,11 +46,9 @@ static void vioapic_deliver(struct hvm_hw_vioapic *vioapic, int irq); -static unsigned long vioapic_read_indirect(

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

2015-01-08 Thread Jan Beulich
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 during very early HVM guest boot. Signed-o

Re: [Xen-devel] [PATCH v2 3/4] sysctl: Add sysctl interface for querying PCI topology

2015-01-08 Thread Boris Ostrovsky
On 01/08/2015 04:50 AM, Jan Beulich wrote: On 07.01.15 at 18:55, wrote: There probably would not be too serious issues in converting everything to PXM, or adding duplicates, but I don't see the reason why we should do such a thing... Perhaps I'm missing what using PXM would actually buy us? As

[Xen-devel] [PATCH 0/3] x86: XSA-112 follow-ups

2015-01-08 Thread Jan Beulich
1: also allow REP STOS emulation acceleration 2: HVM: drop pointless parameters from vIOAPIC internal routines 3: HVM: vMSI simplification Signed-off-by: Jan Beulich ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [PATCH] hvm/vmx: WRITE_MSR() macro hygene

2015-01-08 Thread Andrew Cooper
Use the standard "do { } while ( 0 )" semantics, and don't hide the break statement, incase this macro wants to be used anywhere outside of a switch. No functional change, but it is now clear that long_mode_do_msr_write() doesn't have fallthough for the STAR, LSTAR and SYSCALL_MASK cases. Signed-

[Xen-devel] preparing for 4.4.2 / 4.3.4

2015-01-08 Thread Jan Beulich
All, now that 4.5 is almost out the door, I'd like to get stable releases prepared on the other two active branches. 4.3.4 is expected to be the last xen.org managed release on the 4.3 branch. Aiming at RC1s some time next week, please indicate commits you consider relevant to backport but find mi

Re: [Xen-devel] Question about significant network performance difference after pin RX netback to vcpu0

2015-01-08 Thread Zoltan Kiss
On 08/01/2015 02:33, trump_zhang wrote: Hi, I am trying to test the single-queue networking performance for netback/netfront in upstream, my testing environment is as follows: 1. Using pkt-gen to send a single UDP flow from one host to a vm which runs on another XEN host. Two hosts ar

[Xen-devel] [PATCHv1 0/2] mm: infrastructure for correctly handling foreign pages on Xen

2015-01-08 Thread David Vrabel
These two patches are the common parts of a larger Xen series[1] fixing several long-standing bugs the handling of foreign[2] pages in Xen guests. The first patch is required to fix get_user_pages[_fast]() with userspace space mappings of such foreign pages. Basically, pte_page() doesn't work so

[Xen-devel] [PATCH 1/2] mm: allow for an alternate set of pages for userspace mappings

2015-01-08 Thread David Vrabel
Add an optional array of pages to struct vm_area_struct that can be used find the page backing a VMA. This is useful in cases where the normal mechanisms for finding the page don't work. This array is only inspected if the PTE is special. Splitting a VMA with such an array of pages is trivially

[Xen-devel] [PATCH 2/2] mm: add 'foreign' alias for the 'pinned' page flag

2015-01-08 Thread David Vrabel
From: Jenny Herbert The foreign page flag will be used by Xen guests to mark pages that have grant mappings of frames from other (foreign) guests. The foreign flag is an alias for the existing (Xen-specific) pinned flag. This is safe because pinned is only used on pages used for page tables and

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

2015-01-08 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 --- Changes in v2: - refresh --- docs/man/xl.cfg.pod.5 | 5 + tools/libxl/libxl.h |

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

2015-01-08 Thread Fabio Fantoni
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 --- Changes in v2: - refresh --- docs/man/xl.cfg.pod.5 | 5 + tools/libxl/libx

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

2015-01-08 Thread Jan Beulich
Following the earlier similar change validating CR4 modifications. Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -1672,20 +1672,53 @@ static int hvm_save_cpu_ctxt(struct doma return 0; } -static bool_t hvm_efer_valid(struct domain *d, -

[Xen-devel] [PATCH 2/3] x86/HVM: clobber hypercall arguments just like for PV

2015-01-08 Thread Jan Beulich
Unused arguments get clobbered before the call (not affecting caller visible state), while used arguments get clobbered afterwards unless a continuation is needed (affecting caller visible state). Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -4818,6 +48

[Xen-devel] [PATCH 1/3] x86: streamline hypercall_create_continuation()

2015-01-08 Thread Jan Beulich
- drop clearing of excessive multicall arguments in compat case (no longer needed now that hypercall_xlat_continuation() only checks the actual arguments) - latch current into a local variable - use the cached value of hvm_guest_x86_mode() instead of re-executing it - scope restrict "regs" -

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

2015-01-08 Thread Jan Beulich
>>> On 08.01.15 at 16:15, wrote: > On Thu, Jan 8, 2015 at 1:00 PM, Jan Beulich wrote: > On 08.01.15 at 13:54, wrote: >>> On Thu, Jan 8, 2015 at 12:49 PM, George Dunlap >>> wrote: If RMRRs almost always happen up above 2G, for example, then a simple solution that wouldn't require t

  1   2   >