[Xen-devel] [distros-debian-jessie test] 38641: tolerable FAIL

2016-01-15 Thread Platform Team regression test user
flight 38641 distros-debian-jessie real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38641/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-amd64-jessie-netboot-pvgrub 10 guest-startfail like 38603 Tests which did

Re: [Xen-devel] [Qemu-devel] [PATCH 2/2] xen-hvm: Clean up xen_ram_alloc() error handling

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Markus Armbruster wrote: > Stefano Stabellini writes: > > > On Thu, 14 Jan 2016, Markus Armbruster wrote: > >> xen_ram_alloc() dies with hw_error() on error, even though its caller > >> ram_block_add() handles errors just fine. Add an Error **errp > >> parameter and use it.

Re: [Xen-devel] [PATCH] QEMU as non-root and PCI passthrough do not mix

2016-01-15 Thread Stefano Stabellini
On Thu, 14 Jan 2016, Ian Jackson wrote: > Stefano Stabellini writes ("Re: [PATCH] QEMU as non-root and PCI passthrough > do not mix"): > > On Thu, 14 Jan 2016, Ian Campbell wrote: > > > What if b_info->device_model_user is NULL or == "root"? Doesn't this warn > > > even then? > > > > I meant to w

Re: [Xen-devel] [PATCH] QEMU as non-root and PCI passthrough do not mix

2016-01-15 Thread Konrad Rzeszutek Wilk
On Fri, Jan 15, 2016 at 02:14:40PM +, Stefano Stabellini wrote: > On Thu, 14 Jan 2016, Ian Jackson wrote: > > Stefano Stabellini writes ("Re: [PATCH] QEMU as non-root and PCI > > passthrough do not mix"): > > > On Thu, 14 Jan 2016, Ian Campbell wrote: > > > > What if b_info->device_model_user

Re: [Xen-devel] [BUG] Assertion '(sp == 0) || (peoi[sp-1].vector < vector)' failed at irq.c:1163

2016-01-15 Thread Håkon Alstadheim
On 01/15/2016 01:49 PM, Håkon Alstadheim wrote: On 01/15/2016 01:42 PM, Jan Beulich wrote: On 15.01.16 at 13:32, wrote: placed microcode.bin in /boot/microcode.bin booted with : --- xen_commandline: ssd-xen-debug-marker console_timestamps=date loglvl=all guest_loglvl=all sync_c

Re: [Xen-devel] [PATCH v1] xen/arm: Add r1p12 to the list of supported Cadence UARTs

2016-01-15 Thread Edgar E. Iglesias
On Fri, Jan 15, 2016 at 01:46:05PM +, Ian Campbell wrote: > On Fri, 2016-01-15 at 14:30 +0100, Edgar E. Iglesias wrote: > > On Fri, Jan 15, 2016 at 12:30:27PM +, Ian Campbell wrote: > > > On Thu, 2016-01-14 at 19:44 +0100, Edgar E. Iglesias wrote: > > > > From: "Edgar E. Iglesias" > > > >

Re: [Xen-devel] [PATCH v3] x86/p2m: use large pages for MMIO mappings

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 14:57, wrote: > On Fri, 2016-01-15 at 03:47 -0700, Jan Beulich wrote: >> > > > On 15.01.16 at 11:09, wrote: >> > On Thu, 2016-01-14 at 03:04 -0700, Jan Beulich wrote: >> > > - ARM side unimplemented (and hence libxc for now made cope with both >> > > models), >> > >> > So, o

Re: [Xen-devel] [PATCH v1] xen/arm: Add r1p12 to the list of supported Cadence UARTs

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 15:36 +0100, Edgar E. Iglesias wrote: > On Fri, Jan 15, 2016 at 01:46:05PM +, Ian Campbell wrote: > > On Fri, 2016-01-15 at 14:30 +0100, Edgar E. Iglesias wrote: > > > On Fri, Jan 15, 2016 at 12:30:27PM +, Ian Campbell wrote: > > > > On Thu, 2016-01-14 at 19:44 +0100,

Re: [Xen-devel] [PATCH QEMU-XEN v8 6/8] xen: Use stable library interfaces when they are available.

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Ian Campbell wrote: > In Xen 4.7 we are refactoring parts libxenctrl into a number of > separate libraries which will provide backward and forward API and ABI > compatiblity. > > Specifically libxenevtchn, libxengnttab and libxenforeignmemory. > > Previous patches have alread

Re: [Xen-devel] [PATCH QEMU-XEN v8 5/8] xen: Switch uses of xc_map_foreign_{pages, bulk} to use libxenforeignmemory API.

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Ian Campbell wrote: > In Xen 4.7 we are refactoring parts libxenctrl into a number of > separate libraries which will provide backward and forward API and ABI > compatiblity. > > One such library will be libxenforeignmemory which provides access to > privileged foreign mapping

Re: [Xen-devel] [PATCH OSSTEST] ts-debian-install: increase time allowed for xen-create-image

