[Xen-devel] [GIT PULL] xen: fixes for 4.15-rc5

2017-12-21 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.15-rc5-tag xen: fixes for 4.15-rc5 It contains two fixes for running under Xen: - a fix avoiding resource conflicts between adding mmio areas and memory hotplug - a fix setting

Re: [Xen-devel] [BUG] kernel bug encountered at drivers/net/xen-netback/netback.c:430!

2017-12-21 Thread Juergen Gross
On 22/12/17 07:40, Alex Braunegg wrote: > Hi all, > > Experienced the same issue again today: Ccing the maintainers. Juergen > > > = > > vif vif-2-0 vif2.0: Trying to unmap invalid handle! pending_idx: 0x2f

Re: [Xen-devel] Xen PV DomU running Kernel 4.14.5-1.el7.elrepo.x86_64: xl -v vcpu-set triggers domU kernel WARNING, then domU becomes unresponsive

2017-12-21 Thread Juergen Gross
Adi, thanks for the data. I won't be able to look into this before next year, sorry. Juergen On 20/12/17 23:30, Adi Pircalabu wrote: > On 20-12-2017 21:44, Juergen Gross wrote: >> On 19/12/17 07:31, Adi Pircalabu wrote: >>> Posted initially to centos-virt mailing list. Please note I'm not >>>

Re: [Xen-devel] [BUG] kernel bug encountered at drivers/net/xen-netback/netback.c:430!

2017-12-21 Thread Alex Braunegg
Hi all, Experienced the same issue again today: = vif vif-2-0 vif2.0: Trying to unmap invalid handle! pending_idx: 0x2f [ cut here ] kernel BUG at drivers/net/xen-netback/netback.c:430!

Re: [Xen-devel] [PATCH 1/2] x86/svm: Add SVME checking for SVM intercepts

2017-12-21 Thread Boris Ostrovsky
On 12/21/2017 10:26 AM, Brian Woods wrote: > Checks the hvm EFER.SVME bit to make sure the EFER.SVME bit it high s/it/is > before allowing nested SVM intercepts to be handled successfully. On > SVME being low, it generates a #UD as per the AMD APM vol2 15.4. > > Reported-by: Andrew Cooper

Re: [Xen-devel] [PATCH 2/2] x86/svm: Add checks for nested HW features

2017-12-21 Thread Boris Ostrovsky
On 12/21/2017 10:26 AM, Brian Woods wrote: > Add a nestedhvm_enable() check to the existing checks for setting the > virtual GIF and virtual VMLOAD/VMSAVE features. If it isn't a nestedhvm > guest, do not enable the features in the VMCB. > > Signed-off-by: Brian Woods

Re: [Xen-devel] [PATCH RFC 05/16] Save/Restore Support: Add kernel shutdown logic to shutdown.c

