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

2016-03-10 Thread osstest service owner
flight 85876 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/85876/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 9 debian-hvm-install fail REGR. vs. 65543 test-amd64-i386-xl-qemuu-ovm

Re: [Xen-devel] [PATCH v11 07/27] docs/libxl: Introduce CHECKPOINT_CONTEXT to support migration v2 colo streams

2016-03-10 Thread Wen Congyang
On 03/05/2016 12:51 AM, Ian Jackson wrote: > Changlong Xie writes ("[PATCH v11 07/27] docs/libxl: Introduce > CHECKPOINT_CONTEXT to support migration v2 colo streams"): >> From: Wen Congyang > > I think we will want to see an ack from Andy Cooper on this, in due > course. > >> It is the negotia

Re: [Xen-devel] [PATCH v3 1/2] IOMMU/spinlock: Fix a bug found in AMD IOMMU initialization

2016-03-10 Thread Xu, Quan
On March 11, 2016 11:25am, wrote: > On Wed, Mar 9, 2016 at 8:17 AM, Quan Xu wrote: > > pcidevs_lock should be held with interrupt enabled. However there > > remains an exception in AMD IOMMU code, where the lock is acquired > > with interrupt disabled. This inconsistency might lead to deadlock. >

Re: [Xen-devel] [V4] x86/xsaves: fix overwriting between non-lazy/lazy xsaves

2016-03-10 Thread Shuai Ruan
On Thu, Mar 10, 2016 at 02:30:34AM -0700, Jan Beulich wrote: > I'm not sure about the "also" here. Perhaps just drop it? Or replace > it by "yet"? A native speaker's input would be appreciated. > Thanks. I will drop it . > > --- a/xen/arch/x86/xstate.c > > +++ b/xen/arch/x86/xstate.c > > @@ -165,

[Xen-devel] [linux-3.14 baseline-only test] 44239: regressions - FAIL

2016-03-10 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 44239 linux-3.14 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/44239/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemuu-rhel6hvm-intel 11 guest-sta

[Xen-devel] [PATCH v3 1/3] libxc: move migration_stream's definition to xenguest.h

2016-03-10 Thread Wen Congyang
xc_domain_save() and xc_domain_restore's parameter will use this type, so it should be public. Signed-off-by: Wen Congyang --- v2->v3: Rename MIG_STREAM_* to XC_MIG_STREAM_* tools/libxc/include/xenguest.h | 7 ++- tools/libxc/xc_sr_common.h | 10 -- tools/libxc/xc_sr_save.c

[Xen-devel] [PATCH v3 3/3] libxl: rename checkpointed_stream to stream_type

2016-03-10 Thread Wen Congyang
Signed-off-by: Wen Congyang --- tools/libxl/libxl.c | 4 ++-- tools/libxl/libxl.h | 8 tools/libxl/libxl_create.c | 4 ++-- tools/libxl/libxl_dom_save.c | 6 +++--- tools/libxl/libxl_internal.h | 2 +- tools/libxl/libxl_save_callout.c | 4 ++-

[Xen-devel] [PATCH v3 2/3] tools: change checkpointed_stream's type from int to xc_migration_stream_t

2016-03-10 Thread Wen Congyang
checkpointed_stream is also renamed to stream_type Signed-off-by: Wen Congyang --- v2->v3: Rename checkpointed_stream to stream_type tools/libxc/include/xenguest.h | 8 tools/libxc/xc_nomigrate.c | 4 ++-- tools/libxc/xc_sr_restore.c | 10 +- tools/libxc/xc_sr_save.c

[Xen-devel] [xen-4.3-testing test] 85872: regressions - trouble: blocked/broken/fail/pass

2016-03-10 Thread osstest service owner
flight 85872 xen-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/85872/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken REGR. vs. 83004 build-armhf-pvops

[Xen-devel] [PATCH] xen: arm: zero EL2 pagetable pages before use

2016-03-10 Thread Shanker Donthineni
From: Vikram Sethi arch/arm/mm.c has 2 uses of alloc_boot_pages which are used for pagetables, but the allocated pages are not zeroed. This can cause crashes on CPUs with aggressive prefetching when they find 'valid' entries in the page tables but which are really uninitialized. Memset the alloca

[Xen-devel] [PATCH] xen/arm64: Fix incorrect memory region size in TCR2_EL2

2016-03-10 Thread Shanker Donthineni
The maximum and minimum values for T0SZ depend on level of translation as per AArch64 Virtual Memory System Architecture. The current code sets T0SZ to zero in TCR2_EL2 which is not valid and also might see unexpected behavior on some CPUs. This patch sets T0SZ to (64-48)bits since XEN uses all 4

[Xen-devel] help

2016-03-10 Thread Safa Hamza
hello i'm trying to run xen on omap5 following this http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/OMAP5432_uEVM the execution stops at this point ** U-Boot SPL 2013.10-rc2 (Mar 08

[Xen-devel] [linux-4.1 test] 85868: regressions - FAIL

2016-03-10 Thread osstest service owner
flight 85868 linux-4.1 real [real] http://logs.test-lab.xenproject.org/osstest/logs/85868/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-rumpuserxen 6 xen-build fail REGR. vs. 66399 build-i386-rumpuserxen