2016-01-15 Thread Dario Faggioli
On Fri, 2016-01-15 at 13:35 +, Ian Campbell wrote: > This step is consistently timing out when run on cubietruck-*. > Judging > from the logs it appears to be completing during the 30s slack added > by tcmdex (i.e. after the timeout message the rest of the output > appears in the test step log)

Re: [Xen-devel] [PATCH QEMU-XEN v8 0/8] Begin to disentangle libxenctrl and provide some stable libraries

2016-01-15 Thread Stefano Stabellini
What's the status of the libxc side changes? Is the interface stable enough for me to commit this series? On Fri, 15 Jan 2016, Ian Campbell wrote: > We intend to stabilise some parts of the libxenctrl interface by > splitting out some functionality into separate stable libraries. > > This is the

[Xen-devel] [PATCH RFC] xen/Kconfig: Use olddefconfig not silentoldconfig to update .config

2016-01-15 Thread Ian Campbell
RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC BECAUSE THIS BREAKS CLEAN BUILDS WITH: In file included from :0:0: /local/scratch/ianc/devel/arm/xen.git/xen/include/xen/config.h:10:32: fatal error: generated/autoconf.h: No such file or directory #include I'm not sure why given the descriptions of o

Re: [Xen-devel] [PATCH] QEMU as non-root and PCI passthrough do not mix

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Konrad Rzeszutek Wilk wrote: > On Fri, Jan 15, 2016 at 02:14:40PM +, Stefano Stabellini wrote: > > On Thu, 14 Jan 2016, Ian Jackson wrote: > > > Stefano Stabellini writes ("Re: [PATCH] QEMU as non-root and PCI > > > passthrough do not mix"): > > > > On Thu, 14 Jan 2016, Ia

Re: [Xen-devel] [PATCH 03/28] libxl: Provide libxl__dm_support_*

2016-01-15 Thread Jim Fehlig
On 01/15/2016 02:56 AM, Ian Campbell wrote: > On Thu, 2016-01-14 at 11:31 -0700, Jim Fehlig wrote: >> Ian Campbell wrote: >>> On Mon, 2016-01-11 at 10:00 -0700, Jim Fehlig wrote: On 01/07/2016 10:13 AM, Ian Campbell wrote: > On Tue, 2015-12-22 at 18:44 +, Ian Jackson wrote: >> This

[Xen-devel] [PATCHv2 3/3] xen-netback: free queues after freeing the net device

2016-01-15 Thread David Vrabel
If a queue still has a NAPI instance added to the net device, freeing the queues early results in a use-after-free. The shouldn't ever happen because we disconnect and tear down all queues before freeing the net device, but doing this makes it obviously safe. Signed-off-by: David Vrabel --- dri

