[Xen-devel] [ovmf baseline-only test] 38308: all pass

2015-11-19 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38308 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38308/ Perfect :-) All tests in this flight passed version targeted for testing: ovmf 386cdfbecbbacb600ffc8e2ffa8c7af1b3855a61 baseline version: ovm

[Xen-devel] [PATCH] tools/hotplug: quote all variables in vif-bridge

2015-11-19 Thread Olaf Hering
Cosmetics: most of the variables used in vif-bridge are already quoted. Add quoting also to the remaining shell variables. Signed-off-by: Olaf Hering Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- tools/hotplug/Linux/vif-bridge | 6 +++--- 1 file changed, 3 insertion

[Xen-devel] [qemu-mainline baseline-only test] 38307: tolerable FAIL

2015-11-19 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38307 qemu-mainline real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38307/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl 21 guest-start/debian.repea

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

2015-11-19 Thread Gerd Hoffmann
Hi, > > Another area of extension is how to expose a framebuffer to QEMU for > > seamless integration into a SPICE/VNC channel. For this I believe we > > could use a new region, much like we've done to expose VGA access > > through a vfio device file descriptor. An area within this new > > fra

Re: [Xen-devel] [PATCH 00/10] x86/hvm: pkeys, add memory protection-key support

2015-11-19 Thread Jan Beulich
>>> On 19.11.15 at 08:44, wrote: > >> -Original Message- >> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] >> Sent: Wednesday, November 18, 2015 6:11 PM >> To: Wu, Feng ; Jan Beulich >> Cc: Tian, Kevin ; wei.l...@citrix.com; >> ian.campb...@citrix.com; stefano.stabell...@eu.citr

[Xen-devel] [PATCH] get_maintainer: fix perl 5.22/5.24 deprecated/incompatible "\C" use

2015-11-19 Thread Olaf Hering
From: Joe Perches Perl 5.22 emits a deprecated message when "\C" is used in a regex. Perl 5.24 will disallow it altogether. Fix it by using [A-Z] instead of \C. [ Upstream commit ce8155f7a3d59ce868ea16d8891edda4d865e873 ] Signed-off-by: Olaf Hering Cc: Ian Campbell Cc: Ian Jackson Cc: Jan

Re: [Xen-devel] [PATCH 00/10] x86/hvm: pkeys, add memory protection-key support

2015-11-19 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, November 19, 2015 4:44 PM > To: Wu, Feng > Cc: Andrew Cooper ; ian.campb...@citrix.com; > wei.l...@citrix.com; george.dun...@eu.citrix.com; > ian.jack...@eu.citrix.com; stefano.stabell...@eu.citrix.com;

Re: [Xen-devel] [PATCH 2/2] grant_table: convert grant table rwlock to percpu rwlock

2015-11-19 Thread Malcolm Crossley
On 18/11/15 20:02, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 17, 2015 at 05:30:59PM +, Andrew Cooper wrote: >> On 17/11/15 17:04, Jan Beulich wrote: >> On 03.11.15 at 18:58, wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -178,6 +178,10 @@ struct act

Re: [Xen-devel] [PATCH v2] xen/events: Always allocate legacy interrupts on PV guests

2015-11-19 Thread Juergen Gross
On 18/11/15 19:14, Boris Ostrovsky wrote: > After commit 8c058b0b9c34 ("x86/irq: Probe for PIC presence before > allocating descs for legacy IRQs") early_irq_init() will no longer > preallocate descriptors for legacy interrupts if PIC does not > exist, which is the case for Xen PV guests. > > Ther

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread Ian Campbell
On Wed, 2015-11-18 at 18:32 +, Martin Osterloh wrote: > I wanted to inquire about the current state of LibXL and in particular > if there are any issues with using it in long-running processes. It is currently being used by libvirtd which I think has shaken out most of the issues with that e

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

2015-11-19 Thread osstest service owner
flight 64723 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/64723/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-multivcpu 6 xen-boot fail REGR. vs. 64320 test-amd64-amd64-xl-pv

[Xen-devel] [PATCH v1] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
The Microsoft Hypervisor Top Level Functional Spec. (section 3.4) defines two bits in CPUID leaf 0x4004:EAX for the hypervisor to recommend whether or not to issue a hypercall for local or remote TLB flush. Whilst it's doubtful whether using a hypercall for local TLB flush would be any more ef

[Xen-devel] [PATCH] x86/IO-APIC: fix setting of destinations

2015-11-19 Thread Jan Beulich
In commit a85da715cf ("x86/IO-APIC: adjust setting of destinations") I made a pretty blatant mistake: get_apic_id() can be used there only when running APICs in physical mode. For both flat and clustered modes the change was wrong, causing different kinds of boot problems on affected systems. Don't

Re: [Xen-devel] [PATCH] sched_rt: Improved nested virtualization performance

2015-11-19 Thread Dario Faggioli
Hi, Thanks Tianyang for the report and for the patch, and Meng for helping getting the patch itself on the list and to me, and for commenting. On Wed, 2015-11-18 at 22:38 -0500, Meng Xu wrote: > [cc. Dario...] > > 2015-11-18 22:24 GMT-05:00 Tianyang Chen : > > In nested virtualization, choosing

