Re: [Xen-devel] [linux-3.10 bisection] complete test-amd64-i386-rumpuserxen-i386

2015-12-15 Thread Juergen Gross
On 15/12/15 08:24, osstest service owner wrote: > branch xen-unstable > xenbranch xen-unstable > job test-amd64-i386-rumpuserxen-i386 > testid guest-start > > Tree: linux > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > Tree: linuxfirmware git://xenbits.xen.org/osstest/li

[Xen-devel] [linux-3.10 test] 66308: regressions - FAIL

2015-12-15 Thread osstest service owner
flight 66308 linux-3.10 real [real] http://logs.test-lab.xenproject.org/osstest/logs/66308/ 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. 64456 Tests which are failin

Re: [Xen-devel] [V3 PATCH 7/9] x86/hvm: pkeys, add pkeys support for guest_walk_tables

2015-12-15 Thread Han, Huaitong
On Fri, 2015-12-11 at 02:26 -0700, Jan Beulich wrote: > > > > On 10.12.15 at 19:19, wrote: > > On 07/12/15 09:16, Huaitong Han wrote: > > > +if ( likely(!pte_pkeys) ) > > > +return 0; > > > + > > > +/* Update vcpu xsave area */ > > > +fpu_xsave(vcpu); > > > > Is there a reason

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Xu, Quan
>On 14.12.2015 at 5:28pm, wrote: > >>> On 12.12.15 at 14:21, wrote: > > --- a/xen/drivers/passthrough/vtd/iommu.c > > +++ b/xen/drivers/passthrough/vtd/iommu.c > > @@ -1890,6 +1890,9 @@ static int intel_iommu_add_device(u8 devfn, struct > pci_dev *pdev) > > if ( !pdev->domain ) > >

Re: [Xen-devel] [PATCH v3 1/2] VT-d: Reduce spin timeout to 1ms, which can be boot-time changed.