Re: [Xen-devel] [PATCH v3] x86/p2m: use large pages for MMIO mappings

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 07:39 -0700, Jan Beulich wrote: > > > > On 15.01.16 at 14:57, wrote: > > On Fri, 2016-01-15 at 03:47 -0700, Jan Beulich wrote: > > > > > > On 15.01.16 at 11:09, wrote: > > > > On Thu, 2016-01-14 at 03:04 -0700, Jan Beulich wrote: > > > > > - ARM side unimplemented (and hence

[Xen-devel] [PATCHv2 2/3] xen-netback: delete NAPI instance when queue fails to initialize

2016-01-15 Thread David Vrabel
When xenvif_connect() fails it may leave a stale NAPI instance added to the device. Make sure we delete it in the error path. Signed-off-by: David Vrabel --- drivers/net/xen-netback/interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/xen-netback/interface.c b/drivers/ne

[Xen-devel] [PATCHv2 0/3 net] xen-netback: use skb to determine number of required (etc.)

2016-01-15 Thread David Vrabel
"xen-netback: use skb to determine number of required" plus two other minor fixes I found down the back of the sofa. David ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [PATCHv2 1/3] xen-netback: use skb to determine number of required guest Rx requests

2016-01-15 Thread David Vrabel
Using the MTU or GSO size to determine the number of required guest Rx requests for an skb was subtly broken since these value may change at runtime. After 1650d5455bd2dc6b5ee134bd6fc1a3236c266b5b (xen-netback: always fully coalesce guest Rx packets) we always fully pack a packet into its guest Rx

Re: [Xen-devel] [PATCH] QEMU as non-root and PCI passthrough do not mix

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 14:49 +, Stefano Stabellini wrote: > libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an > error message from QMP server: Device initialization failed Can we also get a patch added to qemu which provides something more meaningful if the reason it can't su

Re: [Xen-devel] [PATCH OSSTEST] ts-debian-install: increase time allowed for xen-create-image

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 15:44 +0100, Dario Faggioli wrote: > On Fri, 2016-01-15 at 13:35 +, Ian Campbell wrote: > > This step is consistently timing out when run on cubietruck-*. > > Judging > > from the logs it appears to be completing during the 30s slack added > > by tcmdex (i.e. after the tim

[Xen-devel] [PATCH v2 3/4] x86/hvm: don't set the BSP as initialised in hvm_vcpu_initialise

2016-01-15 Thread Roger Pau Monne
The BSP will be marked as initialised after hvm_load_cpu_ctxt has loaded the initial state, which is called from the toolstack during domain creation. Previous to my HVMlite series HVM guests were started without setting any explicit CPU state (in fact we placed that horrible jmp at 0x0, because t

[Xen-devel] [PATCH v2 2/4] libelf: rewrite symtab/strtab loading for Dom0

2016-01-15 Thread Roger Pau Monne
Current implementation of elf_load_bsdsyms is broken when loading inside of a HVM guest, because it assumes elf_memcpy_safe is able to write into guest memory space, which it is not. Take the oportunity to do some cleanup and properly document how elf_{parse/load}_bsdsyms works. The new implementa

[Xen-devel] [PATCH v2 0/4] HVMlite: minor fixes and Dom0 preparatory patches

2016-01-15 Thread Roger Pau Monne
Hello, This series contains some bug fixes for HVMlite DomU and a preparatory patch for HVMlite Dom0 support (2/4). Thanks, Roger. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [PATCH v2 4/4] x86/PV: enable the emulated PIT

2016-01-15 Thread Roger Pau Monne
The HVMlite series removed the initialization of the emulated PIT for PV guests, this patch re-enables it. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu Cc: Jan Beulich Cc: Andrew Cooper --- NB: Since it's not clear why an emulated PIT is needed, it won't be

[Xen-devel] [PATCH v2 1/4] xen/elfnotes: check phys_entry against UNSET_ADDR32

2016-01-15 Thread Roger Pau Monne
And introduce UNSET_ADDR32. Signed-off-by: Roger Pau Monné Acked-by: Jan Beulich --- Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu --- Changes since v1: - Fix commit title. --- tools/libxc/xc_dom_elfloader.c | 2 +- xen/common/libelf/libelf-dominfo.c | 1 + xen/include/xen/libelf.h

Re: [Xen-devel] [PATCH v2 0/3] tools: remove 1024 domain limit at some places

2016-01-15 Thread Juergen Gross
On 04/01/16 15:55, Juergen Gross wrote: > There are some places in Xen tools which will work for only up to > 1024 domains. Remove this limit. > > Changes in V2: > - corrected a little error in patch 1 at end of loop (index -1 used > in array) > - added patches 2 and 3 > > Juergen Gross (3): >

Re: [Xen-devel] [PATCH v3 00/15] xenstore: make it easier to run xenstore in a domain

2016-01-15 Thread Juergen Gross
On 08/01/16 14:08, Juergen Gross wrote: > Xen supports to run xenstore in a dedicated domain. It is, however, a > setup which isn't easy to configure. Today flask is required for full > functionality and the resulting xenstore domain is not configurable in > the same way as the xenstore daemon. >

Re: [Xen-devel] [PATCH RFC] xen/Kconfig: Use olddefconfig not silentoldconfig to update .config

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 14:48 +, Ian Campbell wrote: > RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC > BECAUSE THIS BREAKS CLEAN BUILDS WITH: > In file included from :0:0: > /local/scratch/ianc/devel/arm/xen.git/xen/include/xen/config.h:10:32: > fatal error: generated/autoconf.h: No such file or di

Re: [Xen-devel] [PATCH QEMU-XEN v8 0/8] Begin to disentangle libxenctrl and provide some stable libraries

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 14:44 +, Stefano Stabellini wrote: > What's the status of the libxc side changes? Is the interface stable > enough for me to commit this series? I'd recommend waiting. I'll ping you when it looks appropriate to apply this series. Thanks for the final acks on this sub-ser

Re: [Xen-devel] [PATCH 2/2] libxl: fix UUID usage on FreeBSD

2016-01-15 Thread Roger Pau Monné
El 15/01/16 a les 11.26, Ian Campbell ha escrit: > On Tue, 2016-01-12 at 14:14 +0100, Roger Pau Monne wrote: >> libxl makes the assumtion that libxl_uuid == uuid_t, > > ("assumption") > >> and that uuid_t can be >> freely used as a byte array. This is not true on FreeBSD (and NetBSD >> too, not

Re: [Xen-devel] [PATCH RFC] xen/Kconfig: Use olddefconfig not silentoldconfig to update .config

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 15:07 +, Ian Campbell wrote: > On Fri, 2016-01-15 at 14:48 +, Ian Campbell wrote: > > RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC > > BECAUSE THIS BREAKS CLEAN BUILDS WITH: > > In file included from :0:0: > > /local/scratch/ianc/devel/arm/xen.git/xen/include/xen/config

[Xen-devel] [PATCH v2] xen/arm64: correctly emulate the {w, x}zr registers

2016-01-15 Thread Ian Campbell
From: Julien Grall On AArch64, encoding 31 for an R in the HSR is used to represent either {w,x}sp or {w,x}zr (See C1.2.4 in ARM DDI 0486A.d) depending on how the register field is interpreted by the instruction. All the instructions trapped by Xen (either via a sysreg access or data abort) inte

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

2016-01-15 Thread osstest service owner
flight 78173 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/78173/ 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] [PATCH 2/2] libxl: fix UUID usage on FreeBSD

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 16:11 +0100, Roger Pau Monné wrote: > El 15/01/16 a les 11.26, Ian Campbell ha escrit: > > On Tue, 2016-01-12 at 14:14 +0100, Roger Pau Monne wrote: > > > libxl makes the assumtion that libxl_uuid == uuid_t, > > > > ("assumption") > > > > >  and that uuid_t can be > > > free

Re: [Xen-devel] [PATCH V2 1/1] Improved RTDS scheduler

2016-01-15 Thread Meng Xu
On Wed, Jan 6, 2016 at 2:57 AM, Tianyang Chen wrote: > > > > On 12/31/2015 8:44 AM, Meng Xu wrote: >> >> On Thu, Dec 31, 2015 at 6:20 PM, Tianyang Chen wrote: >>> >>> >>> Budget replenishment is now handled by a dedicated timer which is >>> triggered at the most imminent release time of all runna

Re: [Xen-devel] [PATCH v2 3/3] xenstat: handle more than 1024 domains

2016-01-15 Thread Ian Campbell
On Mon, 2016-01-04 at 16:38 +, Wei Liu wrote: > On Mon, Jan 04, 2016 at 03:55:53PM +0100, Juergen Gross wrote: > > - dominfo = get_domain_ids(node->handle->xc_handle, &num_doms); > > - if (dominfo == NULL) > > - return; > > + for (;;) { > > + num_doms = xc_domain_geti

Re: [Xen-devel] [PATCH v2 3/3] xenstat: handle more than 1024 domains

2016-01-15 Thread Juergen Gross
On 15/01/16 16:35, Ian Campbell wrote: > On Mon, 2016-01-04 at 16:38 +, Wei Liu wrote: >> On Mon, Jan 04, 2016 at 03:55:53PM +0100, Juergen Gross wrote: > >>> - dominfo = get_domain_ids(node->handle->xc_handle, &num_doms); >>> - if (dominfo == NULL) >>> - return; >>> + for (;;)

Re: [Xen-devel] [PATCH v2 01/16] Xen: ACPI: Hide UART used by Xen

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > ACPI 6.0 introduces a new table STAO to list the devices which are used > by Xen and can't be used by Dom0. On Xen virtual platforms, the physical > UART is used by Xen. So here it hides UART from Dom0. > > Signed-off-by: Shannon

Re: [Xen-devel] [PATCH] Kconfig: fix environment variable handling

2016-01-15 Thread Ian Campbell
On Wed, 2016-01-13 at 03:46 -0700, Jan Beulich wrote: > With xen/Makefile including include/config/auto.conf.cmd, environment > variables checked in the latter must be available at the time of > inclusion of that file, and hence must be populated in xen/Makefile > rather than by passing to or insid

Re: [Xen-devel] [PATCH RFC] xen/Kconfig: Use olddefconfig not silentoldconfig to update .config

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 15:48, wrote: > RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC RFC > BECAUSE THIS BREAKS CLEAN BUILDS WITH: > In file included from :0:0: > /local/scratch/ianc/devel/arm/xen.git/xen/include/xen/config.h:10:32: fatal > error: generated/autoconf.h: No such file or directory > #include

Re: [Xen-devel] [PATCH v5 1/5] build: Env var to enable expert config options

2016-01-15 Thread Ian Campbell
On Thu, 2016-01-14 at 09:09 -0700, Jan Beulich wrote: > > > > On 14.01.16 at 15:49, wrote: > > --- a/xen/Kconfig > > +++ b/xen/Kconfig > > @@ -22,3 +22,7 @@ config DEFCONFIG_LIST > >   string > >   option defconfig_list > >   default "$ARCH_DEFCONFIG" > > + > > +config EXPERT > > + string

Re: [Xen-devel] [PATCH v3 01/15] xen: add xenstore domain flag to hypervisor

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > In order to be able to have full support of a xenstore domain in Xen > add a "Xenstore-domain" flag to the hypervisor. This flag must be > specified at domain creation time and is returned by > XEN_DOMCTL_getdomaininfo. > > It will allow th

Re: [Xen-devel] [PATCH v3 03/15] libxl: provide a flag in dominfo to avoid stopping it

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > Add a "never_stop" flag to dominfo as indicator for the toolstack that > this domain is to be kept running. For now it is being set for xenstore > domain, but there might be other domains in the future. > > Signed-off-by: Juergen Gross Ac

Re: [Xen-devel] [PATCH v3 04/15] xenstore: move init-xenstore-domain to tools/helpers

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +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. > > Move the program to a new tools subdirectory "helpers" to be able to > use libxl in a later patch. O

Re: [Xen-devel] [PATCH] Kconfig: fix environment variable handling

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 16:44, wrote: > On Wed, 2016-01-13 at 03:46 -0700, Jan Beulich wrote: >> With xen/Makefile including include/config/auto.conf.cmd, environment >> variables checked in the latter must be available at the time of >> inclusion of that file, and hence must be populated in xen/Makefi

Re: [Xen-devel] [PATCH v2 02/16] xen/grant-table: Move xlated_setup_gnttab_pages to common place

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Move xlated_setup_gnttab_pages to common place, so it can be reused by > ARM to setup grant table. > > Rename it to xen_xlate_map_ballooned_pages. > > Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini > arch/x86/x

Re: [Xen-devel] [PATCH v3 05/15] xenstore: adjust coding style of init-xenstore-domain.c

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > Adjust the coding style of init-xenstore-domain.c to the general Xen > coding style. > > Signed-off-by: Juergen Gross Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH v2 0/3] tools: remove 1024 domain limit at some places

2016-01-15 Thread Ian Campbell
On Mon, 2016-01-04 at 15:55 +0100, Juergen Gross wrote: > There are some places in Xen tools which will work for only up to > 1024 domains. Remove this limit. > > Changes in V2: > - corrected a little error in patch 1 at end of loop (index -1 used >   in array) > - added patches 2 and 3 > > Juerg

Re: [Xen-devel] [PATCH v3 06/15] libxl: move xen-init-dom0 to tools/helpers

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > Move xen-init-dom0 from tools/libxl to tools/helpers, as it is just a > helper program. > > Signed-off-by: Juergen Gross Acked-by: Ian Campbell ___ Xen-devel mailing list Xen-devel@lists.xen.

Re: [Xen-devel] [PATCH] libxl: create 'drivers', 'feature' and 'attr' xenstore paths

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 10:00 +, Paul Durrant wrote: > My recent patch series 'docs: Document xenstore paths' included 3 > patches documenting new xenstore paths to allow PV drivers/agents in > guests to advertise version information, significant features and > attributes (such as assigned IP add

Re: [Xen-devel] [PATCH v1 1/1] MAINTAINERS: Add xen/drivers/char/cadence-uart.c

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 12:30 +, Ian Campbell wrote: > On Fri, 2016-01-15 at 13:14 +0100, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > > > Add xen/drivers/char/cadence-uart.c to the ARM section. > > > > Signed-off-by: Edgar E. Iglesias > > Acked-by: Ian Campbell Applied. __

Re: [Xen-devel] [PATCH v1] xen/arm: Add r1p12 to the list of supported Cadence UARTs

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 14:42 +, Ian Campbell wrote: >  > > xen/arm: Add r1p12 to the list of supported Cadence UARTs > > > > Add r1p12 to the list of supported Cadence UARTs. XEN only > > uses the subset of features available in r1p8, so we don't > > need to differentiate between r1p8 and r1p12

Re: [Xen-devel] [PATCH] MAINTAINERS: add myself for kconfig

2016-01-15 Thread Ian Campbell
Jan, Have you been convinced by the arguments made by others here or do we need to put this to a formal vote? (I think "private majority vote amongst the committers" is the next step here per the governance) Ian. On Thu, 2016-01-14 at 17:24 +, Ian Campbell wrote: > IMNSHO we should apply the

Re: [Xen-devel] [PATCH] Kconfig: fix environment variable handling

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 08:54 -0700, Jan Beulich wrote: > > > > On 15.01.16 at 16:44, wrote: > > On Wed, 2016-01-13 at 03:46 -0700, Jan Beulich wrote: > > > With xen/Makefile including include/config/auto.conf.cmd, environment > > > variables checked in the latter must be available at the time of >

Re: [Xen-devel] [PATCH v3 07/15] xenstore: destroy xenstore domain in case of error after creating it

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > When creating a xenstore domain via init-xenstore-domain destroy it > in case of an error occurred after calling xc_domain_create(). > > Signed-off-by: Juergen Gross > Acked-by: Daniel De Graaf Acked-by: Ian Campbell _

Re: [Xen-devel] [PATCH v3 10/15] xenstore: make use of the "xenstore domain" flag

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > Create the xenstore domain with the xenstore flag specified. This > enables us to test whether such a domain is already running before > we create it. As there ought to be only one xenstore in the system > we don't need to start another one.

Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]

2016-01-15 Thread Jan Beulich
>>> On 14.01.16 at 17:27, wrote: > I have to confess I'm quite confused now. Maybe there are many > underlying disagreements here but mostly I seem befogged. However, > here are some principles I currently believe in for how this should > all work: > > * It should be possible to enable, or dis

[Xen-devel] [PATCH v3] xenstat: handle more than 1024 domains

2016-01-15 Thread Juergen Gross
get_domain_ids() in libxenstat used by read_attributes_qdisk() is limited to 1024 domains. Remove that limit. Signed-off-by: Juergen Gross --- V3: Obey 80 character line length limit as requested by Ian Campbell. In order to not have to wrap so many lines just carve out the loop body into

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

2016-01-15 Thread osstest service owner
flight 78153 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/78153/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ovmf-amd64 17 guest-start/debianhvm.repeat fail REGR. vs. 65543 test-amd64-amd64-

Re: [Xen-devel] [PATCH v3 14/15] tools: don't stop xenstore domain when stopping dom0

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > +# get xenstore domain id (or 0 if no xenstore domain) > +get_xsdomid() > +{ > +XS_DOMID=`${bindir}/xenstore-read /tool/xenstored/domid 2>/dev/null` > +if test $? -ne 0; then > +XS_DOMID=0 > +fi In principal this could b

Re: [Xen-devel] [PATCH v3 15/15] docs: document xenstore domain xenstore paths

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > Add the xenstore domain specific xenstore paths to > docs/misc/xenstore-paths.markdown > > Signed-off-by: Juergen Gross One typo below, otherwise: Acked-by: Ian Campbell You could fold this into some earlier patch which first uses thes

Re: [Xen-devel] [PATCH] MAINTAINERS: add myself for kconfig

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 16:59, wrote: > Have you been convinced by the arguments made by others here or do we need > to put this to a formal vote? (I think "private majority vote amongst the > committers" is the next step here per the governance) While I continue to be unconvinced, I don't object to t

Re: [Xen-devel] [PATCH] Kconfig: fix environment variable handling

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 17:01, wrote: > On Fri, 2016-01-15 at 08:54 -0700, Jan Beulich wrote: >> > > > On 15.01.16 at 16:44, wrote: >> > On Wed, 2016-01-13 at 03:46 -0700, Jan Beulich wrote: >> > > With xen/Makefile including include/config/auto.conf.cmd, environment >> > > variables checked in the la

Re: [Xen-devel] [PATCH v3] xenstat: handle more than 1024 domains

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 17:07 +0100, Juergen Gross wrote: > get_domain_ids() in libxenstat used by read_attributes_qdisk() is > limited to 1024 domains. Remove that limit. > > Signed-off-by: Juergen Gross > --- > V3: Obey 80 character line length limit as requested by Ian Campbell. > In order t

Re: [Xen-devel] [PATCH v3 15/15] docs: document xenstore domain xenstore paths

2016-01-15 Thread Juergen Gross
On 15/01/16 17:14, Ian Campbell wrote: > On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: >> Add the xenstore domain specific xenstore paths to >> docs/misc/xenstore-paths.markdown >> >> Signed-off-by: Juergen Gross > > One typo below, otherwise: > > Acked-by: Ian Campbell > > You could

Re: [Xen-devel] [PATCH v3 14/15] tools: don't stop xenstore domain when stopping dom0

2016-01-15 Thread Juergen Gross
On 15/01/16 17:12, Ian Campbell wrote: > On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: >> +# get xenstore domain id (or 0 if no xenstore domain) >> +get_xsdomid() >> +{ >> +XS_DOMID=`${bindir}/xenstore-read /tool/xenstored/domid 2>/dev/null` >> +if test $? -ne 0; then >> +

Re: [Xen-devel] [PATCH v3 15/15] docs: document xenstore domain xenstore paths

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 17:22 +0100, Juergen Gross wrote: > On 15/01/16 17:14, Ian Campbell wrote: > > On Fri, 2016-01-08 at 14:08 +0100, Juergen Gross wrote: > > > Add the xenstore domain specific xenstore paths to > > > docs/misc/xenstore-paths.markdown > > > > > > Signed-off-by: Juergen Gross >

Re: [Xen-devel] [PATCH OSSTEST] make-flight: Support specifying a mini-os tree+revision

2016-01-15 Thread Ian Campbell
On Wed, 2015-12-16 at 09:32 +, Ian Campbell wrote: > On Fri, 2015-12-11 at 15:16 +, Ian Jackson wrote: > > Ian Campbell writes ("[PATCH OSSTEST] make-flight: Support specifying a > > mini-os tree+revision"): > > > This is useful for standalone or adhoc use as well as (presumably) > > > bise

[Xen-devel] [linux-linus test] 78147: regressions - FAIL

2016-01-15 Thread osstest service owner
flight 78147 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/78147/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-multivcpu 6 xen-boot fail REGR. vs. 59254 test-armhf-armhf-xl-c

Re: [Xen-devel] [PATCH RFC OSSTEST v1 07/12] ts-debian-di-install: Allow Di Version to come from runvars

2016-01-15 Thread Ian Campbell
On Tue, 2016-01-12 at 14:39 +, Ian Jackson wrote: > Ian Campbell writes ("[PATCH RFC OSSTEST v1 07/12] ts-debian-di-install: > Allow Di Version to come from runvars"): > > and following the lead of the suite arrange for a version selected > > from the defaults to be written back to the runvars.

Re: [Xen-devel] [PATCHv1 net] xen-netback: use skb to determine number of required guest Rx requests

2016-01-15 Thread David Miller
From: David Vrabel Date: Fri, 15 Jan 2016 10:31:57 + > On 14/01/16 21:54, David Miller wrote: >> From: David Vrabel >> Date: Thu, 14 Jan 2016 15:18:30 + >> >>> - needed = xenvif_rx_ring_slots_needed(queue->vif); >>> + skb = skb_peek(&queue->rx_queue); >>> + if (!skb) >>> +

Re: [Xen-devel] [PATCH OSSTEST] ts-debian-install: increase time allowed for xen-create-image

2016-01-15 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] ts-debian-install: increase time allowed for xen-create-image"): > This step is consistently timing out when run on cubietruck-*. Judging > from the logs it appears to be completing during the 30s slack added > by tcmdex (i.e. after the timeout message the res

Re: [Xen-devel] [PATCH OSSTEST] Allow longer timeout when creating backing file for a raw disk.

2016-01-15 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] Allow longer timeout when creating backing file for a raw disk."): > I noticed this dd timiung out when recommissioning the 3 cubietrucks > (picasso, metzinger, gleizes) but looking at the log shows this has > been happening on braque too. > > The current cod

Re: [Xen-devel] [PATCH v5 1/5] build: Env var to enable expert config options

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 16:47, wrote: > On Thu, 2016-01-14 at 09:09 -0700, Jan Beulich wrote: >> > > > On 14.01.16 at 15:49, wrote: >> > --- a/xen/Kconfig >> > +++ b/xen/Kconfig >> > @@ -22,3 +22,7 @@ config DEFCONFIG_LIST >> >string >> >option defconfig_list >> >default "$ARCH_DEFCONFIG"

Re: [Xen-devel] [PATCH v2] xSplice v1 implementation.

2016-01-15 Thread Konrad Rzeszutek Wilk
> Or you can use git://github.com/rosslagerwall/xsplice-build.git tool > (it will need an extra patch, will send that shortly) - which > generates the ELF payloads. > > This link has a nice description of how to use the tool: > http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02595.ht

[Xen-devel] [PATCH v6 2/5] build: Hook the schedulers into Kconfig

2016-01-15 Thread Jonathan Creekmore
Allow the schedulers to be independently enabled or disabled at compile-time. To match existing behavior, all four schedulers are compiled in by default, although the Credit2, RTDS, and ARINC653 are marked EXPERIMENTAL to match their not currently supported status. CC: George Dunlap CC: Dario Fag

[Xen-devel] [PATCH v6 3/5] build: Alloc space for sched list in the link file

2016-01-15 Thread Jonathan Creekmore
Creates a section to contain scheduler entry pointers that are gathered together into an array. This will allow, in a follow-on patch, scheduler entries to be automatically gathered together into the array for automatic parsing. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Be

[Xen-devel] [PATCH v6 5/5] sched: Use the auto-generated list of schedulers

2016-01-15 Thread Jonathan Creekmore
Instead of having a manually-curated list of schedulers, use the array that was auto-generated simply by compiling in the scheduler files as the sole source of truth of the available schedulers. CC: George Dunlap CC: Dario Faggioli Signed-off-by: Jonathan Creekmore Acked-by: Dario Faggioli Rev

[Xen-devel] [PATCH v6 4/5] sched: Register the schedulers into the list

2016-01-15 Thread Jonathan Creekmore
Adds a simple macro to place a pointer to a scheduler into an array section at compile time. Also, goes ahead and generates the array entries with each of the schedulers. CC: George Dunlap CC: Dario Faggioli CC: Josh Whitehead CC: Robert VanVossen Signed-off-by: Jonathan Creekmore Acked-by: D

[Xen-devel] [PATCH v6 0/5] Allow schedulers to be selectable through Kconfig

2016-01-15 Thread Jonathan Creekmore
Add machinery to allow the schedulers to be individually selectable through the Kconfig interface. The first patch in the series sets up the CONFIG_EXPERT Kconfig variable that is only enabled by passing an environment variable to the build. The second patch in the series sets up the Kconfig option

[Xen-devel] [PATCH v6 1/5] build: Env var to enable expert config options

2016-01-15 Thread Jonathan Creekmore
Add an additional environment variable, defaulting to disabled, that enables the CONFIG_EXPERT configuration option. The purpose of the CONFIG_EXPERT configuration option is to make non-standard Kconfig options visible during the configuration process. The CONFIG_EXPERT option is not, itself, visib

Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]