Re: [Xen-devel] [PATCH 2/2] grant_table: convert grant table rwlock to percpu rwlock

2015-11-19 Thread Andrew Cooper
On 18/11/15 20:02, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 17, 2015 at 05:30:59PM +, Andrew Cooper wrote: >> On 17/11/15 17:04, Jan Beulich wrote: >> On 03.11.15 at 18:58, wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -178,6 +178,10 @@ struct act

[Xen-devel] [tip:x86/urgent] x86/cpu: Fix SMAP check in PVOPS environments

2015-11-19 Thread tip-bot for Andrew Cooper
Commit-ID: 581b7f158fe0383b492acd1ce3fb4e99d4e57808 Gitweb: http://git.kernel.org/tip/581b7f158fe0383b492acd1ce3fb4e99d4e57808 Author: Andrew Cooper AuthorDate: Wed, 3 Jun 2015 10:31:14 +0100 Committer: Thomas Gleixner CommitDate: Thu, 19 Nov 2015 11:07:49 +0100 x86/cpu: Fix SMAP check

Re: [Xen-devel] [PATCH v1] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Jan Beulich
>>> On 19.11.15 at 10:43, wrote: > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -2452,6 +2452,13 @@ int hvm_vcpu_initialise(struct vcpu *v) > if ( rc != 0 ) > goto fail6; > > +if ( is_viridian_domain(d) ) > +{ > +rc = viridian_init(v); I think t

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread George Dunlap
On Thu, Nov 19, 2015 at 9:20 AM, Ian Campbell wrote: > On Wed, 2015-11-18 at 18:32 +, Martin Osterloh wrote: > >> I wanted to inquire about the current state of LibXL and in particular >> if there are any issues with using it in long-running processes. > > It is currently being used by libvirt

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Juergen Gross
On 18/11/15 15:49, Wei Liu wrote: > Hi Juergen > > Looks like there is something we missed after all. > > On Wed, Nov 18, 2015 at 02:31:57PM +, osstest service owner wrote: >> flight 64494 xen-unstable real [real] >> http://logs.test-lab.xenproject.org/osstest/logs/64494/ >> >> Regressions :-

Re: [Xen-devel] HVM domains crash after upgrade from XEN 4.5.1 to 4.5.2

2015-11-19 Thread Jan Beulich
>>> On 19.11.15 at 00:17, wrote: > The disassembly of do_IRQ now looks like a plausible function, but the > consistently faulting address has no plausible way of generating a > double fault. I suspect therefore that something has caused memory > corruption in Xen .text section. Dump of assembler

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Ian Campbell
On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: > On 18/11/15 15:49, Wei Liu wrote: > > Hi Juergen > > > > Looks like there is something we missed after all. > > > > On Wed, Nov 18, 2015 at 02:31:57PM +, osstest service owner wrote: > > > flight 64494 xen-unstable real [real] > > > ht

Re: [Xen-devel] HVM domains crash after upgrade from XEN 4.5.1 to 4.5.2

2015-11-19 Thread Andrew Cooper
On 19/11/15 10:24, Jan Beulich wrote: On 19.11.15 at 00:17, wrote: >> The disassembly of do_IRQ now looks like a plausible function, but the >> consistently faulting address has no plausible way of generating a >> double fault. I suspect therefore that something has caused memory >> corrupti

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Wei Liu
On Thu, Nov 19, 2015 at 10:30:30AM +, Ian Campbell wrote: > On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: > > On 18/11/15 15:49, Wei Liu wrote: > > > Hi Juergen > > > > > > Looks like there is something we missed after all. > > > > > > On Wed, Nov 18, 2015 at 02:31:57PM +, osste

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread Andrew Cooper
On 19/11/15 09:20, Ian Campbell wrote: > On Wed, 2015-11-18 at 18:32 +, Martin Osterloh wrote: > >> I wanted to inquire about the current state of LibXL and in particular >> if there are any issues with using it in long-running processes. > It is currently being used by libvirtd which I think

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Ian Campbell
On Thu, 2015-11-19 at 10:50 +, Wei Liu wrote: > On Thu, Nov 19, 2015 at 10:30:30AM +, Ian Campbell wrote: > > On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: > > > On 18/11/15 15:49, Wei Liu wrote: > > > > Hi Juergen > > > > > > > > Looks like there is something we missed after all

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Wei Liu
On Thu, Nov 19, 2015 at 10:55:13AM +, Ian Campbell wrote: > On Thu, 2015-11-19 at 10:50 +, Wei Liu wrote: > > On Thu, Nov 19, 2015 at 10:30:30AM +, Ian Campbell wrote: > > > On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: > > > > On 18/11/15 15:49, Wei Liu wrote: > > > > > Hi Ju

[Xen-devel] [distros-debian-wheezy test] 38310: all pass

2015-11-19 Thread Platform Team regression test user
flight 38310 distros-debian-wheezy real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38310/ Perfect :-) All tests in this flight passed baseline version: flight 38270 jobs: build-amd64 pass build-armhf

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Juergen Gross
On 19/11/15 11:30, Ian Campbell wrote: > On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: >> On 18/11/15 15:49, Wei Liu wrote: >>> Hi Juergen >>> >>> Looks like there is something we missed after all. >>> >>> On Wed, Nov 18, 2015 at 02:31:57PM +, osstest service owner wrote: flight

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

