Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Juergen Gross
On 11/05/16 08:35, Jan Beulich wrote: On 11.05.16 at 07:49, wrote: >> On 10/05/16 18:35, Boris Ostrovsky wrote: >>> On 05/10/2016 11:43 AM, Juergen Gross wrote: On 10/05/16 17:35, Jan Beulich wrote: On 10.05.16 at 17:19, wrote: >> On 10/05/16 15:57, Jan Beulich wrote: >

Re: [Xen-devel] [PATCH v4 03/10] IOMMU/MMU: enhance the call trees of IOMMU unmapping and mapping

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 05:39, wrote: > On May 10, 2016 4:44 PM, Jan Beulich wrote: >> >>> On 06.05.16 at 10:54, wrote: >> > --- a/xen/arch/x86/mm/p2m.c >> > +++ b/xen/arch/x86/mm/p2m.c >> > @@ -638,13 +638,20 @@ p2m_remove_page(struct p2m_domain *p2m, >> unsigned long gfn, unsigned long mfn, >> >

Re: [Xen-devel] [PATCH v4 07/10] IOMMU: propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{, _all} (leaf ones).

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 08:47, wrote: > On May 10, 2016 5:07 PM, Jan Beulich wrote: >> >>> On 06.05.16 at 10:54, wrote: >> > --- a/xen/drivers/passthrough/vtd/iommu.c >> > +++ b/xen/drivers/passthrough/vtd/iommu.c >> > @@ -604,15 +604,15 @@ static int iommu_flush_iotlb(struct domain *d, >> unsigned l

Re: [Xen-devel] [PATCH v4 07/10] IOMMU: propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{, _all} (leaf ones).

2016-05-11 Thread Xu, Quan
On May 11, 2016 3:06 PM, Jan Beulich wrote: > >>> On 11.05.16 at 08:47, wrote: > > On May 10, 2016 5:07 PM, Jan Beulich wrote: > >> >>> On 06.05.16 at 10:54, wrote: > >> > --- a/xen/drivers/passthrough/vtd/iommu.c > >> > +++ b/xen/drivers/passthrough/vtd/iommu.c > >> > @@ -604,15 +604,15 @@ sta

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 09:00, wrote: > Having a Xen specific pte flag seems to be much more intrusive than > having an early boot page fault handler consisting of just one line > being capable to mimic the default handler in just one aspect (see > attached patch - only compile tested). Well, this sim

Re: [Xen-devel] [PATCH v4 07/10] IOMMU: propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{, _all} (leaf ones).

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 09:12, wrote: > On May 11, 2016 3:06 PM, Jan Beulich wrote: >> >>> On 11.05.16 at 08:47, wrote: >> > On May 10, 2016 5:07 PM, Jan Beulich wrote: >> >> >>> On 06.05.16 at 10:54, wrote: >> >> > --- a/xen/drivers/passthrough/vtd/iommu.c >> >> > +++ b/xen/drivers/passthrough/vtd

Re: [Xen-devel] [PATCH v4 07/10] IOMMU: propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{, _all} (leaf ones).

2016-05-11 Thread Xu, Quan
On May 11, 2016 3:17 PM, Jan Beulich wrote: > >>> On 11.05.16 at 09:12, wrote: > > On May 11, 2016 3:06 PM, Jan Beulich wrote: > >> >>> On 11.05.16 at 08:47, wrote: > >> > On May 10, 2016 5:07 PM, Jan Beulich wrote: > >> >> >>> On 06.05.16 at 10:54, wrote: > >> >> > --- a/xen/drivers/passthro

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

2016-05-11 Thread osstest service owner
flight 93963 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/93963/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt-xsm 9 debian-installfail REGR. vs. 93920 test-amd64-i386-xl-q

Re: [Xen-devel] [PATCH v4 08/10] vt-d/ept: propagate IOMMU Device-TLB flush error up to EPT update.

2016-05-11 Thread Xu, Quan
On Tuesday, May 10, 2016 5:10 PM, Jan Beulich wrote: > >>> On 06.05.16 at 10:54, wrote: > > --- a/xen/arch/x86/mm/p2m-ept.c > > +++ b/xen/arch/x86/mm/p2m-ept.c > > @@ -832,7 +832,8 @@ out: > > need_modify_vtd_table ) > > { > > if ( iommu_hap_pt_share ) > > -iom

Re: [Xen-devel] [PATCH v4 07/10] IOMMU: propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{, _all} (leaf ones).

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 09:20, wrote: > On May 11, 2016 3:17 PM, Jan Beulich wrote: >> >>> On 11.05.16 at 09:12, wrote: >> > On May 11, 2016 3:06 PM, Jan Beulich wrote: >> >> >>> On 11.05.16 at 08:47, wrote: >> >> > On May 10, 2016 5:07 PM, Jan Beulich wrote: >> >> >> >>> On 06.05.16 at 10:54, wr

[Xen-devel] [qemu-upstream-4.6-testing test] 93974: tolerable FAIL - PUSHED

2016-05-11 Thread osstest service owner
flight 93974 qemu-upstream-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/93974/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-arndale 6 xen-boot fail like 93357 test-amd64-i386-

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail

2016-05-11 Thread Big Strong
>From what I analyzed, can I draw a concolusion that the current implementation of do_altp2m_op means #ve info page can only be set on dom0 memory and the dom0 must be a hvm? This seems like ridiculous as dom0 is a special pv guest. 2016-05-11 11:37 GMT+08:00 Big Strong : > Further debugging show

[Xen-devel] [PATCH] xen/arm: mm: optimize setup_pagetables

2016-05-11 Thread Peng Fan
Before relocating xen to high address, need to build the mapping BOOT_RELOC_VIRT_START to xen_paddr into boot_pgtable and xen_pgtable. In setup_pagetables, relocate_xen will switch the root page table from boot_pgtable to xen_pgtable/cpu0_pgtable. Before relocate_xen: If touching xen_pgtable, no

Re: [Xen-devel] bad page flags booting 32bit dom0 on 64bit hypervisor using dom0_mem (kernel >=4.2)

2016-05-11 Thread Stefan Bader
On 02.05.2016 16:24, Stefan Bader wrote: > On 02.05.2016 13:41, Juergen Gross wrote: >> On 02/05/16 12:47, Stefan Bader wrote: >>> I recently tried to boot 32bit dom0 on 64bit Xen host which I configured to >>> run >>> with a limited, fix amount of memory for dom0. It seems that somewhere >>> bet

Re: [Xen-devel] [PATCH v4 10/10] vt-d: propagate error up to ME phantom function mapping and unmapping

2016-05-11 Thread Xu, Quan
On May 10, 2016 5:29 PM, Jan Beulich wrote: > >>> On 06.05.16 at 10:54, wrote: > > @@ -1430,7 +1430,12 @@ int domain_context_mapping_one( > > unmap_vtd_domain_page(context_entries); > > > > if ( !seg ) > > -me_wifi_quirk(domain, bus, devfn, MAP_ME_PHANTOM_FUNC); > > +{ > > +

[Xen-devel] [distros-debian-squeeze test] 44404: trouble: blocked/broken

2016-05-11 Thread Platform Team regression test user
flight 44404 distros-debian-squeeze real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/44404/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvops 4 capture-logs !broken

Re: [Xen-devel] [PATCH v3 2/3] xen: write information about supported backends

2016-05-11 Thread Juergen Gross
On 10/05/16 18:21, Anthony PERARD wrote: > On Fri, May 06, 2016 at 11:42:45AM +0200, Juergen Gross wrote: >> Add a Xenstore directory for each supported pv backend. This will allow >> Xen tools to decide which backend type to use in case there are >> multiple possibilities. >> >> The information is

Re: [Xen-devel] [PATCH v4 03/10] IOMMU/MMU: enhance the call trees of IOMMU unmapping and mapping

2016-05-11 Thread George Dunlap
On Wed, May 11, 2016 at 3:26 AM, Xu, Quan wrote: > Agreed. Thanks for your careful checking. > > Check it again -- > 1. then I am no need to check 'rc' as below: > > if ( rc == 0 && p2m_is_hostp2m(p2m) && need_iommu(d) && >need_modify_vtd_table ) > { > +

[Xen-devel] [qemu-upstream-4.4-testing test] 93978: regressions - FAIL

2016-05-11 Thread osstest service owner
flight 93978 qemu-upstream-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/93978/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-pv 17 guest-localmigrate/x10fail REGR. vs. 83041 Regress

Re: [Xen-devel] [PATCH v4 03/10] IOMMU/MMU: enhance the call trees of IOMMU unmapping and mapping

2016-05-11 Thread Xu, Quan
On May 11, 2016 4:46 PM, George Dunlap wrote: > On Wed, May 11, 2016 at 3:26 AM, Xu, Quan wrote: > > Agreed. Thanks for your careful checking. > > > > Check it again -- > > 1. then I am no need to check 'rc' as below: > > > > if ( rc == 0 && p2m_is_hostp2m(p2m) && need_iommu(d) && > >

Re: [Xen-devel] [PATCH v4 10/10] vt-d: propagate error up to ME phantom function mapping and unmapping

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 10:35, wrote: > On May 10, 2016 5:29 PM, Jan Beulich wrote: >> >>> On 06.05.16 at 10:54, wrote: >> > @@ -1430,7 +1430,12 @@ int domain_context_mapping_one( >> > unmap_vtd_domain_page(context_entries); >> > >> > if ( !seg ) >> > -me_wifi_quirk(domain, bus, dev

Re: [Xen-devel] [PATCH] xen/arm: mm: optimize setup_pagetables

2016-05-11 Thread Julien Grall
Hi Peng, I would rename the title: "xen/arm: mm: remove unnecessary tlb flush in setup_pagetables". On 11/05/2016 08:59, Peng Fan wrote: Before relocating xen to high address, need to build the mapping BOOT_RELOC_VIRT_START to xen_paddr into boot_pgtable and xen_pgtable. In setup_pagetables,

Re: [Xen-devel] [PATCH v3 3/6] build: convert verbose to Kconfig

2016-05-11 Thread Jan Beulich
>>> On 10.05.16 at 23:05, wrote: > --- a/xen/Kconfig.debug > +++ b/xen/Kconfig.debug > @@ -15,4 +15,11 @@ config DEBUG > option is intended for development purposes only, and not for > production use. > > +config VERBOSE_DEBUG > + bool "Verbose debug messages" > + default

[Xen-devel] [qemu-upstream-unstable baseline-only test] 44403: regressions - trouble: blocked/broken/fail/pass

2016-05-11 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 44403 qemu-upstream-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/44403/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 4 captu

Re: [Xen-devel] [PATCH v3 2/6] build: convert crash_debug to Kconfig

2016-05-11 Thread Jan Beulich
>>> On 10.05.16 at 23:05, wrote: > --- a/xen/Kconfig.debug > +++ b/xen/Kconfig.debug > @@ -1,6 +1,13 @@ > > menu "Debugging Options" > > +config CRASH_DEBUG > + bool "Crash Debugging Support" > + depends on X86 > + ---help--- > + If you want to be able to attach gdb to Xen t

Re: [Xen-devel] [PATCH v9 12/27] xsplice: Implement support for applying/reverting/replacing patches.

2016-05-11 Thread Martin Pohlack
On 27.04.2016 05:39, Konrad Rzeszutek Wilk wrote: [...] > +/* "Mask" NMIs. */ > +arch_xsplice_mask(); You mask here ... > +barrier(); /* MUST do it after get_cpu_maps. */ > +cpus = num_online_cpus() - 1; > + > +if ( cpus ) > +{ > +dprint

Re: [Xen-devel] [PATCH v3 5/6] build: convert perfc{, _arrays} to Kconfig

2016-05-11 Thread Jan Beulich
>>> On 10.05.16 at 23:05, wrote: > Convert the 'perfc' and 'perfc_arrays' options to Kconfig as > CONFIG_PERF_COUNTERS and CONFIG_PERF_ARRAYS to minimize code changes. I don't understand the "to minimize code changes" part. > @@ -12,18 +10,15 @@ lto ?= n > > include $(XEN_ROOT)/Conf

Re: [Xen-devel] [PATCH] xen/arm: mm: optimize setup_pagetables

2016-05-11 Thread Peng Fan
Hi Julien, On Wed, May 11, 2016 at 10:31:49AM +0100, Julien Grall wrote: >Hi Peng, > >I would rename the title: "xen/arm: mm: remove unnecessary tlb flush in >setup_pagetables". Thanks. Will fix in V2. > >On 11/05/2016 08:59, Peng Fan wrote: >>Before relocating xen to high address, need to build

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Juergen Gross
On 11/05/16 09:15, Jan Beulich wrote: On 11.05.16 at 09:00, wrote: >> Having a Xen specific pte flag seems to be much more intrusive than >> having an early boot page fault handler consisting of just one line >> being capable to mimic the default handler in just one aspect (see >> attached pa

Re: [Xen-devel] [REVERT] blktap2: Use RING_COPY_REQUEST

2016-05-11 Thread Jan Beulich
>>> On 02.05.16 at 12:16, wrote: > On Fri, Apr 22, 2016 at 02:44:25AM -0600, Jan Beulich wrote: >> Short of getting any feedback on the previous discussion item >> http://lists.xenproject.org/archives/html/xen-devel/2016-03/msg00571.html >> here's a formal revert request: Please revert commit 19f

Re: [Xen-devel] [PATCH] xen/arm: mm: optimize setup_pagetables

2016-05-11 Thread Julien Grall
On 11/05/2016 10:57, Peng Fan wrote: Hi Julien, Hi Peng, On Wed, May 11, 2016 at 10:31:49AM +0100, Julien Grall wrote: [...] diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 94ea054..bebd82f 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -443,12 +443,6 @@ void __init

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 11:57, wrote: > On 11/05/16 09:15, Jan Beulich wrote: > On 11.05.16 at 09:00, wrote: >>> Having a Xen specific pte flag seems to be much more intrusive than >>> having an early boot page fault handler consisting of just one line >>> being capable to mimic the default handle

Re: [Xen-devel] [PATCH] xen/arm: mm: optimize setup_pagetables

2016-05-11 Thread Peng Fan
On Wed, May 11, 2016 at 11:03:06AM +0100, Julien Grall wrote: > > >On 11/05/2016 10:57, Peng Fan wrote: >>Hi Julien, > >Hi Peng, > >>On Wed, May 11, 2016 at 10:31:49AM +0100, Julien Grall wrote: >>> >>>[...] >>> diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 94ea054..bebd82f 10064

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Juergen Gross
On 11/05/16 12:03, Jan Beulich wrote: On 11.05.16 at 11:57, wrote: >> On 11/05/16 09:15, Jan Beulich wrote: >> On 11.05.16 at 09:00, wrote: Having a Xen specific pte flag seems to be much more intrusive than having an early boot page fault handler consisting of just one line >>

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread David Vrabel
On 11/05/16 08:00, Juergen Gross wrote: > On 11/05/16 08:35, Jan Beulich wrote: > On 11.05.16 at 07:49, wrote: >>> On 10/05/16 18:35, Boris Ostrovsky wrote: On 05/10/2016 11:43 AM, Juergen Gross wrote: > On 10/05/16 17:35, Jan Beulich wrote: > On 10.05.16 at 17:19, wrote: >>>

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

2016-05-11 Thread osstest service owner
flight 94022 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/94022/ 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 v3 3/3] xen: add pvUSB backend

2016-05-11 Thread Anthony PERARD
On Fri, May 06, 2016 at 11:42:46AM +0200, Juergen Gross wrote: > 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 Acked-b

[Xen-devel] [xen-unstable-coverity test] 94026: all pass - PUSHED

2016-05-11 Thread osstest service owner
flight 94026 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/94026/ Perfect :-) All tests in this flight passed version targeted for testing: xen c79fc6c4bee28b40948838a760b4aaadf6b5cd47 baseline version: xen f8c66c2ad2efdb281e

Re: [Xen-devel] [PATCH v3 2/3] xen: write information about supported backends

2016-05-11 Thread Anthony PERARD
On Wed, May 11, 2016 at 10:36:28AM +0200, Juergen Gross wrote: > On 10/05/16 18:21, Anthony PERARD wrote: > > On Fri, May 06, 2016 at 11:42:45AM +0200, Juergen Gross wrote: > >> -static int xen_config_dev_mkdir(char *dev, int p) > >> -{ > >> -struct xs_permissions perms[2] = {{ > >> -

[Xen-devel] Announcing Xen Project 4.7 RC and Test Day Schedule

2016-05-11 Thread Lars Kurth
Dear Community members, Yesterday, we created Xen 4.7 RC2 and will release a new release candidate every Wednesday, until we declare a release candidate as the final candidate and cut the Xen 4.7 release. We will also hold a Test Day [1] every Friday for the release candidate that was released

[Xen-devel] [PATCH for-4.7 1/2] hotplug: Fix xendomains lock path for RHEL-based systems

2016-05-11 Thread George Dunlap
Commit c996572 changed the LOCKFILE path from a check between two hardcoded paths (/var/lock/subsys/ or /var/lock) to using the XEN_LOCK_DIR variable designated at configure time. Since XEN_LOCK_DIR doesn't (and shouldn't) have the 'subsys' postfix, this effectively moves all the lock files by def

[Xen-devel] [PATCH for-4.7 2/2] tools/xendomains: Create lockfile on start unconditionally

2016-05-11 Thread George Dunlap
At the moment, the xendomains init script will only create a lockfile if when started, it actually does something -- either tries to restore a previously saved domain as a result of XENDOMAINS_RESTORE, or tries to create a domain as a result of XENDOMAINS_AUTO. RedHat-based SYSV init systems try t

Re: [Xen-devel] [PATCH for-4.7 2/2] tools/xendomains: Create lockfile on start unconditionally

2016-05-11 Thread George Dunlap
On 11/05/16 12:14, George Dunlap wrote: > At the moment, the xendomains init script will only create a lockfile > if when started, it actually does something -- either tries to restore > a previously saved domain as a result of XENDOMAINS_RESTORE, or tries > to create a domain as a result of XENDOM

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 12:10, wrote: > On 11/05/16 12:03, Jan Beulich wrote: > On 11.05.16 at 11:57, wrote: >>> On 11/05/16 09:15, Jan Beulich wrote: >>> On 11.05.16 at 09:00, wrote: > Having a Xen specific pte flag seems to be much more intrusive than > having an early boot page fau

[Xen-devel] live migrating hvm from 4.4 to 4.7 fails in ioreq server

2016-05-11 Thread Olaf Hering
Migrating a HVM guest from staging-4.4 to staging fails: # cat /var/log/xen/qemu-dm-fv-x64-sles12sp1-clean--incoming.log char device redirected to /dev/pts/3 (label serial0) xen: ioreq server create: Cannot allocate memory qemu-system-x86_64: xen hardware virtual machine initialisation failed Loo

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 12:16, wrote: > On 11/05/16 08:00, Juergen Gross wrote: >> Adding David as he removed _PAGE_IOMAP in kernel 3.18. > > Why don't we get the RW bits correct when making the pteval when we > already have the pfn, instead trying to fix it up afterwards. While it looks like this wo

Re: [Xen-devel] live migrating hvm from 4.4 to 4.7 fails in ioreq server

2016-05-11 Thread Andrew Cooper
On 11/05/16 13:18, Olaf Hering wrote: > Migrating a HVM guest from staging-4.4 to staging fails: > > # cat /var/log/xen/qemu-dm-fv-x64-sles12sp1-clean--incoming.log > char device redirected to /dev/pts/3 (label serial0) > xen: ioreq server create: Cannot allocate memory > qemu-system-x86_64: xen ha

Re: [Xen-devel] [PATCH] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-05-11 Thread Matt Fleming
On Fri, 06 May, at 04:32:06PM, Shannon Zhao wrote: > From: Shannon Zhao > > Add a new function to parse DT parameters for Xen specific UEFI just > like the way for normal UEFI. Then it could reuse the existing codes. > > If Xen supports EFI, initialize runtime services. This commit log would b

Re: [Xen-devel] [PATCH] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-05-11 Thread Matt Fleming
On Fri, 06 May, at 09:52:42AM, Mathieu Poirier wrote: > > +static int __init efi_remap_init(void) > > +{ > > + u64 mapsize; > > + > > + pr_info("Remapping and enabling EFI services.\n"); > > + > > + mapsize = memmap.map_end - memmap.map; > > + memmap.map = (__force void *)io

Re: [Xen-devel] live migrating hvm from 4.4 to 4.7 fails in ioreq server

2016-05-11 Thread Olaf Hering
On Wed, May 11, Andrew Cooper wrote: > On 11/05/16 13:18, Olaf Hering wrote: > > Migrating a HVM guest from staging-4.4 to staging fails: > > > > # cat /var/log/xen/qemu-dm-fv-x64-sles12sp1-clean--incoming.log > > char device redirected to /dev/pts/3 (label serial0) > > xen: ioreq server create: C

Re: [Xen-devel] live migrating hvm from 4.4 to 4.7 fails in ioreq server

2016-05-11 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: 11 May 2016 13:23 > To: Olaf Hering; xen-devel@lists.xen.org; Paul Durrant > Subject: Re: [Xen-devel] live migrating hvm from 4.4 to 4.7 fails in ioreq > server > > On 11/05/16 13:18, Olaf Hering wrote: >

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread David Vrabel
On 11/05/16 13:21, Jan Beulich wrote: On 11.05.16 at 12:16, wrote: >> On 11/05/16 08:00, Juergen Gross wrote: >>> Adding David as he removed _PAGE_IOMAP in kernel 3.18. >> >> Why don't we get the RW bits correct when making the pteval when we >> already have the pfn, instead trying to fix it

[Xen-devel] [PATCH] Xen: don't warn about 2-byte wchar_t in efi

2016-05-11 Thread Arnd Bergmann
The XEN UEFI code has become available on the ARM architecture recently, but now causes a link-time warning: ld: warning: drivers/xen/efi.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail This seems harmless, because the efi code only us

[Xen-devel] [xen-4.5-testing test] 93989: tolerable FAIL - PUSHED

2016-05-11 Thread osstest service owner
flight 93989 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/93989/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-libvirt 14 guest-saverestore fail in 93928 pass in 93989 test-armhf-armhf-xl 15 guest-

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

2016-05-11 Thread osstest service owner
flight 94028 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/94028/ 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] live migrating hvm from 4.4 to 4.7 fails in ioreq server

2016-05-11 Thread Olaf Hering
On Wed, May 11, Olaf Hering wrote: > Migration from staging-4.4 to staging-4.6 fails in the same way. We did > not have a 4.6 based Xen, so noone noticed until now. And migration from staging-4.5 to staging works as well. So this leaves staging-4.4. Olaf

[Xen-devel] [PATCH] xen: remove incorrect forward declaration

2016-05-11 Thread Arnd Bergmann
A bugfix patch for the xen balloon driver introduced a forward declaration for a static function that is conditionally compiled, causing a warning if only the declaration but not the definition are there: drivers/xen/balloon.c:154:13: error: 'release_memory_resource' declared 'static' but never d

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Jan Beulich
>>> On 11.05.16 at 14:48, wrote: > On 11/05/16 13:21, Jan Beulich wrote: > On 11.05.16 at 12:16, wrote: >>> On 11/05/16 08:00, Juergen Gross wrote: Adding David as he removed _PAGE_IOMAP in kernel 3.18. >>> >>> Why don't we get the RW bits correct when making the pteval when we >>> alrea

Re: [Xen-devel] crash on boot with 4.6.1 on fedora 24

2016-05-11 Thread Juergen Gross
On 11/05/16 14:48, David Vrabel wrote: > On 11/05/16 13:21, Jan Beulich wrote: > On 11.05.16 at 12:16, wrote: >>> On 11/05/16 08:00, Juergen Gross wrote: Adding David as he removed _PAGE_IOMAP in kernel 3.18. >>> >>> Why don't we get the RW bits correct when making the pteval when we >>>

Re: [Xen-devel] [PATCH] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-05-11 Thread Shannon Zhao
On 2016年05月11日 20:27, Matt Fleming wrote: > On Fri, 06 May, at 04:32:06PM, Shannon Zhao wrote: >> > From: Shannon Zhao >> > >> > Add a new function to parse DT parameters for Xen specific UEFI just >> > like the way for normal UEFI. Then it could reuse the existing codes. >> > >> > If Xen suppor

Re: [Xen-devel] [REVERT] blktap2: Use RING_COPY_REQUEST

2016-05-11 Thread Wei Liu
On Wed, May 11, 2016 at 04:00:39AM -0600, Jan Beulich wrote: > >>> On 02.05.16 at 12:16, wrote: > > On Fri, Apr 22, 2016 at 02:44:25AM -0600, Jan Beulich wrote: > >> Short of getting any feedback on the previous discussion item > >> http://lists.xenproject.org/archives/html/xen-devel/2016-03/msg00

[Xen-devel] panic("queue invalidate wait descriptor was not executed\n")

2016-05-11 Thread Zytaruk, Kelly
During Xen boot I am seeing the panic in the subject line from .../xen/drivers/passthrough/vgt/qinval.c From the Fault Status Register (= 0x40 (ITE)). I am seeing a hardware timeout on the invalidate Disabling queued invalidation is not an option. I need to find out why the operation is timin

[Xen-devel] [qemu-upstream-4.6-testing baseline-only test] 44405: regressions - trouble: blocked/broken/fail/pass

2016-05-11 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 44405 qemu-upstream-4.6-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/44405/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-xsm 4 ca

Re: [Xen-devel] potential problem with qdisk backend

2016-05-11 Thread Juergen Gross
On 06/05/16 13:41, Juergen Gross wrote: > Looking at the qdisk backend implementation I wondered whether > blkif_get_x86_32_req() is really correct, especially for the > BLKIF_OP_DISCARD case. The Linux kernel based blk backend seems to > distinguish 32- and 64-bit layouts of blkif_request_discard

Re: [Xen-devel] [PATCH v9 12/27] xsplice: Implement support for applying/reverting/replacing patches.

2016-05-11 Thread Konrad Rzeszutek Wilk
On Wed, May 11, 2016 at 11:51:53AM +0200, Martin Pohlack wrote: > On 27.04.2016 05:39, Konrad Rzeszutek Wilk wrote: > [...] > > +/* "Mask" NMIs. */ > > +arch_xsplice_mask(); > > You mask here ... > > > +barrier(); /* MUST do it after get_cpu_maps. */ > > +cpus = nu

[Xen-devel] [PATCH] xsplice: Unmask (aka reinstall NMI handler) if we need to abort.

2016-05-11 Thread Konrad Rzeszutek Wilk
If we have to abort in xsplice_spin() we end following the goto abort. But unfortunataly we neglected to unmask. This patch fixes that. Reported-by: Martin Pohlack Signed-off-by: Konrad Rzeszutek Wilk --- Cc: jbeul...@suse.com Cc: This has been since v6 posting. v5 posting used the set_nmi_ca

Re: [Xen-devel] [REVERT] blktap2: Use RING_COPY_REQUEST

2016-05-11 Thread Konrad Rzeszutek Wilk
On Wed, May 11, 2016 at 02:44:19PM +0100, Wei Liu wrote: > On Wed, May 11, 2016 at 04:00:39AM -0600, Jan Beulich wrote: > > >>> On 02.05.16 at 12:16, wrote: > > > On Fri, Apr 22, 2016 at 02:44:25AM -0600, Jan Beulich wrote: > > >> Short of getting any feedback on the previous discussion item > > >

Re: [Xen-devel] [PATCH] xsplice: Unmask (aka reinstall NMI handler) if we need to abort.

2016-05-11 Thread Wei Liu
On Wed, May 11, 2016 at 09:59:08AM -0400, Konrad Rzeszutek Wilk wrote: > If we have to abort in xsplice_spin() we end following > the goto abort. But unfortunataly we neglected to unmask. > This patch fixes that. > > Reported-by: Martin Pohlack > Signed-off-by: Konrad Rzeszutek Wilk > Reviewed

Re: [Xen-devel] [PATCH] xen: remove incorrect forward declaration

2016-05-11 Thread Juergen Gross
On 11/05/16 15:07, Arnd Bergmann wrote: > A bugfix patch for the xen balloon driver introduced a forward > declaration for a static function that is conditionally compiled, > causing a warning if only the declaration but not the definition > are there: > > drivers/xen/balloon.c:154:13: error: 'rel

Re: [Xen-devel] [PATCH for-4.7 1/2] hotplug: Fix xendomains lock path for RHEL-based systems

2016-05-11 Thread Wei Liu
On Wed, May 11, 2016 at 12:14:44PM +0100, George Dunlap wrote: > Commit c996572 changed the LOCKFILE path from a check between two > hardcoded paths (/var/lock/subsys/ or /var/lock) to using the > XEN_LOCK_DIR variable designated at configure time. Since > XEN_LOCK_DIR doesn't (and shouldn't) have

Re: [Xen-devel] [PATCH for-4.7 2/2] tools/xendomains: Create lockfile on start unconditionally

2016-05-11 Thread Wei Liu
On Wed, May 11, 2016 at 12:19:45PM +0100, George Dunlap wrote: > On 11/05/16 12:14, George Dunlap wrote: > > At the moment, the xendomains init script will only create a lockfile > > if when started, it actually does something -- either tries to restore > > a previously saved domain as a result of

Re: [Xen-devel] [PATCH for-4.7 2/2] tools/xendomains: Create lockfile on start unconditionally

2016-05-11 Thread Wei Liu
On Wed, May 11, 2016 at 12:14:45PM +0100, George Dunlap wrote: > At the moment, the xendomains init script will only create a lockfile > if when started, it actually does something -- either tries to restore > a previously saved domain as a result of XENDOMAINS_RESTORE, or tries > to create a domai

Re: [Xen-devel] [PATCH] xsplice: Unmask (aka reinstall NMI handler) if we need to abort.

2016-05-11 Thread Andrew Cooper
On 11/05/16 14:59, Konrad Rzeszutek Wilk wrote: > If we have to abort in xsplice_spin() we end following > the goto abort. But unfortunataly we neglected to unmask. > This patch fixes that. > > Reported-by: Martin Pohlack > Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Andrew Cooper __

Re: [Xen-devel] [PATCH for-4.7 1/2] hotplug: Fix xendomains lock path for RHEL-based systems

2016-05-11 Thread Olaf Hering
On Wed, May 11, George Dunlap wrote: > Commit c996572 changed the LOCKFILE path from a check between two > hardcoded paths (/var/lock/subsys/ or /var/lock) to using the > XEN_LOCK_DIR variable designated at configure time. Since > XEN_LOCK_DIR doesn't (and shouldn't) have the 'subsys' postfix, th

Re: [Xen-devel] [PATCH for-4.7 2/2] tools/xendomains: Create lockfile on start unconditionally

2016-05-11 Thread Olaf Hering
On Wed, May 11, George Dunlap wrote: > At the moment, the xendomains init script will only create a lockfile > if when started, it actually does something -- either tries to restore > a previously saved domain as a result of XENDOMAINS_RESTORE, or tries > to create a domain as a result of XENDOMAI

[Xen-devel] Please reconsider bug 26

2016-05-11 Thread Sébastien Chaumat
Hello, http://bugs.xenproject.org/xen/bug/26 is nearly 3yrs old. (bassically one can attach the same vbd rw to 2 domUs with xl without warning ) Combined with a distribution behavior like https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1572446 (a trailing domu.cfg~ backup file will be

Re: [Xen-devel] [PATCH] xen: remove incorrect forward declaration

2016-05-11 Thread Ross Lagerwall
On 05/11/2016 03:05 PM, Juergen Gross wrote: On 11/05/16 15:07, Arnd Bergmann wrote: A bugfix patch for the xen balloon driver introduced a forward declaration for a static function that is conditionally compiled, causing a warning if only the declaration but not the definition are there: drive

[Xen-devel] [PATCH] xen: sched: rtds: refactor code

2016-05-11 Thread Tianyang Chen
No functional change: -Various coding style fix -Added comments for UPDATE_LIMIT_SHIFT. Use non-atomic bit-ops: -Vcpu flags are checked and cleared atomically. Performance can be improved with corresponding non-atomic versions since schedule.c already has spin_locks in place. Suggested-by:

Re: [Xen-devel] [PATCH net-next v2 2/4] xen-netback: add control protocol implementation

2016-05-11 Thread Paul Durrant
> -Original Message- > From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: 11 May 2016 16:16 > To: xen-de...@lists.xenproject.org; net...@vger.kernel.org > Cc: Paul Durrant; Wei Liu > Subject: [PATCH net-next v2 2/4] xen-netback: add control protocol > implementation > > My recent

[Xen-devel] [xen-4.6-testing test] 94000: regressions - FAIL

2016-05-11 Thread osstest service owner
flight 94000 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94000/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-arndale 7 host-ping-check-xen fail REGR. vs. 93932 Regressions which

[Xen-devel] [PATCH net-next v3 2/4] xen-netback: add control protocol implementation

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new shared ring (in addition to the rx and tx rings) for passing control messages from a VM frontend driver to a backend driver. A previous patch added the necessary boilerplate for mapping the control ring from the frontend, should it

[Xen-devel] [PATCH net-next v2 0/4] xen-netback: support for control ring

2016-05-11 Thread Paul Durrant
My recent patch to import an up-to-date include/xen/interface/io/netif.h from the Xen Project brought in the necessary definitions to support the new control shared ring and protocol. This patch series updates xen-netback to support the new ring. Patch #1 adds the necessary boilerplate to map the

[Xen-devel] [PATCH net-next v2 1/4] xen-netback: add control ring boilerplate

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new shared ring (in addition to the rx and tx rings) for passing control messages from a VM frontend driver to a backend driver. This patch adds the necessary code to xen-netback to map this new shared ring, should it be created by a fr

[Xen-devel] [PATCH net-next v3 1/4] xen-netback: add control ring boilerplate

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new shared ring (in addition to the rx and tx rings) for passing control messages from a VM frontend driver to a backend driver. This patch adds the necessary code to xen-netback to map this new shared ring, should it be created by a fr

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail

2016-05-11 Thread Big Strong
Is that a bug or does #ve info page can only exist on dom0? If this is true, why would there be a is_hvm_domain check which will stop the execution of xc_altp2m_vcpu_enable_notify? 2016-05-11 15:56 GMT+08:00 Big Strong : > From what I analyzed, can I draw a concolusion that the current > implemen

[Xen-devel] [PATCH net-next v3 3/4] xen-netback: pass hash value to the frontend

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new extra info type that can be used to pass hash values between backend and guest frontend. This patch adds code to xen-netback to pass hash values calculated for guest receive-side packets (i.e. netback transmit side) to the frontend.

[Xen-devel] [PATCH net-next v2 2/4] xen-netback: add control protocol implementation

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new shared ring (in addition to the rx and tx rings) for passing control messages from a VM frontend driver to a backend driver. A previous patch added the necessary boilerplate for mapping the control ring from the frontend, should it

[Xen-devel] [PATCH net-next v3 4/4] xen-netback: use hash value from the frontend

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new extra info type that can be used to pass hash values between backend and guest frontend. This patch adds code to xen-netback to use the value in a hash extra info fragment passed from the guest frontend in a transmit-side (i.e. netb

[Xen-devel] [PATCH net-next v3 0/4] xen-netback: support for control ring

2016-05-11 Thread Paul Durrant
My recent patch to import an up-to-date include/xen/interface/io/netif.h from the Xen Project brought in the necessary definitions to support the new control shared ring and protocol. This patch series updates xen-netback to support the new ring. Patch #1 adds the necessary boilerplate to map the

[Xen-devel] [PATCH net-next v2 4/4] xen-netback: use hash value from the frontend

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new extra info type that can be used to pass hash values between backend and guest frontend. This patch adds code to xen-netback to use the value in a hash extra info fragment passed from the guest frontend in a transmit-side (i.e. netb

[Xen-devel] [PATCH net-next v2 3/4] xen-netback: pass hash value to the frontend

2016-05-11 Thread Paul Durrant
My recent patch to include/xen/interface/io/netif.h defines a new extra info type that can be used to pass hash values between backend and guest frontend. This patch adds code to xen-netback to pass hash values calculated for guest receive-side packets (i.e. netback transmit side) to the frontend.

Re: [Xen-devel] [PATCH net-next v3 2/4] xen-netback: add control protocol implementation

2016-05-11 Thread Wei Liu
On Wed, May 11, 2016 at 04:33:35PM +0100, Paul Durrant wrote: > My recent patch to include/xen/interface/io/netif.h defines a new shared > ring (in addition to the rx and tx rings) for passing control messages > from a VM frontend driver to a backend driver. > > A previous patch added the necessar

Re: [Xen-devel] [PATCH net-next v3 1/4] xen-netback: add control ring boilerplate

2016-05-11 Thread Wei Liu
On Wed, May 11, 2016 at 04:33:34PM +0100, Paul Durrant wrote: > My recent patch to include/xen/interface/io/netif.h defines a new shared > ring (in addition to the rx and tx rings) for passing control messages > from a VM frontend driver to a backend driver. > > This patch adds the necessary code

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail

2016-05-11 Thread Sahita, Ravi
Hi Fangtuo, #VE can be setup to be delivered to any dom that is a HVM. Ravi From: Big Strong [mailto:fangtu...@gmail.com] Sent: Wednesday, May 11, 2016 8:38 AM To: Wei Liu Cc: Tamas K Lengyel ; Sahita, Ravi ; Xen-devel Subject: Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail Is that a

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

2016-05-11 Thread osstest service owner
flight 94032 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/94032/ 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] [xen-4.4-testing test] 94001: regressions - FAIL

2016-05-11 Thread osstest service owner
flight 94001 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94001/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xend-qemut-winxpsp3 9 windows-installfail REGR. vs. 92242 Regressions which

Re: [Xen-devel] [PATCH v3 2/6] build: convert crash_debug to Kconfig

2016-05-11 Thread Doug Goldstein
On 5/11/16 4:47 AM, Jan Beulich wrote: On 10.05.16 at 23:05, wrote: >> --- a/xen/Kconfig.debug >> +++ b/xen/Kconfig.debug >> @@ -1,6 +1,13 @@ >> >> menu "Debugging Options" >> >> +config CRASH_DEBUG >> +bool "Crash Debugging Support" >> +depends on X86 >> +---help--- >> +

Re: [Xen-devel] [PATCH v3 3/6] build: convert verbose to Kconfig

2016-05-11 Thread Doug Goldstein
On 5/11/16 4:45 AM, Jan Beulich wrote: On 10.05.16 at 23:05, wrote: >> --- a/xen/Kconfig.debug >> +++ b/xen/Kconfig.debug >> @@ -15,4 +15,11 @@ config DEBUG >>option is intended for development purposes only, and not for >>production use. >> >> +config VERBOSE_DEBUG >> +

Re: [Xen-devel] [PATCH v3 5/6] build: convert perfc{, _arrays} to Kconfig

2016-05-11 Thread Doug Goldstein
On 5/11/16 4:53 AM, Jan Beulich wrote: On 10.05.16 at 23:05, wrote: >> Convert the 'perfc' and 'perfc_arrays' options to Kconfig as >> CONFIG_PERF_COUNTERS and CONFIG_PERF_ARRAYS to minimize code changes. > > I don't understand the "to minimize code changes" part. Instead of calling the opt

[Xen-devel] [qemu-upstream-4.3-testing test] 94019: trouble: blocked/broken

2016-05-11 Thread osstest service owner
flight 94019 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/94019/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3863 host-install(3) broken REG

  1   2   >