2016-01-15 Thread Ian Campbell
On Thu, 2016-01-14 at 16:27 +, Ian Jackson wrote: >  * I don't have a clear design proposal for the above but I think Doug >    can probably provide one.  I'm hoping this is more a matter of >    thinking carefully than of extensive build system programming! I think we should: 1) Move /usr/li

Re: [Xen-devel] [PATCH v2 4/4] x86/PV: enable the emulated PIT

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 15:59, wrote: > --- a/xen/arch/x86/domain.c > +++ b/xen/arch/x86/domain.c > @@ -542,8 +542,9 @@ int arch_domain_create(struct domain *d, unsigned int > domcr_flags, > d->domain_id, config->emulation_flags); > return -EINVAL; > } > -

Re: [Xen-devel] [PATCH OSSTEST] make-flight: Support specifying a mini-os tree+revision

2016-01-15 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST] make-flight: Support specifying a mini-os tree+revision"): > On Fri, 2015-12-11 at 15:16 +, Ian Jackson wrote: > unable to determine vcs > bash: line 5: fail: command not found > > I'm not sure if this is a bug (i.e. it was intended to be "ech

Re: [Xen-devel] [PATCH v2 03/16] Xen: xlate: Use page_to_xen_pfn instead of page_to_pfn

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Use page_to_xen_pfn in case of 64KB page. > > Signed-off-by: Shannon Zhao > --- > drivers/xen/xlate_mmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/xen/xlate_mmu.c b/drivers/xen/xlate_mmu.