2015-11-19 Thread Paolo Bonzini
On 19/11/2015 09:40, Gerd Hoffmann wrote: >> > But this code should be >> > minor to be maintained in libvirt. > As far I know libvirt only needs to discover those devices. If they > look like sr/iov devices in sysfs this might work without any changes to > libvirt. I don't think they will look

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread Ian Campbell
create ! title it libxl exit() on ENOMEM incompatible with gc'd languages thanks On Thu, 2015-11-19 at 10:55 +, Andrew Cooper wrote: > On 19/11/15 09:20, Ian Campbell wrote: > > On Wed, 2015-11-18 at 18:32 +, Martin Osterloh wrote: > > > > > I wanted to inquire about the current state of

[Xen-devel] Processed: Re: Current LibXL Status

2015-11-19 Thread xen
Processing commands for x...@bugs.xenproject.org: > create ! Created new bug #51 rooted at `<1447932195.5647.46.ca...@citrix.com>' Title: `Re: [Xen-devel] Current LibXL Status' > title it libxl exit() on ENOMEM incompatible with gc'd languages Set title for #51 to `libxl exit() on ENOMEM incompati

Re: [Xen-devel] missing block script support for qemu in libxl

2015-11-19 Thread Paul Durrant
> -Original Message- > From: xen-devel-boun...@lists.xen.org [mailto:xen-devel- > boun...@lists.xen.org] On Behalf Of Olaf Hering > Sent: 18 November 2015 09:45 > To: George Dunlap > Cc: xen-devel@lists.xen.org > Subject: Re: [Xen-devel] missing block script support for qemu in libxl > > O

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread Andrew Cooper
On 19/11/15 11:23, Ian Campbell wrote: > create ! > title it libxl exit() on ENOMEM incompatible with gc'd languages > thanks Can this be extended to "should not use exit() in general" ? andrewcoop@andrewcoop:/local/xen.git/xen$ git grep exit\( -- :/tools/libxl/libxl* ../tools/libxl/libxl.c:1707:

Re: [Xen-devel] [PATCH v1] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 19 November 2015 10:18 > To: Paul Durrant > Cc: Andrew Cooper; Ian Campbell; Wei Liu; Ian Jackson; Stefano Stabellini; > xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v1] x86/hvm/viridian: flu

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Juergen Gross
On 19/11/15 11:30, Ian Campbell wrote: > On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: >> On 18/11/15 15:49, Wei Liu wrote: >>> Hi Juergen >>> >>> Looks like there is something we missed after all. >>> >>> On Wed, Nov 18, 2015 at 02:31:57PM +, osstest service owner wrote: flight

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread Ian Campbell
On Thu, 2015-11-19 at 11:33 +, Andrew Cooper wrote: >  > The majority of those are cases are not appropriate uses of exit(). > AFAIIR, the *only* valid use of exit() in a library is to clean up in a > child process from a library-initiated fork(). ... or (in this case) in the libxl-save-helpe

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread Ian Campbell
On Thu, 2015-11-19 at 11:48 +, Ian Campbell wrote: > On Thu, 2015-11-19 at 11:33 +, Andrew Cooper wrote: > >   > > The majority of those are cases are not appropriate uses of exit(). > > AFAIIR, the *only* valid use of exit() in a library is to clean up in a > > child process from a librar

Re: [Xen-devel] [PATCH 1/3] x86/xen: Avoid fast syscall path for Xen PV guests

2015-11-19 Thread Borislav Petkov
On Wed, Nov 18, 2015 at 12:21:56PM -0800, Andy Lutomirski wrote: > Could we make this a little less subtle: > > ALTERNATIVE "testl %eax, %eax; lz .Lsyscall_32_done", "jmp > .Lsyscasll_32_done", X86_FEATURE_XENPV > > Borislav, what do you think? I don't mind either. I would've said your version

Re: [Xen-devel] [PATCH 0/3] Fix and cleanup for 32-bit PV sysexit