2015-12-15 Thread Xu, Quan
> On 14.12.2015 at 5:14pm, wrote: > >>> On 12.12.15 at 14:21, wrote: > > @@ -167,10 +172,12 @@ static int queue_invalidate_wait(struct iommu > *iommu, > > start_time = NOW(); > > while ( poll_slot != QINVAL_STAT_DONE ) > > { > > -if ( NOW() > (start_time + D

Re: [Xen-devel] [PATCH] x86_emulate: Always truncate %eip out of long mode

2015-12-15 Thread Jan Beulich
>>> On 10.12.15 at 21:03, wrote: > --- a/xen/arch/x86/x86_emulate/x86_emulate.c > +++ b/xen/arch/x86/x86_emulate/x86_emulate.c > @@ -570,8 +570,10 @@ do{ asm volatile ( >\ > /* Fetch next part of the instruction being emulated. */ > #define

Re: [Xen-devel] [V3 PATCH 7/9] x86/hvm: pkeys, add pkeys support for guest_walk_tables

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 09:14, wrote: > On Fri, 2015-12-11 at 02:26 -0700, Jan Beulich wrote: >> > > > On 10.12.15 at 19:19, wrote: >> > On 07/12/15 09:16, Huaitong Han wrote: >> > > +if ( likely(!pte_pkeys) ) >> > > +return 0; >> > > + >> > > +/* Update vcpu xsave area */ >> > > +

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 09:15, wrote: >> On 14.12.2015 at 5:28pm, wrote: >> >>> On 12.12.15 at 14:21, wrote: >> > --- a/xen/drivers/passthrough/vtd/iommu.c >> > +++ b/xen/drivers/passthrough/vtd/iommu.c >> > @@ -1890,6 +1890,9 @@ static int intel_iommu_add_device(u8 devfn, struct >> pci_dev *pdev) >>

Re: [Xen-devel] [PATCH v3 1/2] VT-d: Reduce spin timeout to 1ms, which can be boot-time changed.

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 09:35, wrote: >> On 14.12.2015 at 5:14pm, wrote: >> >>> On 12.12.15 at 14:21, wrote: >> > @@ -167,10 +172,12 @@ static int queue_invalidate_wait(struct iommu >> *iommu, >> > start_time = NOW(); >> > while ( poll_slot != QINVAL_STAT_DONE ) >> > { >>

Re: [Xen-devel] [PATCH OSSTEST] Debian: Support runvar to set flask mode

2015-12-15 Thread Ian Campbell
On Mon, 2015-12-14 at 18:58 +, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST] Debian: Support runvar to set flask > mode"): > > Currently it is hardcoding to enforcing but it might be useful to > > run with e.g.  permissive or even disabled (aka dummy mode) > ... > > --- a/overlay/e

Re: [Xen-devel] [linux-3.10 bisection] complete test-amd64-i386-rumpuserxen-i386

2015-12-15 Thread Juergen Gross
On 15/12/15 08:59, Juergen Gross wrote: > On 15/12/15 08:24, osstest service owner wrote: >> branch xen-unstable >> xenbranch xen-unstable >> job test-amd64-i386-rumpuserxen-i386 >> testid guest-start >> >> Tree: linux >> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git >> Tre

Re: [Xen-devel] [linux-3.10 bisection] complete test-amd64-i386-rumpuserxen-i386

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 08:59 +0100, Juergen Gross wrote: >   commit 81a76e4b12961a9f54f5021809074196dfe6dbba > >   Author: Juergen Gross > >   Date:   Thu Nov 12 14:43:35 2015 +0100 > >   > >   libxc: rework of domain builder's page table handler > >    > >  > Hmm, reminds me of the proble

[Xen-devel] [linux-4.1 baseline-only test] 38510: regressions - FAIL

2015-12-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38510 linux-4.1 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38510/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-pygrub 19 guest-start.2

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

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 15:18 +, osstest service owner wrote: > flight 65654 libvirt real [real] > http://logs.test-lab.xenproject.org/osstest/logs/65654/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: >  test-amd64-amd64-libvirt-

[Xen-devel] [linux-4.1 bisection] complete test-amd64-i386-rumpuserxen-i386

2015-12-15 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-rumpuserxen-i386 testid guest-start Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/qemu-xen-tradi

Re: [Xen-devel] [PATCH v3 1/2] VT-d: Reduce spin timeout to 1ms, which can be boot-time changed.

2015-12-15 Thread Xu, Quan
>On 15.12.2015 at 5:18pm, wrote: > >>> On 15.12.15 at 09:35, wrote: > >> On 14.12.2015 at 5:14pm, wrote: > >> >>> On 12.12.15 at 14:21, wrote: > >> > @@ -167,10 +172,12 @@ static int queue_invalidate_wait(struct iommu > >> *iommu, > >> > start_time = NOW(); > >> > while ( pol

Re: [Xen-devel] [PATCH v3 4/4] xen/arm: p2m: Remove translation table when it's empty

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-01 at 17:52 +, Julien Grall wrote: > Currently, the translation table is left in place even if no entries is "are in use" (in fact s/inuse/in use/ throughout. > inuse. Because of how the p2m code has been implemented, replacing a > translation table by a block (i.e superpage)

Re: [Xen-devel] [PATCH 1/4] xen/arm: io: handle_read: Use a local variable to store dabt

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 15:28 +, Julien Grall wrote: > Rather than getting dabt every time through info->dabt, introduce a > local variable and use it. > > Also fix a coding style error in the if condition. > > Signed-off-by: Julien Grall Acked-by: Ian Campbell > --- >  xen/arch/arm/io.c |

Re: [Xen-devel] [PATCH 3/4] xen/arm: vtimer: Introduce vtimer_emulate_sysreg{32, 64}

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 15:28 +, Julien Grall wrote: > Factorize the code to emulate a a 32-bit/64-bit sysreg in specific > helpers. > > While this is currently not necessary, it will be helpful in a following > patch to handle properly some registers. Looks like it would be potentially be usef

Re: [Xen-devel] [PATCH 2/4] xen/arm64: Document the register mapping aarch64 <-> aarch32

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 15:28 +, Julien Grall wrote: > The mapping between aarch64 and aarch32 has not been chosen in random. > It's based on D1.20.1 in ARM DDI 0487A.d. > > The section is not obvious to find in the spec, so make it clear for the > anyone else. > > Signed-off-by: Julien Grall

Re: [Xen-devel] [PATCH 3/4] xen/arm: vtimer: Introduce vtimer_emulate_sysreg{32, 64}

2015-12-15 Thread Julien Grall
Hi Ian, On 15/12/15 10:38, Ian Campbell wrote: > On Fri, 2015-12-11 at 15:28 +, Julien Grall wrote: >> Factorize the code to emulate a a 32-bit/64-bit sysreg in specific >> helpers. >> >> While this is currently not necessary, it will be helpful in a following >> patch to handle properly some

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Xu, Quan
> On 15.12.2015 at 5:17pm, wrote: > >>> On 15.12.15 at 09:15, wrote: > >> On 14.12.2015 at 5:28pm, wrote: > >> >>> On 12.12.15 at 14:21, wrote: > >> > --- a/xen/drivers/passthrough/vtd/iommu.c > >> > +++ b/xen/drivers/passthrough/vtd/iommu.c > >> > @@ -1890,6 +1890,9 @@ static int intel_iommu_a

Re: [Xen-devel] [PATCH v3 4/4] xen/arm: p2m: Remove translation table when it's empty

2015-12-15 Thread Julien Grall
Hi Ian, On 15/12/15 10:25, Ian Campbell wrote: > On Tue, 2015-12-01 at 17:52 +, Julien Grall wrote: >> Currently, the translation table is left in place even if no entries is > > "are in use" (in fact s/inuse/in use/ throughout. > >> inuse. Because of how the p2m code has been implemented, r

Re: [Xen-devel] [PATCH V11 2/5] libxl_utils: add internal function to read sysfs file contents

2015-12-15 Thread George Dunlap
On 15/12/15 05:54, Chunyan Liu wrote: > Add a new function libxl_read_sysfs_file_contents to handle sysfs file > specially. It would be used in later pvusb work. > > Signed-off-by: Chunyan Liu > --- > tools/libxl/libxl_internal.h | 4 +++ > tools/libxl/libxl_utils.c| 77 > +

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

2015-12-15 Thread osstest service owner
flight 66307 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/66307/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 5 xen-buildfail in 65791 REGR. vs. 65635 Tests which are fail

Re: [Xen-devel] [PATCH 4/4] xen/arm64: Emulate correctly the register {w, x}zr

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 15:28 +, Julien Grall wrote: > On AArch64, the encoding 31 could be used to represent {x,w}sp or > {x,w}zr (See C1.2.4 in ARM DDI 0486A.d). The choice will depend how the > register field is interpreted by the instruction. > > All the instructions trapped by Xen (either v

Re: [Xen-devel] [PATCH V11 3/5] libxl: add pvusb API

2015-12-15 Thread George Dunlap
On 15/12/15 05:54, Chunyan Liu wrote: > Add pvusb APIs, including: > - attach/detach (create/destroy) virtual usb controller. > - attach/detach usb device > - list usb controller and usb devices > - some other helper functions > > Signed-off-by: Chunyan Liu > Signed-off-by: Simon Cao > Signe

Re: [Xen-devel] [PATCH 4/4] xen/arm64: Emulate correctly the register {w, x}zr

2015-12-15 Thread Julien Grall
Hi Ian, On 15/12/15 11:10, Ian Campbell wrote: > On Fri, 2015-12-11 at 15:28 +, Julien Grall wrote: >> On AArch64, the encoding 31 could be used to represent {x,w}sp or >> {x,w}zr (See C1.2.4 in ARM DDI 0486A.d). The choice will depend how the >> register field is interpreted by the instructio

Re: [Xen-devel] [PATCH v2 2/4] libxc: support of linear p2m list for migration of pv-domains

2015-12-15 Thread Andrew Cooper
On 15/12/15 06:33, Juergen Gross wrote: > In order to be able to migrate pv-domains with more than 512 GB of RAM > the p2m information can be specified by the guest kernel via a virtual > mapped linear p2m list instead of a 3 level tree. > > Add support for this new p2m format in libxc. > > As the

Re: [Xen-devel] [PATCH 4/4] xen/arm64: Emulate correctly the register {w, x}zr

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 11:41 +, Julien Grall wrote: > Hi Ian, Thanks for the replies, I think mostly adding the further exposition from this thread to the commit message would make this patch OK. > > On 15/12/15 11:10, Ian Campbell wrote: > > On Fri, 2015-12-11 at 15:28 +, Julien Grall wro

Re: [Xen-devel] [PATCH v2 3/4] libxc: stop migration in case of p2m list structural changes

2015-12-15 Thread Andrew Cooper
On 15/12/15 06:33, Juergen Gross wrote: > With support of the virtual mapped linear p2m list for migration it is > now possible to detect structural changes of the p2m list which before > would either lead to a crashing or otherwise wrong behaving domU. > > A guest supporting the linear p2m list wi

Re: [Xen-devel] [PATCH v2 4/4] libxc: set flag for support of linear p2m list in domain builder

2015-12-15 Thread Andrew Cooper
On 15/12/15 06:33, Juergen Gross wrote: > Set the SIF_VIRT_P2M_4TOOLS flag for pv-domUs in the domain builder > to indicate the Xen tools have full support for the virtual mapped > linear p2m list. > > This will enable pv-domUs to drop support of the 3 level p2m tree > and use the linear list only.

[Xen-devel] [linux-3.14 baseline-only test] 38511: regressions - trouble: broken/fail/pass

2015-12-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38511 linux-3.14 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38511/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-pygrub 3 host-install(3)

[Xen-devel] [PATCH OSSTEST] Add a weekly coverity flight

2015-12-15 Thread Ian Campbell
This primarily consists of ts-coverity-scan and make-coverity-flight which constructs the sole job. The most recently scanned revision is pushed to a new coverity-scanned branch in the usual xen.git, tests are run on the master branch. Move collectversions into Osstest::BuildSupport rather than d

Re: [Xen-devel] [PATCH RFC 0/3] Xen on Virtio

2015-12-15 Thread Stefano Stabellini
On Mon, 14 Dec 2015, Andy Lutomirski wrote: > On Mon, Dec 14, 2015 at 6:12 AM, Michael S. Tsirkin wrote: > > On Mon, Dec 14, 2015 at 02:00:05PM +, David Vrabel wrote: > >> On 07/12/15 16:19, Stefano Stabellini wrote: > >> > Hi all, > >> > > >> > this patch series introduces support for running

Re: [Xen-devel] [PATCH] tools: always enable HAS_MEM_ACCESS

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 10:00 -0600, Doug Goldstein wrote: > For all supported targets HAS_MEM_ACCESS is enabled so this drops the > conditional and always makes it enabled. The goal here is to remove the > setting in the top level config directory when kconfig changes land. > > Signed-off-by: Doug

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Xu, Quan
> On 15.12.2015 at 5:17pm, wrote: > >>> On 15.12.15 at 09:15, wrote: > >> On 14.12.2015 at 5:28pm, wrote: > >> >>> On 12.12.15 at 14:21, wrote: > >> > --- a/xen/drivers/passthrough/vtd/iommu.c > >> > +++ b/xen/drivers/passthrough/vtd/iommu.c > >> > @@ -1890,6 +1890,9 @@ static int intel_iommu_a

Re: [Xen-devel] [PATCH 3/9] xenstore: install init-xenstore-domain via make install

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > The program init-xenstore-domain to start a xenstore domain instead > of the xenstored daemon is built, but not installed. Change that. > > Signed-off-by: Juergen Gross Acked-by: Ian Campbell CCing Daniel too since he has an interest in

Re: [Xen-devel] [PATCH 5/9] xenstore: modify init-xenstore-domain parameter syntax

2015-12-15 Thread Ian Campbell
+Daniel On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > init-xenstore-domain takes only positional parameters today. Change > this to a more flexible parameter syntax allowing to specify additional > options or to omit some. > > Today the supported usage is: > > init-xenstore-domain

Re: [Xen-devel] [PATCH 4/9] xenstore: add error messages to init-xenstore-domain

2015-12-15 Thread Ian Campbell
Adding Daniel again. On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > Additional add some diagnostic messages to the program to have an idea > why it failed. [...] >  err: >   if (dom) >   xc_dom_release(dom); > + if (domid >= 0) > + xc_domain_destroy(xch,

Re: [Xen-devel] [PATCH 7/9] xenstore: add init-xenstore-domain parameter to specify cmdline

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > Add a parameter to init-xenstore-domain for support of arbitrary > parameters for the xenstore domain. > > Signed-off-by: Juergen Gross > --- >  tools/xenstore/init-xenstore-domain.c | 21 - >  1 file changed, 16 inserti

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Xu, Quan
> On 15.12.2015 at 5:17pm, wrote: > >>> On 15.12.15 at 09:15, wrote: > >> On 14.12.2015 at 5:28pm, wrote: > >> >>> On 12.12.15 at 14:21, wrote: > >> > @@ -88,6 +89,16 @@ struct pci_dev { #define for_each_pdev(domain, > >> > pdev) \ > >> > list_for_each_entry(pdev, &(domain->arch.pdev_l

Re: [Xen-devel] [PATCH 8/9] xenstore: write xenstore domain data to xenstore

2015-12-15 Thread Juergen Gross
On 15/12/15 13:26, Ian Campbell wrote: > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: >> After starting the xenstore domain write the basic data (domid and >> name) to the xenstore. >> >> Add a new option to init-xenstore-domain to be able to specify the >> domain's name. > > Is all thi

Re: [Xen-devel] [PATCH 6/9] xenstore: don't start xenstore domain if already one is active

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 13:28 +0100, Juergen Gross wrote: > On 15/12/15 13:23, Ian Campbell wrote: > > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > > > Don't start a new xenstore domain in case one is already detected to > > > be running. > > > > > > Signed-off-by: Juergen Gross > > >

Re: [Xen-devel] [PATCH] xen: arm: Drop trailing ; from DEFINE_XEN_GUEST_HANDLE

2015-12-15 Thread Ian Campbell
On Mon, 2015-12-14 at 09:41 -0700, Jan Beulich wrote: > > > > On 14.12.15 at 17:21, wrote: > > This is always present at the point of use, which with -pedantic > > provokes: > > > > error: ISO C does not allow extra ';' outside of a function [- > > Werror=edantic] > > > > Signed-off-by: Ian Camp

Re: [Xen-devel] [PATCH 3/9] xenstore: install init-xenstore-domain via make install

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 13:19 +0100, Juergen Gross wrote: > On 15/12/15 13:16, Ian Campbell wrote: > > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > > > The program init-xenstore-domain to start a xenstore domain instead > > > of the xenstored daemon is built, but not installed. Change th

Re: [Xen-devel] [PATCH v1 2/2] libxl: re-implement libxl__xs_printf()

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 12:29 +, Ian Campbell wrote: > On Tue, 2015-12-08 at 17:04 +, Ian Campbell wrote: > > On Wed, 2015-12-02 at 15:22 +, Paul Durrant wrote: > > > > -Original Message- > > > > From: Ian Campbell [mailto:ian.campb...@citrix.com] > > > > Sent: 02 December 2015 15

Re: [Xen-devel] [PATCH v3 0/4] xen/arm: p2m: Add support to remove empty translation table

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-01 at 17:52 +, Julien Grall wrote: >  > Julien Grall (4): >   xen/arm: p2m: Flush for every exit paths in apply_p2m_changes >   xen/arm: p2m: Store the page for each mapping >   xen/arm: p2m: Introduce a helper to remove an entry in the page table >   xen/arm: p2m: Remove transl

Re: [Xen-devel] [PATCH 9/9] xenstore: when running in mini-os use printk for diagnostic messages

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > Xenstore messages for diagnostic purposes are lost today in case > xenstore is running under mini-os instead in a dom0 daemon. Where does vfprintf end up under mini-os?  > Use printk of mini-os in this situation. and this now ends up on t

Re: [Xen-devel] [PATCH 6/9] xenstore: don't start xenstore domain if already one is active

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > Don't start a new xenstore domain in case one is already detected to > be running. > > Signed-off-by: Juergen Gross > --- >  tools/xenstore/init-xenstore-domain.c | 25 +++-- >  1 file changed, 23 insertions(+), 2 deleti

Re: [Xen-devel] [PATCH 8/9] xenstore: write xenstore domain data to xenstore

2015-12-15 Thread Ian Campbell
On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > After starting the xenstore domain write the basic data (domid and > name) to the xenstore. > > Add a new option to init-xenstore-domain to be able to specify the > domain's name. Is all this enough to keep "xl list" etc happy? Do we need

Re: [Xen-devel] [PATCH 6/9] xenstore: don't start xenstore domain if already one is active

2015-12-15 Thread Juergen Gross
On 15/12/15 13:23, Ian Campbell wrote: > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: >> Don't start a new xenstore domain in case one is already detected to >> be running. >> >> Signed-off-by: Juergen Gross >> --- >> tools/xenstore/init-xenstore-domain.c | 25 +++--

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 12:42, wrote: On 15.12.15 at 11:24, wrote: > >> On 15.12.2015 at 5:17pm, wrote: > >> >>> On 15.12.15 at 09:15, wrote: > >> >> On 14.12.2015 at 5:28pm, wrote: > >> >> >>> On 12.12.15 at 14:21, wrote: > >> >> > --- a/xen/drivers/passthrough/vtd/iommu.c > >> >> > +++ b/x

Re: [Xen-devel] [PATCH 6/9] xenstore: don't start xenstore domain if already one is active

2015-12-15 Thread Juergen Gross
On 15/12/15 13:32, Ian Campbell wrote: > On Tue, 2015-12-15 at 13:28 +0100, Juergen Gross wrote: >> On 15/12/15 13:23, Ian Campbell wrote: >>> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: Don't start a new xenstore domain in case one is already detected to be running.

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 13:23, wrote: >> On 15.12.2015 at 5:17pm, wrote: >> >>> On 15.12.15 at 09:15, wrote: >> >> On 14.12.2015 at 5:28pm, wrote: >> >> >>> On 12.12.15 at 14:21, wrote: >> >> > @@ -88,6 +89,16 @@ struct pci_dev { #define for_each_pdev(domain, >> >> > pdev) \ >> >> > list_for_

Re: [Xen-devel] [PATCH 9/9] xenstore: when running in mini-os use printk for diagnostic messages

2015-12-15 Thread Juergen Gross
On 15/12/15 13:52, Ian Campbell wrote: > On Tue, 2015-12-15 at 13:47 +0100, Juergen Gross wrote: >> On 15/12/15 13:31, Ian Campbell wrote: >>> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: Xenstore messages for diagnostic purposes are lost today in case xenstore is running under

Re: [Xen-devel] [PATCH 6/9] xenstore: don't start xenstore domain if already one is active

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 13:40 +0100, Juergen Gross wrote: > On 15/12/15 13:32, Ian Campbell wrote: > > On Tue, 2015-12-15 at 13:28 +0100, Juergen Gross wrote: > > > On 15/12/15 13:23, Ian Campbell wrote: > > > > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > > > > > Don't start a new xenst

Re: [Xen-devel] [PATCH 8/9] xenstore: write xenstore domain data to xenstore

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 13:34 +0100, Juergen Gross wrote: > On 15/12/15 13:26, Ian Campbell wrote: > > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > > > After starting the xenstore domain write the basic data (domid and > > > name) to the xenstore. > > > > > > Add a new option to init-xe

Re: [Xen-devel] [PATCH 9/9] xenstore: when running in mini-os use printk for diagnostic messages

2015-12-15 Thread Samuel Thibault
Ian Campbell, on Tue 15 Dec 2015 12:31:05 +, wrote: > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > > Xenstore messages for diagnostic purposes are lost today in case > > xenstore is running under mini-os instead in a dom0 daemon. > > Where does vfprintf end up under mini-os?  In

Re: [Xen-devel] [PATCH 9/9] xenstore: when running in mini-os use printk for diagnostic messages

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 13:47 +0100, Juergen Gross wrote: > On 15/12/15 13:31, Ian Campbell wrote: > > On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > > > Xenstore messages for diagnostic purposes are lost today in case > > > xenstore is running under mini-os instead in a dom0 daemon. > >

[Xen-devel] [PATCH v8 22/28] build: convert HAS_SCIF use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_SCIF defines in the code base. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- config/arm32.mk | 1 - xen/drivers/char/Kconfig | 9 + xen/drivers/

[Xen-devel] [PATCH v8 06/28] build: convert HAS_DEVICE_TREE use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_DEVICE_TREE defines in the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Jan Beulich CC: Daniel De Graaf Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/Rules.mk | 1 - xen/arch/arm/Kconfig | 1 + xen/

[Xen-devel] [PATCH v8 08/28] build: convert HAS_NS16550 use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_NS16550 defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- config/arm32.mk | 1 - config/arm64.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rul

[Xen-devel] [PATCH v8 18/28] build: convert HAS_CADENCE_UART use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_CADENCE_UART defines in the code base. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- config/arm64.mk | 1 - xen/drivers/char/Kconfig | 9 + xen/

[Xen-devel] [PATCH v8 15/28] build: convert HAS_PDX use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_PDX defines in the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/Rules.mk | 1 - xen/arch/arm/Kconfig | 1 + xen/arch/arm/Rules.

[Xen-devel] [PATCH v8 05/28] build: convert HAS_PASSTHROUGH use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated HAS_PASSTHROUGH defines for the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Daniel De Graaf Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/Rules.mk| 1 - xen/arch/arm/K

[Xen-devel] [PATCH v8 10/28] build: convert HAS_ACPI use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_ACPI defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/Rules.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk| 1 - xen/common/sysctl.c

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Xu, Quan
> On 15.12.2015 at 8:32pm, wrote: > >>> On 15.12.15 at 12:42, wrote: > On 15.12.15 at 11:24, wrote: > > >> On 15.12.2015 at 5:17pm, wrote: > > >> >>> On 15.12.15 at 09:15, wrote: > > >> >> On 14.12.2015 at 5:28pm, wrote: > > >> >> >>> On 12.12.15 at 14:21, wrote: > > >> >> > --- a/xen/

[Xen-devel] [PATCH v8 28/28] build: convert CONFIG_COMPAT to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_COMPAT defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- config/x86_64.mk | 1 - xen/arch/x86/Kconfig | 7 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/x86_64.mk b/

Re: [Xen-devel] [PATCH v1 2/2] libxl: re-implement libxl__xs_printf()

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-08 at 17:04 +, Ian Campbell wrote: > On Wed, 2015-12-02 at 15:22 +, Paul Durrant wrote: > > > -Original Message- > > > From: Ian Campbell [mailto:ian.campb...@citrix.com] > > > Sent: 02 December 2015 15:21 > > > To: Paul Durrant; xen-de...@lists.xenproject.org > > >

[Xen-devel] [PATCH v8 14/28] build: convert HAS_GDBSX use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_GDBSX defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/Rules.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk | 1 - xen/common/Kconfig| 4

[Xen-devel] [PATCH v8 11/28] build: convert HAS_VIDEO use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_VIDEO defines in the code base. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/arch/arm/Kconfig | 1 + xen/arch/arm/Rules.mk | 1 - xen/arc

Re: [Xen-devel] [PATCH 8/9] xenstore: write xenstore domain data to xenstore

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 13:53 +0100, Juergen Gross wrote: >  > > mem-set too perhaps? > > Without mini-os supporting ballooning or memory hotplug up to now: > I don't think so. :-) Sure, but you'd get strange errors from mem-set rather than a try and fail, probably. Ian.

[Xen-devel] [PATCH v8 13/28] build: convert HAS_CPUFREQ use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_CPUFREQ defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Liu Jinsong Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/arch/x86/Kconfig| 1 + xen/arch/x86/Rules.mk | 1 - xen/drivers/Kconfig

Re: [Xen-devel] [PATCH v10 0/9] Introduce HVM without dm and new boot ABI

2015-12-15 Thread Jan Beulich
>>> On 07.12.15 at 17:48, wrote: > This are the remaining patches of the HVMlite series. They have been > successfully tested on the following hardware: > > - Intel Core i3-5010U. > - AMD Opteron 4184. > > With both hap=0 and hap=1 in the configuration file. I've been able to boot > a SMP gue

[Xen-devel] [PATCH v8 17/28] build: convert HAS_ARM_HDLCD use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_ARM_HDLCD defines in the code base. CC: Ian Campbell CC: Stefano Stabellini Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/arch/arm/Kconfig | 1 + xen/arch/arm/Rules.mk | 2 -- xen/drivers/video/Kconfig | 4 xen/drivers/video/

[Xen-devel] [PATCH v8 02/28] MAINTAINERS: add myself for kconfig

2015-12-15 Thread Doug Goldstein
Added myself as the maintainer of kconfig. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 01f575c..129cecc 100644 --- a/M

[Xen-devel] [PATCH v8 12/28] build: convert HAS_VGA use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_VGA defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- xen/arch/x86/Kconfig | 2 +- xen/arch/x86/Rules.mk | 1 - xen/drivers/video/Kconfig | 5 + xen/drivers/video/Makefile | 4 ++--

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Xu, Quan
> On 15.12.2015 at 8:30pm, wrote: > >>> On 15.12.15 at 13:23, wrote: > >> On 15.12.2015 at 5:17pm, wrote: > >> >>> On 15.12.15 at 09:15, wrote: > >> >> On 14.12.2015 at 5:28pm, wrote: > >> >> >>> On 12.12.15 at 14:21, wrote: > >> >> > @@ -88,6 +89,16 @@ struct pci_dev { #define > >> >> > for

[Xen-devel] [PATCH v8 20/28] build: convert HAS_EXYNOS4210 use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_EXYNOS4210 defines in the code base. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- config/arm32.mk | 1 - xen/drivers/char/Kconfig | 9 + xen/dr

[Xen-devel] [PATCH v8 07/28] build: convert HAS_PCI use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_PCI defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Daniel De Graaf Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/Rules.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rul

[Xen-devel] [PATCH v8 03/28] build: build Kconfig and config rules

2015-12-15 Thread Doug Goldstein
Wire in the Kconfig build and makefile rules to be able to generate valid configuration files to be used by the build process but don't actually use the output for affecting the Xen build. To avoid dragging in most of Kbuild from the Linux kernel this adds Makefile.kconfig which is our real entry p

[Xen-devel] [PATCH v8 26/28] build: convert HAS_MEM_SHARING use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_MEM_SHARING defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Razvan Cojocaru CC: Tamas K Lengyel CC: Daniel De Graaf Signed-off-by: Doug Goldstein Acked-by: Razvan Cojocaru --- config/x86_32.mk| 2 -- config/x86_6

[Xen-devel] [PATCH v8 16/28] build: convert HAS_KEXEC / KEXEC use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_KEXEC defines in the build system and replace kexec :=y in Rules.mk with a kconfig option called CONFIG_KEXEC. Purposefully did not merge the two variables together in this patch to keep this as mechanical as possible. CC: Ian Campbell CC: Ian Jackson CC: Kei

Re: [Xen-devel] [PATCH 9/9] xenstore: when running in mini-os use printk for diagnostic messages

2015-12-15 Thread Andrew Cooper
On 15/12/15 12:55, Juergen Gross wrote: > On 15/12/15 13:52, Ian Campbell wrote: >> On Tue, 2015-12-15 at 13:47 +0100, Juergen Gross wrote: >>> On 15/12/15 13:31, Ian Campbell wrote: On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote: > Xenstore messages for diagnostic purposes are los

Re: [Xen-devel] [PATCH 3/6] xen: Drop empty __cpuinit annotation

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 05:50 -0700, Jan Beulich wrote: > > > > On 27.11.15 at 20:58, wrote: > > Signed-off-by: Andrew Cooper > > --- > > CC: Jan Beulich > > CC: Ian Campbell > > CC: Stefano Stabellini > > Would one of you ack (or otherwise) the ARM bits here please? Acked-by: Ian Campbell O

[Xen-devel] [PATCH v8 21/28] build: convert HAS_OMAP use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_OMAP defines in the code base. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- config/arm32.mk | 1 - xen/drivers/char/Kconfig | 9 + xen/drivers/

[Xen-devel] [PATCH v8 00/28] Kconfig conversion

2015-12-15 Thread Doug Goldstein
The following series is a follow on to the Kconfig conversion patch series. There are still more components to convert however this is the bare minimal to get everything working and get the options out of the existing makefiles. The CONFIG_HAS_ variables are there to match the behavior of the Linu

Re: [Xen-devel] [PATCH v2 2/4] libxc: support of linear p2m list for migration of pv-domains

2015-12-15 Thread Andrew Cooper
On 15/12/15 12:14, Juergen Gross wrote: > On 15/12/15 12:52, Andrew Cooper wrote: >> On 15/12/15 06:33, Juergen Gross wrote: >>> In order to be able to migrate pv-domains with more than 512 GB of RAM >>> the p2m information can be specified by the guest kernel via a virtual >>> mapped linear p2m li

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 14:01, wrote: >> On 15.12.2015 at 8:32pm, wrote: >> >>> On 15.12.15 at 12:42, wrote: >> On 15.12.15 at 11:24, wrote: >> > >> On 15.12.2015 at 5:17pm, wrote: >> > >> >>> On 15.12.15 at 09:15, wrote: >> > >> >> On 14.12.2015 at 5:28pm, wrote: >> > >> >> >>> On 12.12.1

[Xen-devel] Question about VirtIO on Xen - Disk performance issues

2015-12-15 Thread Luca Tongiani
Hi to all, I'm writing you this mail for asking some advice about a great problem i'm havin in running a Windows VM (HVM) onto a Xen (Gentoo based) Hypevisor. I need to achieve maximum performance from this VM because of intense SQL tasks running in it. I've seen good improvement in IO on di

[Xen-devel] Xen /dev/mcelog registration in Linux

2015-12-15 Thread Marek Marczykowski-Górecki
Hi, Booting kernel with both CONFIG_X86_MCE=y and CONFIG_XEN_MCE_LOG=y results in "mce: Unable to init device /dev/mcelog (rc: -16)" error. I think that's because both drivers tries to register that character device (drivers/xen/mcelog.c: xen_late_init_mcelog; arch/x86/kernel/cpu/mcheck/mce.c: mch

Re: [Xen-devel] [PATCH v2 2/4] libxc: support of linear p2m list for migration of pv-domains

2015-12-15 Thread Juergen Gross
On 15/12/15 12:52, Andrew Cooper wrote: > On 15/12/15 06:33, Juergen Gross wrote: >> In order to be able to migrate pv-domains with more than 512 GB of RAM >> the p2m information can be specified by the guest kernel via a virtual >> mapped linear p2m list instead of a 3 level tree. >> >> Add suppor

[Xen-devel] [PATCH v8 09/28] build: convert HAS_IOPORTS use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_IOPORTS defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/Rules.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk | 1 - xen/common

Re: [Xen-devel] [PATCH v3 2/2] VT-d: Fix vt-d flush timeout issue.

2015-12-15 Thread Xu, Quan
> On 15.12.2015 at 9:44pm, wrote: > >>> On 15.12.15 at 14:31, wrote: > > Copy from pci_hide_device(), which is actually add device to dom_xen > > and add pdev->domain_list to dom_xen->arch.pdev_list. > > > > Quite similar, a second one only with proper justification, I can > > reassign Device for

Re: [Xen-devel] [PATCH v1 2/2] libxl: re-implement libxl__xs_printf()

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 13:52 +, Paul Durrant wrote: > > Specifically I have "[PATCH v2 0/3] libxl: xenstore related cleanup" and a > > precursor, but I think all of that has subsequently ended up as the two > > other series which already got applied, is that right? > > That's right. The 'xensto

Re: [Xen-devel] [PATCH v10 0/9] Introduce HVM without dm and new boot ABI

2015-12-15 Thread Ian Campbell
On Tue, 2015-12-15 at 15:08 +, Ian Campbell wrote: > On Tue, 2015-12-15 at 06:21 -0700, Jan Beulich wrote: > > > I've just applied 1-3, 5, and 6. 4 has been applied earlier. I'd > > appreciate if the last three (tools only) patches could be taken > > care of by a tools committer. > > All done

[Xen-devel] [PATCH v8 23/28] build: convert HAS_EHCI use to Kconfig

2015-12-15 Thread Doug Goldstein
Use the Kconfig generated CONFIG_HAS_EHCI defines in the code base. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Doug Goldstein --- xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk | 1 - xen/drivers/char/Kconfig | 7 +++ xen/drivers/char/Makefile | 2 +- 4

Re: [Xen-devel] [PATCH] x86/time: Don't use EFI's GetTime call by default

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 15:50, wrote: > On Tue, Dec 15, 2015 at 12:19:45AM -0700, Jan Beulich wrote: >> >>> On 08.12.15 at 12:02, wrote: >> > On Wed, 2015-12-02 at 02:33 -0700, Jan Beulich wrote: >> >> Then we should see about adding support for "efi=no-time". >> > >> > And based on what I'm reading

Re: [Xen-devel] [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-15 Thread Boris Ostrovsky
On 12/15/2015 10:03 AM, Jan Beulich wrote: On 15.12.15 at 15:36, wrote: On 12/14/2015 10:27 AM, Konrad Rzeszutek Wilk wrote: On Sat, Dec 12, 2015 at 07:25:55PM -0500, Boris Ostrovsky wrote: Using MMUEXT_TLB_FLUSH_MULTI doesn't buy us much since the hypervisor will likely perform same IPIs as

  1   2   3   >