Re: [Xen-devel] [PATCH 4/4] hvmloader: add support to load extra ACPI tables from qemu

2016-01-15 Thread Jan Beulich
>>> On 29.12.15 at 12:31, wrote: > NVDIMM devices are detected and configured by software through > ACPI. Currently, QEMU maintains ACPI tables of vNVDIMM devices. This > patch extends the existing mechanism in hvmloader of loading passthrough > ACPI tables to load extra ACPI tables built by QEMU.

Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]

2016-01-15 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]"): ... > The only downside is a spurious /boot/xenpolicy-$version installed when the > corresponding Xen binary doesn't support XSM, however given the assumption > in #2 (which implies the use

Re: [Xen-devel] [PATCH RFC OSSTEST v1 05/12] make-*flight: Abolish $defsuite and $guestdefsuite

2016-01-15 Thread Ian Campbell
On Tue, 2016-01-12 at 14:18 +, Ian Jackson wrote: > Ian Campbell writes ("[PATCH RFC OSSTEST v1 05/12] make-*flight: Abolish > $defsuite and $guestdefsuite"): > > Instead have mfi-common set $suite or $guestsuite if it is unset. When > > doing so move the use of local to this point, using local

Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 18:06, wrote: > On Thu, 2016-01-14 at 16:27 +, Ian Jackson wrote: >> * I don't have a clear design proposal for the above but I think Doug >>can probably provide one. I'm hoping this is more a matter of >>thinking carefully than of extensive build system programmin