2015-11-19 Thread Borislav Petkov
On Wed, Nov 18, 2015 at 03:06:16PM -0500, Boris Ostrovsky wrote: > The first patch fixes Xen PV regression introduced by 32-bit rewrite. Unlike > the > earlier version it uses ALTERNATIVE instruction and avoids using xen_sysexit > (and sysret32 in compat mode) pv ops, as suggested by Andy. (I ende

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Wei Liu
On Thu, Nov 19, 2015 at 12:47:41PM +0100, Juergen Gross wrote: > On 19/11/15 11:30, Ian Campbell wrote: > > On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: > >> On 18/11/15 15:49, Wei Liu wrote: > >>> Hi Juergen > >>> > >>> Looks like there is something we missed after all. > >>> > >>> On W

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread Ian Campbell
On Thu, 2015-11-19 at 11:55 +, Ian Campbell wrote: > On Thu, 2015-11-19 at 11:48 +, Ian Campbell wrote: > > On Thu, 2015-11-19 at 11:33 +, Andrew Cooper wrote: > > >   > > > The majority of those are cases are not appropriate uses of exit(). > > > AFAIIR, the *only* valid use of exit()

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Juergen Gross
On 19/11/15 13:19, Wei Liu wrote: > On Thu, Nov 19, 2015 at 12:47:41PM +0100, Juergen Gross wrote: >> On 19/11/15 11:30, Ian Campbell wrote: >>> On Thu, 2015-11-19 at 11:24 +0100, Juergen Gross wrote: On 18/11/15 15:49, Wei Liu wrote: > Hi Juergen > > Looks like there is something

[Xen-devel] [PATCH v2] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
The Microsoft Hypervisor Top Level Functional Spec. (section 3.4) defines two bits in CPUID leaf 0x4004:EAX for the hypervisor to recommend whether or not to issue a hypercall for local or remote TLB flush. Whilst it's doubtful whether using a hypercall for local TLB flush would be any more ef

Re: [Xen-devel] [xen-unstable test] 64494: regressions - FAIL

2015-11-19 Thread Wei Liu
On Thu, Nov 19, 2015 at 01:29:01PM +0100, Juergen Gross wrote: [...] > > To be precise, the problem is in mini-os, which is used by rump kernel > > as well. :-( > > > >> pvgrub is making assumptions about the page table allocation scheme > >> of the toolset starting pvgrub. It is calculating the f

[Xen-devel] [PATCH] tools/libxl: Drop dead code following calls to libxl__exec()

2015-11-19 Thread Andrew Cooper
libxl__exec() doesn't ever return. Inform the compiler of this, and remove all dead code. No functional change. Signed-off-by: Andrew Cooper --- CC: Ian Campbell CC: Ian Jackson CC: Wei Liu --- tools/libxl/libxl.c| 1 - tools/libxl/libxl_aoutils.c| 2 -- tools/libxl/libxl_bo

[Xen-devel] [PATCH] xen/arm: use masking operation instead of test_bit for MCSF bits

2015-11-19 Thread Julien Grall
This is a follow of commit 90f2e2a307fc6a6258c39cc87b3b2bf9441c0fa7 "use masking operation instead of test_bit for MCSF bits" where the ARM changes were missing. Signed-off-by: Julien Grall --- xen/arch/arm/domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch

Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Jan Beulich
>>> On 19.11.15 at 13:33, wrote: > +case HvFlushVirtualAddressSpace: > +case HvFlushVirtualAddressList: > +{ > +cpumask_var_t pcpu_mask; cpumask_t * (or else ... [skip next comment] > +struct vcpu *v; > + > +struct { Stray blank line. > +uint64_t

Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 19 November 2015 12:55 > To: Paul Durrant > Cc: Andrew Cooper; Ian Campbell; Wei Liu; Ian Jackson; Stefano Stabellini; > xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v2] x86/hvm/viridian: flu

[Xen-devel] [linux-3.16 test] 64729: regressions - FAIL

2015-11-19 Thread osstest service owner
flight 64729 linux-3.16 real [real] http://logs.test-lab.xenproject.org/osstest/logs/64729/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemut-rhel6hvm-intel 12 guest-start/redhat.repeat fail REGR. vs. 63429 test-amd64-i3

[Xen-devel] [PATCH v3] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
The Microsoft Hypervisor Top Level Functional Spec. (section 3.4) defines two bits in CPUID leaf 0x4004:EAX for the hypervisor to recommend whether or not to issue a hypercall for local or remote TLB flush. Whilst it's doubtful whether using a hypercall for local TLB flush would be any more ef

Re: [Xen-devel] [PATCH v5 8/9] libxc: rework of domain builder's page table handler

2015-11-19 Thread Boris Ostrovsky
On 11/19/2015 01:09 AM, Juergen Gross wrote: On 18/11/15 17:21, Boris Ostrovsky wrote: On 11/18/2015 11:16 AM, Wei Liu wrote: On Wed, Nov 18, 2015 at 11:11:16AM -0500, Boris Ostrovsky wrote: On 11/12/2015 08:43 AM, Juergen Gross wrote: In order to prepare a p2m list outside of the initial ker

Re: [Xen-devel] [PATCH v3 5/8] libxl: implement virDomainBlockStats

2015-11-19 Thread Joao Martins
On 11/18/2015 07:01 PM, Jim Fehlig wrote: > On 11/13/2015 06:14 AM, Joao Martins wrote: >> Introduce initial support for domainBlockStats API call that >> allow us to query block device statistics. openstack nova >> uses this API call to query block statistics, alongside >> virDomainMemoryStats a

Re: [Xen-devel] [PATCH v3 6/8] libxl: implement virConnectGetAllDomainStats

2015-11-19 Thread Joao Martins
On 11/18/2015 10:03 PM, Jim Fehlig wrote: > On 11/13/2015 06:14 AM, Joao Martins wrote: >> Introduce support for connectGetAllDomainStats call that >> allow us to _all_ domain(s) statistics including network, block, > > allows us to get > >> cpus and memory. Changes are rather mechanical and mo

Re: [Xen-devel] [PATCH] x86/IO-APIC: fix setting of destinations

2015-11-19 Thread Boris Ostrovsky
On 11/19/2015 04:46 AM, Jan Beulich wrote: In commit a85da715cf ("x86/IO-APIC: adjust setting of destinations") I made a pretty blatant mistake: get_apic_id() can be used there only when running APICs in physical mode. For both flat and clustered modes the change was wrong, causing different kind

Re: [Xen-devel] [PATCH] x86/IO-APIC: fix setting of destinations

2015-11-19 Thread Andrew Cooper
On 19/11/15 09:46, Jan Beulich wrote: > In commit a85da715cf ("x86/IO-APIC: adjust setting of destinations") I > made a pretty blatant mistake: get_apic_id() can be used there only > when running APICs in physical mode. For both flat and clustered modes > the change was wrong, causing different kin

Re: [Xen-devel] [PATCH 01/10] x86/hvm: pkeys, add pkeys support for cpuid handling

2015-11-19 Thread Wu, Feng
> -Original Message- > From: xen-devel-boun...@lists.xen.org [mailto:xen-devel- > boun...@lists.xen.org] On Behalf Of Andrew Cooper > Sent: Monday, November 16, 2015 8:01 PM > To: Han, Huaitong ; jbeul...@suse.com; Nakajima, > Jun ; Dong, Eddie ; Tian, > Kevin ; george.dun...@eu.citrix.co

[Xen-devel] [PATCH] tools/libxc: Correct XC_DOM_PAGE_SIZE() to return a long long

2015-11-19 Thread Andrew Cooper
c/s abdf3c5b "libxc: create p2m list outside of kernel mapping if supported" introduces a use which Coverity objects to; an int used to mask a uint64_t. The result needs to be signed to allow ~XC_DOM_PAGE_SIZE() to function correctly, and long long to function properly in 32bit builds. Signed-off

[Xen-devel] Memory leak in migration on Xen 4.4

2015-11-19 Thread Ian Campbell
Following on from IRC conversation regarding an issue similar to [0] (which was reported by someone else). I've implemented the missing hypercall support in valgrind, see attached which applies to SVN r15732. This is migrating cleanly (i.e. no "README_MISSING_SYSCALL_OR_IOCTL" spew) for me with th

Re: [Xen-devel] 9p file system for xen

2015-11-19 Thread Neil Sikka
Is there any documentation about planned interfaces and API contracts for people building around the virtio/9pfs layers? For example, while this is still getting debugged/checked in, in order to build DomU support for these devices, the expected API contracts/interfaces would need to be known. On

Re: [Xen-devel] [PATCH] sched_rt: Improved nested virtualization performance

2015-11-19 Thread Meng Xu
Hi Dario, 2015-11-19 4:51 GMT-05:00 Dario Faggioli : > Hi, > > Thanks Tianyang for the report and for the patch, and Meng for helping > getting the patch itself on the list and to me, and for commenting. > > On Wed, 2015-11-18 at 22:38 -0500, Meng Xu wrote: >> [cc. Dario...] >> >> 2015-11-18 22:24

Re: [Xen-devel] 9p file system for xen

2015-11-19 Thread Wei Liu
On Thu, Nov 19, 2015 at 09:55:00AM -0500, Neil Sikka wrote: > Is there any documentation about planned interfaces and API contracts for > people building around the virtio/9pfs layers? For example, while this is I assume that you're interested in getting 9pfs to work but don't care much about how

Re: [Xen-devel] 9p file system for xen

2015-11-19 Thread Wei Liu
On Mon, Nov 16, 2015 at 08:02:35PM -0700, Linda wrote: > Hi Wei, > > On 11/16/2015 10:35 AM, Wei Liu wrote: > >On Mon, Nov 16, 2015 at 10:22:41AM -0700, Linda wrote: > ... > >> > >>The bug is a timing issue: During virtio's probe step, on the front end, it > >>initialized the mount path. Since a

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

2015-11-19 Thread Stefano Stabellini
On Thu, 19 Nov 2015, Jike Song wrote: > Hi Alex, thanks for the discussion. > > In addition to Kevin's replies, I have a high-level question: can VFIO > be used by QEMU for both KVM and Xen? No. VFIO cannot be used with Xen today. When running on Xen, the IOMMU is owned by Xen. _

Re: [Xen-devel] Current LibXL Status

2015-11-19 Thread George Dunlap
On Thu, Nov 19, 2015 at 11:23 AM, Ian Campbell wrote: > create ! > title it libxl exit() on ENOMEM incompatible with gc'd languages > thanks Actually, can I suggest that someone send a new thread with an appropriate title, so that people who aren't directly following the thread know what kinds of

Re: [Xen-devel] [PATCH v3] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Jan Beulich
>>> On 19.11.15 at 14:19, wrote: > The Microsoft Hypervisor Top Level Functional Spec. (section 3.4) defines > two bits in CPUID leaf 0x4004:EAX for the hypervisor to recommend > whether or not to issue a hypercall for local or remote TLB flush. > > Whilst it's doubtful whether using a hyperc

[Xen-devel] x86/mm patch ping

2015-11-19 Thread Jan Beulich
George, could I please get an ack or otherwise on http://lists.xenproject.org/archives/html/xen-devel/2015-11/msg00764.html http://lists.xenproject.org/archives/html/xen-devel/2015-11/msg00765.html ? While the latter has been reviewed by Andrew, it would feel wrong to commit it without your ack, e

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

2015-11-19 Thread Paolo Bonzini
On 19/11/2015 16:32, Stefano Stabellini wrote: > > In addition to Kevin's replies, I have a high-level question: can VFIO > > be used by QEMU for both KVM and Xen? > > No. VFIO cannot be used with Xen today. When running on Xen, the IOMMU > is owned by Xen. I don't think QEMU command line compa

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

2015-11-19 Thread Alex Williamson
On Thu, 2015-11-19 at 15:32 +, Stefano Stabellini wrote: > On Thu, 19 Nov 2015, Jike Song wrote: > > Hi Alex, thanks for the discussion. > > > > In addition to Kevin's replies, I have a high-level question: can VFIO > > be used by QEMU for both KVM and Xen? > > No. VFIO cannot be used with Xe

[Xen-devel] [PATCH] minios: don't rely on specific page table allocation scheme

2015-11-19 Thread Juergen Gross
Today mini-os is making assumptions how the page tables it is started with are being allocated. Especially it is using the number of page table frames to calculate which is the first unmapped pfn. Instead of relying on page table number assumptions just look into the page tables to find the first

Re: [Xen-devel] [PATCH v3] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Andrew Cooper
On 19/11/15 13:19, Paul Durrant wrote: > @@ -561,10 +584,81 @@ int viridian_hypercall(struct cpu_user_regs *regs) > switch ( input.call_code ) > { > case HvNotifyLongSpinWait: > +/* > + * See Microsoft Hypervisor Top Level Spec. section 18.5.1. > + */ >

[Xen-devel] [PATCH] libxl: correct bug in domain builder regarding page tables for pvh

2015-11-19 Thread Juergen Gross
Commit 81a76e4b12961a9f54f5021809074196dfe6dbba ("libxc: rework of domain builder's page table handler") dropped a special case for pvh resulting in page tables being mapped read-only. This led to a panic of the domain in early boot. Correct this error. Signed-off-by: Juergen Gross --- tools/li

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

2015-11-19 Thread Stefano Stabellini
On Thu, 19 Nov 2015, Paolo Bonzini wrote: > On 19/11/2015 16:32, Stefano Stabellini wrote: > > > In addition to Kevin's replies, I have a high-level question: can VFIO > > > be used by QEMU for both KVM and Xen? > > > > No. VFIO cannot be used with Xen today. When running on Xen, the IOMMU > > is

Re: [Xen-devel] [Minios-devel] [PATCH v4 0/] Begin to disentangle libxenctrl and provide some stable libraries

2015-11-19 Thread Stefano Stabellini
On Wed, 21 Oct 2015, Ian Campbell wrote: > (Trimming CCs a bit) > > On Wed, 2015-10-21 at 16:22 +0100, Ian Campbell wrote: > > > [...] > > Still to come would be libraries for specific out of tree purposes > > (device model, kexec), which would be adding new library at the same > > level as libxc

Re: [Xen-devel] 9p file system for xen

2015-11-19 Thread Linda
Hi Wei, On 11/19/2015 8:03 AM, Wei Liu wrote: On Thu, Nov 19, 2015 at 09:55:00AM -0500, Neil Sikka wrote: Is there any documentation about planned interfaces and API contracts for people building around the virtio/9pfs layers? For example, while this is I assume that you're interested in getti

Re: [Xen-devel] [PATCH] libxl: correct bug in domain builder regarding page tables for pvh

2015-11-19 Thread Wei Liu
On Thu, Nov 19, 2015 at 05:11:08PM +0100, Juergen Gross wrote: > Commit 81a76e4b12961a9f54f5021809074196dfe6dbba ("libxc: rework of > domain builder's page table handler") dropped a special case for pvh > resulting in page tables being mapped read-only. This led to a panic > of the domain in early

Re: [Xen-devel] [PATCH] tools/libxc: Correct XC_DOM_PAGE_SIZE() to return a long long

2015-11-19 Thread Wei Liu
On Thu, Nov 19, 2015 at 02:45:41PM +, Andrew Cooper wrote: > c/s abdf3c5b "libxc: create p2m list outside of kernel mapping if supported" > introduces a use which Coverity objects to; an int used to mask a uint64_t. > > The result needs to be signed to allow ~XC_DOM_PAGE_SIZE() to function $

Re: [Xen-devel] [PATCH v3] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: 19 November 2015 16:07 > To: Paul Durrant; xen-de...@lists.xenproject.org > Cc: Ian Jackson; Stefano Stabellini; Ian Campbell; Wei Liu; Keir (Xen.org); > Jan > Beulich > Subject: Re: [PATCH v3] x86/hvm/vi

Re: [Xen-devel] [PATCH] tools/libxc: Correct XC_DOM_PAGE_SIZE() to return a long long

2015-11-19 Thread Andrew Cooper
On 19/11/15 16:50, Wei Liu wrote: > On Thu, Nov 19, 2015 at 02:45:41PM +, Andrew Cooper wrote: >> c/s abdf3c5b "libxc: create p2m list outside of kernel mapping if supported" >> introduces a use which Coverity objects to; an int used to mask a uint64_t. >> >> The result needs to be signed to al

Re: [Xen-devel] [Minios-devel] [PATCH v4 0/] Begin to disentangle libxenctrl and provide some stable libraries

2015-11-19 Thread Ian Campbell
On Thu, 2015-11-19 at 16:20 +, Stefano Stabellini wrote: I'll just answer this bit, since it ties into your other answers, I think. > Does the Xen<->libxc interface need to be stable for libxendevicemodel > to have a stable ABI? We could: 1) support multiple versions of Xen in a single libr

[Xen-devel] [PATCH v4] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
The Microsoft Hypervisor Top Level Functional Spec. (section 3.4) defines two bits in CPUID leaf 0x4004:EAX for the hypervisor to recommend whether or not to issue a hypercall for local or remote TLB flush. Whilst it's doubtful whether using a hypercall for local TLB flush would be any more ef

Re: [Xen-devel] [PATCH v3] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Andrew Cooper
On 19/11/15 16:57, Paul Durrant wrote: >> -Original Message- >> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] >> Sent: 19 November 2015 16:07 >> To: Paul Durrant; xen-de...@lists.xenproject.org >> Cc: Ian Jackson; Stefano Stabellini; Ian Campbell; Wei Liu; Keir (Xen.org); >> Jan >

Re: [Xen-devel] [PATCH v2] x86/PoD: tighten conditions for checking super page

2015-11-19 Thread George Dunlap
On 09/11/15 14:48, Jan Beulich wrote: > Since calling the function isn't cheap, try to avoid the call when we > know up front it won't help; see the code comment for details on those > conditions. > > Signed-off-by: Jan Beulich Reviewed-by: George Dunlap Sorry for the delay. ___

Re: [Xen-devel] [PATCH] x86/P2M: consolidate handling of types not requiring a valid MFN

2015-11-19 Thread George Dunlap
On 09/11/15 14:52, Jan Beulich wrote: > As noted regarding the mixture of checks in p2m_pt_set_entry(), > introduce an new P2M type group allowing to be used everywhere we > just care about accepting operations with either a valid MFN or a type > permitting to be used without (valid) MFN. > > Note

[Xen-devel] [PATCH RFC] x86/traps: Improve hypervisor stack overflow detection

2015-11-19 Thread Andrew Cooper
A sample Gentoo compliation of Xen contains lea-0x1058(%rsp),%rsp orq$0x0,(%rsp) lea0x1020(%rsp),%rsp Whatever the reason for silly code like this, it fools the current stack overflow detection logic in the #DF handler (which triggers reliably on the 'orq' instruction). U

Re: [Xen-devel] [PATCH RFC] x86/traps: Improve hypervisor stack overflow detection

2015-11-19 Thread Andrew Cooper
On 19/11/15 17:34, Andrew Cooper wrote: > A sample Gentoo compliation of Xen contains > > lea-0x1058(%rsp),%rsp > orq$0x0,(%rsp) > lea0x1020(%rsp),%rsp > > Whatever the reason for silly code like this, it fools the current stack > overflow detection logic in the #DF handler

Re: [Xen-devel] [PATCH] libxl: correct bug in domain builder regarding page tables for pvh

2015-11-19 Thread Boris Ostrovsky
On 11/19/2015 11:45 AM, Wei Liu wrote: On Thu, Nov 19, 2015 at 05:11:08PM +0100, Juergen Gross wrote: Commit 81a76e4b12961a9f54f5021809074196dfe6dbba ("libxc: rework of domain builder's page table handler") dropped a special case for pvh resulting in page tables being mapped read-only. This led

[Xen-devel] [linux-linus test] 64733: regressions - trouble: blocked/broken/fail/pass

2015-11-19 Thread osstest service owner
flight 64733 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/64733/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvops 3 host-install(3) broken REGR. vs. 59254 build-amd64-rumpuserx

[Xen-devel] [xen-unstable-smoke test] 64861: tolerable all pass - PUSHED

2015-11-19 Thread osstest service owner
flight 64861 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/64861/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

Re: [Xen-devel] HVM domains crash after upgrade from XEN 4.5.1 to 4.5.2

2015-11-19 Thread Atom2
Am 19.11.15 um 11:38 schrieb Andrew Cooper: On 19/11/15 10:24, Jan Beulich wrote: On 19.11.15 at 00:17, wrote: The disassembly of do_IRQ now looks like a plausible function, but the consistently faulting address has no plausible way of generating a double fault. I suspect therefore that somet

Re: [Xen-devel] HVM domains crash after upgrade from XEN 4.5.1 to 4.5.2

2015-11-19 Thread Atom2
Am 19.11.15 um 02:06 schrieb Andrew Cooper: Thanks! That is what I was looking for. Sadly, it is less useful than I was hoping. The guest is not appearing to do anything interesting which causes the bad state; it is almost a full second between the previous action of note, and the crash. Can y

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

2015-11-19 Thread Alex Williamson
Hi Kevin, On Thu, 2015-11-19 at 04:06 +, Tian, Kevin wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, November 19, 2015 2:12 AM > > > > [cc +qemu-devel, +paolo, +gerd] > > > > On Tue, 2015-10-27 at 17:25 +0800, Jike Song wrote: > > > Hi all, > > > > >

[Xen-devel] [linux-linus bisection] complete test-amd64-amd64-xl-pvh-amd

2015-11-19 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-amd64-xl-pvh-amd testid xen-boot Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git

[Xen-devel] [PATCH v2 0/3] Fix and cleanup for 32-bit PV sysexit

2015-11-19 Thread Boris Ostrovsky
The first patch fixes Xen PV regression introduced by 32-bit rewrite. Unlike the earlier version it uses ALTERNATIVE instruction and avoids using xen_sysexit (and sysret32 in compat mode) pv ops, as suggested by Andy. As result of this patch irq_enable_sysexit and usergs_sysret32 pv ops are not us

[Xen-devel] [PATCH v2 3/3] x86: usergs_sysret32 pv op is no longer needed

2015-11-19 Thread Boris Ostrovsky
As result of commit "x86/xen: Avoid fast syscall path for Xen PV guests" usergs_sysret32 pv op is not called by Xen PV guests anymore and since they were the only ones who used it we can safely remove it. Signed-off-by: Boris Ostrovsky --- arch/x86/entry/entry_64_compat.S | 10 ++ a

[Xen-devel] [PATCH v2 1/3] x86/xen: Avoid fast syscall path for Xen PV guests

2015-11-19 Thread Boris Ostrovsky
After 32-bit syscall rewrite, and specifically after commit 5f310f739b4c ("x86/entry/32: Re-implement SYSENTER using the new C path"), the stack frame that is passed to xen_sysexit is no longer a "standard" one (i.e. it's not pt_regs). Since we end up calling xen_iret from xen_sysexit we don't nee

[Xen-devel] [PATCH v2 2/3] x86: irq_enable_sysexit pv op is no longer needed

2015-11-19 Thread Boris Ostrovsky
As result of commit "x86/xen: Avoid fast syscall path for Xen PV guests" irq_enable_sysexit pv op is not called by Xen PV guests anymore and since they were the only ones who used it we can safely remove it. Signed-off-by: Boris Ostrovsky --- arch/x86/entry/entry_32.S | 8 ++--

Re: [Xen-devel] [PATCH v2 0/3] Fix and cleanup for 32-bit PV sysexit

2015-11-19 Thread Andy Lutomirski
On Thu, Nov 19, 2015 at 1:55 PM, Boris Ostrovsky wrote: > The first patch fixes Xen PV regression introduced by 32-bit rewrite. Unlike > the > earlier version it uses ALTERNATIVE instruction and avoids using xen_sysexit > (and sysret32 in compat mode) pv ops, as suggested by Andy. > > As result o

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

2015-11-19 Thread osstest service owner
flight 64750 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/64750/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rumpuserxen-i386 10 guest-start fail REGR. vs. 64035 test-amd64-amd64-i38

Re: [Xen-devel] [PATCH v2 0/3] Fix and cleanup for 32-bit PV sysexit

2015-11-19 Thread Borislav Petkov
On Thu, Nov 19, 2015 at 04:55:44PM -0500, Boris Ostrovsky wrote: > The first patch fixes Xen PV regression introduced by 32-bit rewrite. Unlike > the > earlier version it uses ALTERNATIVE instruction and avoids using xen_sysexit > (and sysret32 in compat mode) pv ops, as suggested by Andy. > > As

Re: [Xen-devel] [PATCH seabios.git rel-1.7.5] fix release-1.7.5 for gcc5

2015-11-19 Thread Luis R. Rodriguez
On Fri, Oct 9, 2015 at 12:34 AM, Jan Beulich wrote: On 08.10.15 at 21:36, wrote: >> Signed-off-by: Mark Pryor > > Without any description I cannot see what is being fixed here, or why > there are _different_ comment changes on the inclusion of the same > comment. Since I assume that whateve

  1   2   >