Re: [Xen-devel] [PATCH v3 1/2] IOMMU/spinlock: Fix a bug found in AMD IOMMU initialization

2016-03-10 Thread Meng Xu
Hi Quan, Can I ask a dumb question? On Wed, Mar 9, 2016 at 8:17 AM, Quan Xu wrote: > pcidevs_lock should be held with interrupt enabled. However there remains > an exception in AMD IOMMU code, where the lock is acquired with interrupt > disabled. This inconsistency might lead to deadlock. Why w

Re: [Xen-devel] [PATCH 2/4] ns16550: enable Pericom controller support

2016-03-10 Thread Konrad Rzeszutek Wilk
On Wed, Mar 09, 2016 at 10:01:08AM -0700, Jan Beulich wrote: > >>> On 09.03.16 at 17:52, wrote: > > On Tue, Mar 08, 2016 at 01:48:05AM -0700, Jan Beulich wrote: > >> >>> On 07.03.16 at 23:04, wrote: > >> > Hmm, if it was some other PCI based serial card like: > >> > > >> > 01:05.0 Serial control

[Xen-devel] [xen-unstable baseline-only test] 44238: regressions - FAIL

2016-03-10 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 44238 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/44238/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-i386-pvgrub 10 guest-start

Re: [Xen-devel] [PATCH v4 1/2] IOMMU/spinlock: Fix a bug found in AMD IOMMU initialization

2016-03-10 Thread Xu, Quan
On March 11, 2016 8:24am, wrote: > > From: Xu, Quan > > Sent: Thursday, March 10, 2016 10:10 PM > > > > pcidevs_lock doesn't require interrupts to be disabled while being acquired. > > However there remains an exception in AMD IOMMU code, where the lock > > is acquired with interrupt disabled. Thi

Re: [Xen-devel] [PATCH v4 2/2] IOMMU/spinlock: Make the pcidevs_lock a recursive one.

2016-03-10 Thread Xu, Quan
On March 10, 2016 10:39pm, wrote: > On Thu, 2016-03-10 at 07:32 -0700, Jan Beulich wrote: > > > > > On 10.03.16 at 15:10, wrote: > > > The pcidevs_lock is going to be recursively taken for hiding ATS > > > device, when VT-d Device-TLB flush timed out. > > > > > > Signed-off-by: Quan Xu > > > Ack

Re: [Xen-devel] [PATCH v4 2/2] IOMMU/spinlock: Make the pcidevs_lock a recursive one.

2016-03-10 Thread Xu, Quan
On March 10, 2016 10:32pm, wrote: > >>> On 10.03.16 at 15:10, wrote: > > The pcidevs_lock is going to be recursively taken for hiding ATS > > device, when VT-d Device-TLB flush timed out. > > > > Signed-off-by: Quan Xu > > Acked-by: Kevin Tian > > Acked-by: Jan Beulich Jan, thanks!! I would s

[Xen-devel] [libvirt test] 85871: tolerable FAIL - PUSHED

2016-03-10 Thread osstest service owner
flight 85871 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/85871/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt-xsm 12 migrate-support-checkfail never pass test-armhf-armhf-libvirt-xsm 14 guest-saver

Re: [Xen-devel] [PATCH v7]xen: sched: convert RTDS from time to event driven model