Re: [Xen-devel] [PATCH v6 1/5] build: Env var to enable expert config options

2016-01-15 Thread Jan Beulich
>>> On 15.01.16 at 18:01, wrote: > --- a/xen/Makefile > +++ b/xen/Makefile > @@ -11,6 +11,7 @@ export XEN_DOMAIN ?= $(shell ([ -x /bin/dnsdomainname ] > && /bin/dnsdomainname) | > export XEN_BUILD_DATE?= $(shell LC_ALL=C date) > export XEN_BUILD_TIME?= $(shell LC_ALL=C date +%

Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]

2016-01-15 Thread Doug Goldstein
On 1/15/16 11:06 AM, Ian Campbell wrote: > On Thu, 2016-01-14 at 16:27 +, Ian Jackson wrote: >> * I don't have a clear design proposal for the above but I think Doug >>can probably provide one. I'm hoping this is more a matter of >>thinking carefully than of extensive build system pro

Re: [Xen-devel] [PATCH v2 04/16] arm/xen: Use xen_xlate_map_ballooned_pages to setup grant table

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't > rely on DT or ACPI to pass the start address and size of grant table. > > Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini > arch/arm/xen/enli

Re: [Xen-devel] [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]

2016-01-15 Thread Andrew Cooper
On 15/01/16 17:15, Jan Beulich wrote: On 15.01.16 at 18:06, wrote: >> On Thu, 2016-01-14 at 16:27 +, Ian Jackson wrote: >>> * I don't have a clear design proposal for the above but I think Doug >>>can probably provide one. I'm hoping this is more a matter of >>>thinking carefull

Re: [Xen-devel] [PATCH v6 1/5] build: Env var to enable expert config options

2016-01-15 Thread Jonathan Creekmore
> On Jan 15, 2016, at 11:20 AM, Jan Beulich wrote: > On 15.01.16 at 18:01, wrote: >> --- a/xen/Makefile >> +++ b/xen/Makefile >> @@ -11,6 +11,7 @@ export XEN_DOMAIN ?= $(shell ([ -x /bin/dnsdomainname ] >> && /bin/dnsdomainname) | >> export XEN_BUILD_DATE?= $(shell LC_ALL=C date)

Re: [Xen-devel] [PATCH RFC OSSTEST v1 09/12] mfi-common: Set diversion for build & test host install

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-08 at 14:29 +, Ian Campbell wrote: > This means that bisections will use the same version, even if > production-config changed in the mean time. > > Signed-off-by: Ian Campbell > --- >  mfi-common | 12 ++-- >  1 file changed, 10 insertions(+), 2 deletions(-) > > diff

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

2016-01-15 Thread osstest service owner
flight 78183 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/78183/ 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] [PATCH OSSTEST] make-flight: Support specifying a mini-os tree+revision

2016-01-15 Thread Ian Campbell
On Fri, 2016-01-15 at 17:07 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH OSSTEST] make-flight: Support specifying > a mini-os tree+revision"): > > On Fri, 2015-12-11 at 15:16 +, Ian Jackson wrote: > > unable to determine vcs > > bash: line 5: fail: command not found > >

Re: [Xen-devel] [PATCH v2 06/16] Xen: ARM: Add support for mapping platform device mmio

2016-01-15 Thread Stefano Stabellini
On Fri, 15 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Add a bus_notifier for platform bus device in order to map the device > mmio regions when DOM0 booting with ACPI. > > Signed-off-by: Shannon Zhao > --- > drivers/xen/Makefile | 1 + > drivers/xen/arm-device.c | 140 >

<    1   2   3   >