2017-12-21 Thread Konrad Rzeszutek Wilk
.snip.. > diff --git a/shutdown.c b/shutdown.c > new file mode 100644 > index 000..b3cea6d > --- /dev/null > +++ b/shutdown.c > @@ -0,0 +1,188 @@ > +/* > + * MiniOS > + * > + * file: fromdevice.cc > + * > + * NEC Europe Ltd. PROPRIETARY INFORMATION > + * > + * This software

Re: [Xen-devel] 4.8.3 preparations

2017-12-21 Thread Christoph Moench-Tegeder
## Alex Braunegg (alex.braun...@gmail.com): > With Christoph any myself reporting the same kernel crash when using > 4.14.x kernels and Xen 4.8.2 is there any chance to look at this bug > before 4.8.3 is released? As "our" bug seems to be kernel-side (I've no problems in 4.13.16, or any other

Re: [Xen-devel] 4.8.3 preparations

2017-12-21 Thread Alex Braunegg
Hi Andrew, Jan, Ian, With Christoph any myself reporting the same kernel crash when using 4.14.x kernels and Xen 4.8.2 is there any chance to look at this bug before 4.8.3 is released? Best regards, Alex -Original Message- From: Xen-devel

Re: [Xen-devel] [Xen-users] Network and SATA Instability on Xen 4.6/4.8

2017-12-21 Thread Alexander Dubinin
Hello, Kevin, all, > Given the state gets me to a point where I can't log into the server > directly any longer, what's the best way to obtain the debug key output > at that point? I have access to IPMI with video and serial outputs. IPMI is good, you can use SOL (Serial Over Lan) with it. You

Re: [Xen-devel] [PATCH net-next v2] xen-netback: make copy batch size configurable

2017-12-21 Thread Paul Durrant
> -Original Message- > From: Joao Martins [mailto:joao.m.mart...@oracle.com] > Sent: 21 December 2017 17:24 > To: net...@vger.kernel.org > Cc: Joao Martins ; Wei Liu > ; Paul Durrant ; xen- >

[Xen-devel] [PATCH net-next v2] xen-netback: make copy batch size configurable

2017-12-21 Thread Joao Martins
Commit eb1723a29b9a ("xen-netback: refactor guest rx") refactored Rx handling and as a result decreased max grant copy ops from 4352 to 64. Before this commit it would drain the rx_queue (while there are enough slots in the ring to put packets) then copy to all pages and write responses on the

Re: [Xen-devel] [Xen-users] Network and SATA Instability on Xen 4.6/4.8

2017-12-21 Thread Kevin Stange
On 12/21/2017 03:38 AM, Jan Beulich wrote: > (dropping xen-users, to avoid cross posting) > On 20.12.17 at 18:40, wrote: >> On Fri, Dec 8, 2017 at 9:17 PM, Kevin Stange wrote: >>> Hi, >>> >>> I've been running Xen 4.4 stably for some time under

[Xen-devel] OProfile with Xen-4.9

2017-12-21 Thread Сергей
Hello. I have installed Xen-4.9 from Ubuntu 17.10 package. And I would like to profile it with OProfile (as far as I know this is the only option). With instruction from http://wiki.prgmr.com/mediawiki/index.php/Chapter_10:_Profiling_and_Benchmarking_Under_Xen#Profiling_with_Xen I have been

[Xen-devel] [PATCH 1/2] x86/svm: Add SVME checking for SVM intercepts

2017-12-21 Thread Brian Woods
Checks the hvm EFER.SVME bit to make sure the EFER.SVME bit it high before allowing nested SVM intercepts to be handled successfully. On SVME being low, it generates a #UD as per the AMD APM vol2 15.4. Reported-by: Andrew Cooper Signed-off-by: Brian Woods

[Xen-devel] [PATCH 2/2] x86/svm: Add checks for nested HW features

2017-12-21 Thread Brian Woods
Add a nestedhvm_enable() check to the existing checks for setting the virtual GIF and virtual VMLOAD/VMSAVE features. If it isn't a nestedhvm guest, do not enable the features in the VMCB. Signed-off-by: Brian Woods --- xen/arch/x86/hvm/svm/vmcb.c | 5 +++-- 1 file

[Xen-devel] [PATCH 0/2] Various SVM Patches

2017-12-21 Thread Brian Woods
This is small patch series which does some basic maintenance work in the SVM section. 1. Add support for checking the SVME bit before doing nested SVM operations 2. Add support for checking if nestedhvm is enabled before enabling nested SVM features in the VMCB. Brian Woods (2):

[Xen-devel] [PATCH] xen/efi: Avoid EFI stub using absolute symbols

2017-12-21 Thread Julien Grall
The EFI image should be relocatable. At the moment, all the stub is relocatable but one place. On both Arm64 and x86-64 (from a quick glance) , the compiler will generate absolute pointer in the ErrCodeToStr array. Those values are based on Xen view of the virtual memory and may not be the same

Re: [Xen-devel] Xen Performance Results

2017-12-21 Thread Sergej Proskurin
Hi all, For the sake of completeness: the solution to the issue stated in my last email was deactivating Intel's Turbo Boost technology directly in UEFI (deactivating Turbo Boost through xenpm was not enough). Apparently Turbo Boost affects Linux and KVM differently than Xen, which led to the

[Xen-devel] [PULL 08/25] pci: Eliminate redundant PCIDevice::bus pointer

2017-12-21 Thread Michael S. Tsirkin
From: David Gibson The bus pointer in PCIDevice is basically redundant with QOM information. It's always initialized to the qdev_get_parent_bus(), the only difference is the type. Therefore this patch eliminates the field, instead creating a pci_get_bus() helper to

Re: [Xen-devel] 4.8.3 preparations

2017-12-21 Thread Andrew Cooper
On 20/12/17 15:14, Jan Beulich wrote: > All, > > with the goal of releasing relatively soon after New Year, please > point out backport candidates you find missing from the respective > staging branches, but which you consider relevant. Travis (with a newly updated Clang) is showing build

[Xen-devel] [distros-debian-wheezy test] 73153: trouble: blocked/broken

2017-12-21 Thread Platform Team regression test user
flight 73153 distros-debian-wheezy real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/73153/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvopsbroken

Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-21 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 21 December 2017 11:31 > To: Paul Durrant > Cc: JulienGrall ; Andrew Cooper > ; George Dunlap > ; Ian Jackson

[Xen-devel] [linux-4.9 test] 117374: regressions - FAIL

2017-12-21 Thread osstest service owner
flight 117374 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/117374/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-debianhvm-amd64 15 guest-saverestore.2 fail REGR. vs. 117255

Re: [Xen-devel] Boot Xen on Jetson TX2

2017-12-21 Thread Andrii Anisov
Hello Wang, On 20.12.17 23:29, Wang, Baoqian wrote: (XEN) 3... 2... 1... (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 288kB init memory. Try switching to XEN console now. Hit Ctrl-a three (six with minicom) times, then '0'. -- *Andrii

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

2017-12-21 Thread osstest service owner
flight 117376 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/117376/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit2 7 xen-boot fail REGR. vs. 117305 test-amd64-i386-xl

Re: [Xen-devel] [Xen-users] Network and SATA Instability on Xen 4.6/4.8

2017-12-21 Thread Jan Beulich
(dropping xen-users, to avoid cross posting) >>> On 20.12.17 at 18:40, wrote: > On Fri, Dec 8, 2017 at 9:17 PM, Kevin Stange wrote: >> Hi, >> >> I've been running Xen 4.4 stably for some time under kernel 4.9 in dom0 >> on CentOS 6 and have been trying to

Re: [Xen-devel] [PATCH] x86/mcheck: Drop unnecessary barriers

2017-12-21 Thread Jan Beulich
>>> On 20.12.17 at 20:15, wrote: > spin_unlock() has full barrier semantics already. > > Signed-off-by: Andrew Cooper Acked-by: Jan Beulich ___ Xen-devel mailing list