2016-03-10 Thread Meng Xu
[My bad, Dario, I somehow only sent to you my reply... I'm resending to everyone.] On Thu, Mar 10, 2016 at 6:53 PM, Dario Faggioli wrote: > On Thu, 2016-03-10 at 13:08 -0500, Meng Xu wrote: >> On Thu, Mar 10, 2016 at 11:43 AM, Dario Faggioli >> wrote: >> > >> I think the pseudo-code makes sense.

Re: [Xen-devel] [PATCH v4 1/2] IOMMU/spinlock: Fix a bug found in AMD IOMMU initialization

2016-03-10 Thread Tian, Kevin
> From: Xu, Quan > Sent: Thursday, March 10, 2016 10:10 PM > > pcidevs_lock doesn't require interrupts to be disabled while being acquired. > However there remains an exception in AMD IOMMU code, where the lock is > acquired with interrupt disabled. This inconsistency might lead to deadlock. > >

Re: [Xen-devel] [PATCH v7]xen: sched: convert RTDS from time to event driven model

2016-03-10 Thread Dario Faggioli
On Thu, 2016-03-10 at 13:08 -0500, Meng Xu wrote: > On Thu, Mar 10, 2016 at 11:43 AM, Dario Faggioli > wrote: > >  > I think the pseudo-code makes sense. I just need to add some more > logic into it to make it complete. It forgets to handle the runq. > You mean... > > > > > >   ... > >   LIST_H

Re: [Xen-devel] [PATCH v6 for Xen 4.7 1/4] xen: enable per-VCPU parameter settings for RTDS scheduler

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 04:35:30PM -0600, Chong Li wrote: > On Tue, Mar 8, 2016 at 1:09 PM, Wei Liu wrote: > > On Sun, Mar 06, 2016 at 11:55:55AM -0600, Chong Li wrote: > > [...] > >> @@ -1163,6 +1173,96 @@ rt_dom_cntl( > >> } > >> spin_unlock_irqrestore(&prv->lock, flags); > >>

Re: [Xen-devel] [PATCH v6 for Xen 4.7 1/4] xen: enable per-VCPU parameter settings for RTDS scheduler

2016-03-10 Thread Chong Li
On Tue, Mar 8, 2016 at 1:09 PM, Wei Liu wrote: > On Sun, Mar 06, 2016 at 11:55:55AM -0600, Chong Li wrote: > [...] >> @@ -1163,6 +1173,96 @@ rt_dom_cntl( >> } >> spin_unlock_irqrestore(&prv->lock, flags); >> break; >> +case XEN_DOMCTL_SCHEDOP_getvcpuinfo: >> + >> +

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

2016-03-10 Thread osstest service owner
flight 85936 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/85936/ 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

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

2016-03-10 Thread osstest service owner
flight 85852 linux-3.10 real [real] http://logs.test-lab.xenproject.org/osstest/logs/85852/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm 15 guest-localmigrate/x10 fail REGR. vs. 85254

[Xen-devel] [linux-mingo-tip-master test] 85869: regressions - FAIL

2016-03-10 Thread osstest service owner
flight 85869 linux-mingo-tip-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/85869/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-rumpuserxen6 xen-build fail REGR. vs. 60684 build-amd6

Re: [Xen-devel] [PATCH] xen: Restore p2m_access_t enum order to allow bitmask semantics

2016-03-10 Thread Tamas K Lengyel
On Wed, Mar 9, 2016 at 5:30 PM, George Dunlap wrote: > On 08/03/16 15:30, Malcolm Crossley wrote: > > Nested hap code assumed implict bitmask semantics of the p2m_access_t > > enum prior to C/S 4c63692d7c38c5ac414fe97f8ef37b66e05abe5c > > > > The change to the enum ordering broke this assumption

Re: [Xen-devel] [GRUB2 PATCH v3 4/4] multiboot2: Add support for relocatable images

2016-03-10 Thread Vladimir 'phcoder' Serbinenko
On Wednesday, March 2, 2016, Daniel Kiper wrote: > Currently multiboot2 protocol loads image exactly at address specified in > ELF or multiboot2 header. This solution works quite well on legacy BIOS > platforms. It is possible because memory regions are placed at predictable > addresses (though I

Re: [Xen-devel] [GRUB2 PATCH v3 4/4] multiboot2: Add support for relocatable images

2016-03-10 Thread Vladimir 'phcoder' Serbinenko
On Friday, March 4, 2016, Juergen Gross wrote: > On 02/03/16 17:51, Daniel Kiper wrote: > > Currently multiboot2 protocol loads image exactly at address specified in > > ELF or multiboot2 header. This solution works quite well on legacy BIOS > > platforms. It is possible because memory regions ar

Re: [Xen-devel] [GRUB2 PATCH v3 4/4] multiboot2: Add support for relocatable images

2016-03-10 Thread Vladimir 'phcoder' Serbinenko
On Wednesday, March 2, 2016, Daniel Kiper wrote: > Currently multiboot2 protocol loads image exactly at address specified in > ELF or multiboot2 header. This solution works quite well on legacy BIOS > platforms. It is possible because memory regions are placed at predictable > addresses (though I

Re: [Xen-devel] [GRUB2 PATCH v3 3/4] multiboot2: Do not pass memory maps to image if EFI boot services are enabled

2016-03-10 Thread Vladimir 'phcoder' Serbinenko
On Wednesday, March 2, 2016, Daniel Kiper wrote: > Do not pass memory maps to image if it asked for EFI boot services. > Main reason for not providing maps is because they will likely be > invalid. We do a few allocations after filling them, e.g. for relocator > needs. Usually we do not care as w

Re: [Xen-devel] [GRUB2 PATCH v3 2/4] multiboot2: Add tags used to pass ImageHandle to loaded image

2016-03-10 Thread Vladimir 'phcoder' Serbinenko
On Wednesday, March 2, 2016, Daniel Kiper wrote: > Add tags used to pass ImageHandle to loaded image if requested. > It is used by at least ExitBootServices() function. > > Signed-off-by: Daniel Kiper > > --- > v3 - suggestions/fixes: >- mbi EFI related stuff size calculation > should de

Re: [Xen-devel] [GRUB2 PATCH v3 1/4] i386/relocator: Add grub_relocator64_efi relocator

2016-03-10 Thread Vladimir 'phcoder' Serbinenko
On Wednesday, March 2, 2016, Daniel Kiper wrote: > Add grub_relocator64_efi relocator. It will be used on EFI 64-bit platforms > when multiboot2 compatible image requests MULTIBOOT_TAG_TYPE_EFI_BS. > Relocator > will set lower parts of %rax and %rbx accordingly to multiboot2 > specification. > On

[Xen-devel] [linux-3.14 test] 85851: tolerable FAIL - PUSHED

2016-03-10 Thread osstest service owner
flight 85851 linux-3.14 real [real] http://logs.test-lab.xenproject.org/osstest/logs/85851/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): build-i386-rumpuserxen6 xen-buildfail like 85253 build-amd64-rumpuserxen 6

Re: [Xen-devel] [PATCH] flask: change default state to enforcing

2016-03-10 Thread Daniel De Graaf
On 03/10/2016 02:12 PM, Konrad Rzeszutek Wilk wrote: On Thu, Mar 10, 2016 at 01:30:29PM -0500, Daniel De Graaf wrote: I've added Ian and Jan on the email as scripts/get_maintainer.pl spits out their names (Oddly not yours?) The previous default of "permissive" is meant for developing or debuggi

Re: [Xen-devel] [PATCH] flask: change default state to enforcing

2016-03-10 Thread Konrad Rzeszutek Wilk
On Thu, Mar 10, 2016 at 01:30:29PM -0500, Daniel De Graaf wrote: I've added Ian and Jan on the email as scripts/get_maintainer.pl spits out their names (Oddly not yours?) > The previous default of "permissive" is meant for developing or > debugging a disaggregated system. However, this default ma

[Xen-devel] [xen-4.5-testing baseline-only test] 44237: regressions - FAIL

2016-03-10 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 44237 xen-4.5-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/44237/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-win7-amd64 15 gues

Re: [Xen-devel] [PATCH RFC v1 14/14] Add README file

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 04:52:35PM +, Wei Liu wrote: > Signed-off-by: Wei Liu > --- > Not sure what I should put in here other than building. > > And we also need COPYING file. > --- > README | 16 > 1 file changed, 16 insertions(+) > create mode 100644 README > > diff --g

[Xen-devel] [PATCH] flask: change default state to enforcing

2016-03-10 Thread Daniel De Graaf
The previous default of "permissive" is meant for developing or debugging a disaggregated system. However, this default makes it too easy to accidentally boot a machine in this state, which does not place any restrictions on guests. This is not suitable for normal systems because any guest can pe

Re: [Xen-devel] [PATCH v7]xen: sched: convert RTDS from time to event driven model

2016-03-10 Thread Meng Xu
On Thu, Mar 10, 2016 at 11:43 AM, Dario Faggioli wrote: > On Thu, 2016-03-10 at 10:28 -0500, Meng Xu wrote: >> On Thu, Mar 10, 2016 at 5:38 AM, Dario Faggioli >> wrote: >> > >> > I don't think we really need to count anything. In fact, what I had >> > in >> > mind and tried to put down in pseudoc

Re: [Xen-devel] [PATCH v4 2/8] pc: move igd support code to igd.c

2016-03-10 Thread Kay, Allen M
> -Original Message- > From: Tian, Kevin > Sent: Wednesday, March 09, 2016 9:56 PM > To: Gerd Hoffmann > Cc: Alex Williamson ; Stefano Stabellini > ; xen-de...@lists.xensource.com; igvt- > g...@ml01.01.org; Michael S. Tsirkin ; open list:All patches > CC here ; Kay, Allen M > Subject: R

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

2016-03-10 Thread osstest service owner
flight 85920 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/85920/ 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 v2 2/2] tools: change checkpointed_stream's type from int to xc_migration_stream_t

2016-03-10 Thread Andrew Cooper
On 09/03/16 08:46, Wen Congyang wrote: > Signed-off-by: Wen Congyang > --- > tools/libxc/include/xenguest.h | 4 ++-- > tools/libxc/xc_nomigrate.c | 4 ++-- > tools/libxc/xc_sr_restore.c | 2 +- > tools/libxc/xc_sr_save.c| 2 +- > tools/libxl/libxl_save_helper.c | 38 +++

Re: [Xen-devel] XSM permissive by default.

2016-03-10 Thread Andrew Cooper
On 10/03/16 17:10, Konrad Rzeszutek Wilk wrote: > I presume this patch would be to folks +1: > > From 3373a50f386b41eea6ecede4b430e4fa09b2fe7e Mon Sep 17 00:00:00 2001 > From: Konrad Rzeszutek Wilk > Date: Thu, 10 Mar 2016 12:05:29 -0500 > Subject: [PATCH] flask: By default be in FLASK_BOOTPARAM_E

Re: [Xen-devel] XSM permissive by default.

2016-03-10 Thread Doug Goldstein
On 3/10/16 11:10 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Mar 09, 2016 at 08:40:05PM -0600, Doug Goldstein wrote: >> On 3/9/16 4:09 PM, Daniel De Graaf wrote: >>> On 03/09/2016 04:17 PM, Konrad Rzeszutek Wilk wrote: On Wed, Mar 09, 2016 at 01:24:15PM +, Andrew Cooper wrote: > On 09/0

Re: [Xen-devel] [PATCH v2 2/2] tools: change checkpointed_stream's type from int to xc_migration_stream_t

2016-03-10 Thread Wei Liu
On Wed, Mar 09, 2016 at 04:46:37PM +0800, Wen Congyang wrote: > Signed-off-by: Wen Congyang Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH net-next 2/3] xen-netback: support multiple extra info fragments passed from frontend

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 12:30:27PM +, Paul Durrant wrote: > The code does not currently support a frontend passing multiple extra info > fragments to the backend in a tx request. The xenvif_get_extras() function > handles multiple extra_info fragments but make_tx_response() assumes there > is o

Re: [Xen-devel] [PATCH net-next 3/3] xen-netback: reduce log spam

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 12:30:28PM +, Paul Durrant wrote: > Remove the "prepare for reconnect" pr_info in xenbus.c. It's largely > uninteresting and the states of the frontend and backend can easily be > observed by watching the (o)xenstored log. > > Signed-off-by: Paul Durrant > Cc: Wei Liu

Re: [Xen-devel] [PATCH v2 1/2] libxc: move migration_stream's definition to xenguest.h

2016-03-10 Thread Wei Liu
On Wed, Mar 09, 2016 at 04:46:36PM +0800, Wen Congyang wrote: > xc_domain_save() and xc_domain_restore's parameter will use this type, > so it should be public. > > Signed-off-by: Wen Congyang > --- > tools/libxc/include/xenguest.h | 5 + > tools/libxc/xc_sr_common.h | 10 -- >

Re: [Xen-devel] [PATCH v4 3/3] libxl: add force option for xl vcpu-pin

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 06:27:14AM +0100, Juergen Gross wrote: > In order to be able to undo a vcpu pin override in case of a kernel > driver error add a flag "-f" to the "xl vcpu-pin" command forcing the > hypervisor to undo the override. > > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Wei L

Re: [Xen-devel] [PATCH net-next 1/3] xen-netback: re-import canonical netif header

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 12:30:26PM +, Paul Durrant wrote: > The canonical netif header (in the Xen source repo) and the Linux variant > have diverged significantly. Recently much documentation has been added to > the canonical header which is highly useful for developers making > modifications

Re: [Xen-devel] [PATCH v4 1/3] libxc: do some retries in xc_cpupool_removecpu() for EBUSY case

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 06:27:12AM +0100, Juergen Gross wrote: > The hypervisor might return EBUSY when trying to remove a cpu from a > cpupool when a domain running in this cpupool has pinned a vcpu > temporarily. Do some retries in this case, perhaps the situation > cleans up. > > Cc: Ian Jackso

[Xen-devel] [xen-unstable test] 85850: tolerable FAIL - PUSHED

2016-03-10 Thread osstest service owner
flight 85850 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/85850/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail like 85731 build-amd64-rumpuserxen

Re: [Xen-devel] XSM permissive by default.

2016-03-10 Thread Konrad Rzeszutek Wilk
On Wed, Mar 09, 2016 at 08:40:05PM -0600, Doug Goldstein wrote: > On 3/9/16 4:09 PM, Daniel De Graaf wrote: > > On 03/09/2016 04:17 PM, Konrad Rzeszutek Wilk wrote: > >> On Wed, Mar 09, 2016 at 01:24:15PM +, Andrew Cooper wrote: > >>> On 09/03/16 01:51, Konrad Rzeszutek Wilk wrote: > Hey,

[Xen-devel] [PATCH RFC v1 09/14] Makefile: delete STUBDOMPATH target

2016-03-10 Thread Wei Liu
It is used to generate a script used by toolstack to launch stubdom. It relies paths generated when building Xen, so it should be part of xen.git. Signed-off-by: Wei Liu --- Makefile | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 875

[Xen-devel] [PATCH RFC v1 0/6] xen: split stubdom from xen.git

2016-03-10 Thread Wei Liu
git://xenbits.xen.org/people/liuw/xen.git wip.split-stubdom-v1 Wei Liu (6): config: don't hard-code mini-os path tools: use "?=" to set XEN_ROOT in Makefile libxc: use $XEN_ROOT to reference libelf in xen libxl: generate and install stubdompath.sh Unhook stubdom from build system Remov

[Xen-devel] [PATCH RFC v1 05/14] Makefile: replace MINI_OS with MINIOS_ROOT

2016-03-10 Thread Wei Liu
This is more in line with how other repositories are named. Also export MINI_OS with the same value to be backward compatible. Signed-off-by: Wei Liu --- Makefile | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index f3f5c0

[Xen-devel] [PATCH RFC v1 2/6] tools: use "?=" to set XEN_ROOT in Makefile

2016-03-10 Thread Wei Liu
This is because when doing a stubdom build using $(CURDIR) to refer to XEN_ROOT is wrong. Instead, when make enters directories of interest, XEN_ROOT is already. So use "?=" is the right choice. While in theory I can only fix up the places needed (a few libraries), do this for all Makefiles under

[Xen-devel] [PATCH RFC v1 08/14] Makefile: export STUBDOM_ROOT

2016-03-10 Thread Wei Liu
Mini-os needs to know where the libraries are when linking. Export a new environment variable called STBUDOM_ROOT so that mini-os knows the location of libraries. Signed-off-by: Wei Liu --- This needs to be used in conjunction with the patch to mini-os.git. --- Makefile | 1 + 1 file changed, 1

[Xen-devel] [PATCH RFC v1 2/2] Makefile: introduce STUBDOM_ROOT

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index cfe015a..db671e8 100644 --- a/Makefile +++ b/Makefile @@ -163,14 +163,15 @@ endif OBJS := $(filter-out $(OBJ_DIR)/lwip%.o $(LWO), $(OBJS)) +STUBDOM_

[Xen-devel] [PATCH RFC v1 5/6] Unhook stubdom from build system

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- I've run autogen.sh and commit configure change as well. --- Makefile | 55 ++ autogen.sh | 3 -- config/Stubdom.mk.in | 39 - configure| 75 conf

[Xen-devel] [PATCH RFC v1 6/6] Remove stubdom directory

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu [...] ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [PATCH RFC v1 06/14] pciutils: don't use hard-coded XEN_ROOT

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- pciutils.patch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pciutils.patch b/pciutils.patch index 5ab84d6..46af50a 100644 --- a/pciutils.patch +++ b/pciutils.patch @@ -33,12 +33,11 @@ diff -urN pciutils-2.2.9.orig/lib/access.c pciutils-2.2.9/li

[Xen-devel] [PATCH RFC v1 1/2] Config.mk: use MINI_OS if specified

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- Config.mk | 4 1 file changed, 4 insertions(+) diff --git a/Config.mk b/Config.mk index e5d8ade..788b0cb 100644 --- a/Config.mk +++ b/Config.mk @@ -31,6 +31,10 @@ MINI-OS_ROOT=$(XEN_ROOT)/extras/mini-os else MINI-OS_ROOT=$(TOPLEVEL_DIR) endif +# It is also poss

[Xen-devel] [PATCH RFC v1 03/14] Add a gitignore

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- .gitignore | 74 ++ 1 file changed, 74 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..241601e --- /dev/null +++ b/.gitignore @@ -0,0 +1,74

[Xen-devel] [PATCH RFC v1 12/14] Makefile: delete ioemu directory in clean target

2016-03-10 Thread Wei Liu
After we mandate an external QEMU tree there will only be object files in ioemu directory. Just delete the whole directory in make clean. Signed-off-by: Wei Liu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 84c5023..004d096 100644 ---

[Xen-devel] [PATCH RFC v1 13/14] Makefile: fix removing *.mk

2016-03-10 Thread Wei Liu
Now we have at least two mk files generated, fix the path and use glob. Signed-off-by: Wei Liu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 004d096..9de7db5 100644 --- a/Makefile +++ b/Makefile @@ -615,7 +615,7 @@ downloadclean: patch

[Xen-devel] [PATCH RFC v1 11/14] Makefile: always include Config.mk from xen source tree

2016-03-10 Thread Wei Liu
It contains various definitions needed in make clean. Signed-off-by: Wei Liu --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ff15d16..84c5023 100644 --- a/Makefile +++ b/Makefile @@ -20,9 +20,7 @@ export DISTDIR=$(STUBDOM_ROOT)/dist

[Xen-devel] [PATCH RFC v1 10/14] Makefile: require QEMU_ROOT to be defined

2016-03-10 Thread Wei Liu
Don't tread into xen.git and clone one there. Signed-off-by: Wei Liu --- Makefile | 27 +-- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index 19b80a0..ff15d16 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,10 @@ ifeq (,$(MINIOS_ROOT

[Xen-devel] [PATCH RFC v1 14/14] Add README file

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- Not sure what I should put in here other than building. And we also need COPYING file. --- README | 16 1 file changed, 16 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000..76def8b --- /dev/null

[Xen-devel] [PATCH RFC v1 00/14] stubdom: split stubdom from xen.git

2016-03-10 Thread Wei Liu
The base tree is prepared by: #!/bin/sh set -ex git filter-branch --tag-name-filter cat \ --subdirectory-filter stubdom/ -- --all # There is already a tag name 4.3.0-rc2 which points to the same commit. git tag -d xen-4.3.0-rc2 # Add xen- prefix to

[Xen-devel] [PATCH RFC v1 1/6] config: don't hard-code mini-os path

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- config/MiniOS.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/MiniOS.mk b/config/MiniOS.mk index 32260ad..191226e 100644 --- a/config/MiniOS.mk +++ b/config/MiniOS.mk @@ -1,5 +1,5 @@ include $(XEN_ROOT)/config/StdGNU.mk -include $(XEN_ROOT

[Xen-devel] [PATCH RFC v1 4/6] libxl: generate and install stubdompath.sh

2016-03-10 Thread Wei Liu
It's a script used by libxl to launch stubdom. This is split off from stubdom build system. Signed-off-by: Wei Liu --- .gitignore | 1 + tools/libxl/Makefile | 9 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 91f690c..00811e7 1006

[Xen-devel] [PATCH RFC v1 01/14] Import more files from xen.git

2016-03-10 Thread Wei Liu
Imported from top level build system in xen.git. Modify them to work with stubdom build environment. Signed-off-by: Wei Liu --- I've committed configure changes in this patch, feel free to drop that and regenerate while committing. Not sure what the version number of stubdom.git should be. Previ

[Xen-devel] [PATCH RFC v1 07/14] grub: don't use hard-coded XEN_ROOT

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- grub/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/grub/Makefile b/grub/Makefile index 26dff45..9d91779 100644 --- a/grub/Makefile +++ b/grub/Makefile @@ -1,4 +1,3 @@ -XEN_ROOT = $(CURDIR)/../.. include $(XEN_ROOT)/Config.mk vpath %.c ../grub-upstream

[Xen-devel] [PATCH RFC v1 02/14] Makefile: introduce dist target

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- Makefile | 4 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c8984d4..cfbaa99 100644 --- a/Makefile +++ b/Makefile @@ -642,6 +642,10 @@ downloadclean: patchclean distclean: downloadclean rm -rf config.log config.status config.cache

[Xen-devel] [PATCH RFC v1 0/2] mini-os: split stubdom from xen.git

2016-03-10 Thread Wei Liu
git://xenbits.xen.org/people/liuw/mini-os.git wip.split-stubdom-v1 Wei Liu (2): Config.mk: use MINI_OS if specified Makefile: introduce STUBDOM_ROOT Config.mk | 4 Makefile | 13 +++-- 2 files changed, 11 insertions(+), 6 deletions(-) -- 2.1.4 _

[Xen-devel] [PATCH RFC v1 04/14] Makefile: require XEN_ROOT and MINI_OS to be defined

2016-03-10 Thread Wei Liu
Signed-off-by: Wei Liu --- Makefile | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index cfbaa99..f3f5c02 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,10 @@ -XEN_ROOT = $(CURDIR)/.. -MINI_OS = $(XEN_ROOT)/extras/mini-os +ifeq (,$(XEN_ROOT))

[Xen-devel] [PATCH RFC v1 3/6] libxc: use $XEN_ROOT to reference libelf in xen

2016-03-10 Thread Wei Liu
Stubdom needs to compile and link libelf in xen. Using relative path breaks that. Signed-off-by: Wei Liu --- tools/libxc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index 1619c06..3a0a839 100644 --- a/tools/libxc/Ma

[Xen-devel] [RFC PATCH v1] Splitting off stubdom to a different tree

2016-03-10 Thread Wei Liu
Hi all This is a very RFC seris for splitting off stubdom from xen.git. It's RFC because: 1. There are some open questions -- see individual commits. 2. I haven't tested it, everything should compile though. 3. I'm not entirely sure about the arrangement between toolstack and stubdom is corre

Re: [Xen-devel] [PATCH v7]xen: sched: convert RTDS from time to event driven model

2016-03-10 Thread Dario Faggioli
On Thu, 2016-03-10 at 10:28 -0500, Meng Xu wrote: > On Thu, Mar 10, 2016 at 5:38 AM, Dario Faggioli > wrote: > > > > I don't think we really need to count anything. In fact, what I had > > in > > mind and tried to put down in pseudocode is that we traverse the > > list > > of replenishment events

Re: [Xen-devel] [PATCH] xen: sched: Add Meng as RTDS maintainer.

2016-03-10 Thread Wei Liu
On Thu, Mar 10, 2016 at 10:08:04AM -0500, Meng Xu wrote: > On Thu, Mar 10, 2016 at 9:42 AM, Dario Faggioli > wrote: > > Meng Xu is one of the maintainers of the RT-Xen project, > > which is from where the RTDS scheduler comes. He also > > is the main author of the version of RTDS that we currently

Re: [Xen-devel] [PATCH v7]xen: sched: convert RTDS from time to event driven model

2016-03-10 Thread Meng Xu
On Thu, Mar 10, 2016 at 5:38 AM, Dario Faggioli wrote: > On Wed, 2016-03-09 at 23:00 -0500, Meng Xu wrote: >> On Wed, Mar 9, 2016 at 10:46 AM, Dario Faggioli >> wrote: >> > >> > Basically, by doing all the replenishments (which includes updating >> > all >> > the deadlines) upfront, we should be

[Xen-devel] [PATCH v2 2/2] xen: add pvUSB backend

2016-03-10 Thread Juergen Gross
Add a backend for para-virtualized USB devices for xen domains. The backend is using host-libusb to forward USB requests from a domain via libusb to the real device(s) passed through. Signed-off-by: Juergen Gross --- V2: use xen_be_printf() instead of fprintf() for diagnostic prints as reque

[Xen-devel] [PATCH v2 1/2] xen: introduce dummy system device

2016-03-10 Thread Juergen Gross
Introduce a new dummy system device serving as parent for virtual buses. This will enable new pv backends to introduce virtual buses which are removable again opposed to system buses which are meant to stay once added. Signed-off-by: Juergen Gross --- V2: NOT changed, even if requested by Stefano

[Xen-devel] [PATCH v2 0/2] usb, xen: add pvUSB backend

2016-03-10 Thread Juergen Gross
This series adds a Xen pvUSB backend driver to qemu. USB devices connected to the host can be passed through to a Xen guest. The devices are specified via Xenstore. Access to the devices is done via host-libusb.c I've tested the backend with various USB devices (memory sticks, keyboard, ...). Cha

Re: [Xen-devel] [PATCH] xen: sched: Add Meng as RTDS maintainer.

2016-03-10 Thread Meng Xu
On Thu, Mar 10, 2016 at 9:42 AM, Dario Faggioli wrote: > Meng Xu is one of the maintainers of the RT-Xen project, > which is from where the RTDS scheduler comes. He also > is the main author of the version of RTDS that we currently > have here upstream. > > Since the upstreaming effort, he's conti

Re: [Xen-devel] [PATCH 1/2] libxl: ensure var is inited in libxl__domain_firmware

2016-03-10 Thread Doug Goldstein
On 3/8/16 9:38 AM, Wei Liu wrote: > On Mon, Mar 07, 2016 at 08:23:39PM -0600, Doug Goldstein wrote: >> Some versions of GCC complain that the 'firmware' variable can be used >> uninitialized. It looks like the switch inside of the else case is just >> confusing GCC. >> >> Signed-off-by: Doug Goldst

Re: [Xen-devel] [PATCH] xen: sched: Add Meng as RTDS maintainer.

2016-03-10 Thread George Dunlap
On 10/03/16 14:42, Dario Faggioli wrote: > Meng Xu is one of the maintainers of the RT-Xen project, > which is from where the RTDS scheduler comes. He also > is the main author of the version of RTDS that we currently > have here upstream. > > Since the upstreaming effort, he's continued looking a

[Xen-devel] [PATCH 3/3] libxl: add new pvusb backend "qusb" provided by qemu

2016-03-10 Thread Juergen Gross
Add a new pvusb backend type "qusb" which is provided by qemu. It can be selected either by specifying the type directly in the configuration or it is selected automatically by libxl in case there is no "usbback" driver loaded. Signed-off-by: Juergen Gross --- docs/man/xl.cfg.pod.5

[Xen-devel] [PATCH 1/3] libxl: make libxl__need_xenpv_qemu() operate on domain config

2016-03-10 Thread Juergen Gross
libxl__need_xenpv_qemu() is called with configuration data for console, vfbs, disks and channels today in order to evaluate the need for starting a device model for a pv domain. The console data is local to the caller and setup in a way to never require a device model. All other data is taken from

[Xen-devel] [PATCH 0/3] libxl: add support for qemu base pvusb backend

2016-03-10 Thread Juergen Gross
This patch series is meant to be applied on top of Chunyan's series to support pvusb in libxl. It is adding support for an alternative pvusb backend "qusb" via qemu. Juergen Gross (3): libxl: make libxl__need_xenpv_qemu() operate on domain config libxl: add domain config parameter to force s

[Xen-devel] [PATCH 2/3] libxl: add domain config parameter to force start of qemu

2016-03-10 Thread Juergen Gross
Today the device model (qemu) is started for a pv domain only in case a device requiring qemu is specified in the domain configuration (qdisk, vfb, channel). If there is no such device the device model isn't started and hence it is possible to add such a device to the domain later. Add a domain co

[Xen-devel] [PATCH] xen: sched: Add Meng as RTDS maintainer.

2016-03-10 Thread Dario Faggioli
Meng Xu is one of the maintainers of the RT-Xen project, which is from where the RTDS scheduler comes. He also is the main author of the version of RTDS that we currently have here upstream. Since the upstreaming effort, he's continued looking after the code, engaging with the community, coming an

Re: [Xen-devel] [PATCH v4 2/2] IOMMU/spinlock: Make the pcidevs_lock a recursive one.

2016-03-10 Thread Dario Faggioli
On Thu, 2016-03-10 at 07:32 -0700, Jan Beulich wrote: > > > > On 10.03.16 at 15:10, wrote: > > The pcidevs_lock is going to be recursively taken for hiding ATS > > device, when VT-d Device-TLB flush timed out. > > > > Signed-off-by: Quan Xu > > Acked-by: Kevin Tian > Acked-by: Jan Beulich > I

Re: [Xen-devel] [PATCH v4 2/2] IOMMU/spinlock: Make the pcidevs_lock a recursive one.

2016-03-10 Thread Jan Beulich
>>> On 10.03.16 at 15:10, wrote: > The pcidevs_lock is going to be recursively taken for hiding ATS > device, when VT-d Device-TLB flush timed out. > > Signed-off-by: Quan Xu > Acked-by: Kevin Tian Acked-by: Jan Beulich ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH] xen: Don't disable the REP emulation optimizations for regular IO

2016-03-10 Thread Tamas K Lengyel
On Mar 10, 2016 11:09, "Razvan Cojocaru" wrote: > > Currently REP emulations optimizations remain disabled even if > the emulation does not happen as a result of a vm_event reply > requestion emulation (i.e. even for regular IO). This patch takes > emulate_each_rep into account only if emulation h

[Xen-devel] [PATCH v4 2/2] IOMMU/spinlock: Make the pcidevs_lock a recursive one.

2016-03-10 Thread Quan Xu
The pcidevs_lock is going to be recursively taken for hiding ATS device, when VT-d Device-TLB flush timed out. Signed-off-by: Quan Xu Acked-by: Kevin Tian CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Suravee Suthikulpanit CC: Feng Wu CC: Kevin Tian CC: Dario Faggioli --- xen/arc

  1   2   >