[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2019-07-24 Thread Brad Figg
** Tags added: cscc -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1735420 Title: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x Status in Ubuntu on IBM z Systems:

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2019-06-17 Thread Frank Heimes
Since we already reached the stabilization phase of xenial/16.04 with .5 (and .6), with the focus on stability and security, and because this is not a really bug, rather than 'nice to have' to _not_ show /dev/kvm in case already running virtualized on KVM (because nested KVM is not supported on

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2019-06-05 Thread Frank Heimes
Lowering importance to Low due to currently different focus. ** Changed in: ubuntu-z-systems Importance: Medium => Low -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1735420 Title: A

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-27 Thread Frank Heimes
Sorry for the delay - got a bit distracted by other topics. Just did a retest with "linux-image-4.4.0-116-generic_4.4.0-116.140~lp1735420ModifiedAnnotations_s390x.deb" but still can see the kvm device: ubuntu@ubu-vm-01:~$ uname -a Linux ubu-vm-01 4.4.0-116-generic #140~lp1735420ModifiedAnnotation

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-21 Thread Joseph Salisbury
I noted a difference between the two configs. The v4.10-rc3 config has the KVM module built in. However, the v4.10-rc2 config has KVM built in for the config file, but was still set to module in the annotations file. I fixed the annotations file and built a Xenial test kernel. The test kernel c

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Joseph Salisbury
Hmm, it could also be a config change that is needed. The 4.10-rc2 kernel uses the 4.9.0-2.3 configs and the 4.10-rc3 kernel uses the 4.10.0-0.2 config. I'll compare those two as well. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linu

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Joseph Salisbury
Yeah, I couldn't find anything specific in v4.10-rc3 either. I'll start a reverse bisect to see which commit that points to. It will take testing of about 7 or so test kernels. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ub

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Frank Heimes
Well, does not seem to be in: ubuntu@ubu-vm-01:~$ uname -a Linux ubu-vm-01 4.4.0-116-generic #140~lp1735420Commitcabab3f SMP Tue Mar 20 20:07:24 UTC 2018 s390x s390x s390x GNU/Linux ubuntu@ubu-vm-01:~$ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used ubuntu@ubu-vm-01:~$ ls -la /dev/kvm

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Joseph Salisbury
There was only one commit that sticks out between 4.10-rc2 and v4.10-rc3, it is kvm and s390 related: cabab3f ("s390/kbuild: enable modversions for symbols exported from asm") I built a Xenial test kernel with a pick of this commit. The test kernel can be downloaded from: http://kernel.ubuntu.c

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Frank Heimes
I tried some more: 4.10 rc3 does have the patch: ubuntu@ubu-vm-01:~$ uname -a Linux ubu-vm-01 4.10.0-041000rc3-generic #201701081831 SMP Mon Jan 9 00:34:16 UTC 2017 s390x s390x s390x GNU/Linux ubuntu@ubu-vm-01:~$ kvm-ok INFO: /dev/kvm does not exist HINT: sudo modprobe kvm INFO: For more detai

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Frank Heimes
Doesn't seem to be in - kvm device still there: ubuntu@ubu-vm-01:~$ uname -a Linux ubu-vm-01 4.10.0-041000rc1-generic #201612252031 SMP Mon Dec 26 02:37:39 UTC 2016 s390x s390x s390x GNU/Linux ubuntu@ubu-vm-01:~$ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used ubuntu@ubu-vm-01:~$ ls -l

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Joseph Salisbury
Can you see if the patch is in v4.10-rc1: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10-rc1/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1735420 Title: Avoid creation of /dev/kv

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-20 Thread Frank Heimes
Mainline Kernel 4.8 does not seem to have the patch included: ubuntu@ubu-vm-01:~$ uname -a Linux ubu-vm-01 4.8.0-040800-generic #201610022031 SMP Mon Oct 3 02:27:31 UTC 2016 s390x s390x s390x GNU/Linux ubuntu@ubu-vm-01:~$ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used ubuntu@ubu-vm-01

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-19 Thread Joseph Salisbury
Since we don't know the commit that would solve this off hand, we can perform a "Reverse" bisect to identify that commit. Can you see if the following kernel has the bug: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8/ -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-14 Thread Frank Heimes
So I just did a brief test - stock kernel first and then the modified one: ubuntu@ubu-vm-01:~$ uname -a Linux ubu-vm-01 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:21:31 UTC 2018 s390x s390x s390x GNU/Linux ubuntu@ubu-vm-01:~$ ls -la /dev/kvm crw--- 1 root root 10, 232 Mar 13 22:42 /dev/

Re: [Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-13 Thread Frank Heimes
Hi Joe, yes that should be easy for me to test. I think I only need to run that patched xenial kernel in a KVM virtual machine and the device shouldn't be there - however running it directly in LPAR should show the device. I'm off on Wednesday, but will test it later this week. Bye, Frank Frank

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-13 Thread Joseph Salisbury
Frank, Is there a way to test a test kernel I built? I built a Xenial test kernel with a back port of commit a411edf1320e ("KVM: s390: vsie: add module parameter "nested""). I'm not sure off hand if just this commit is needed or if there are others as well. The test kernel can be downloaded from

[Kernel-packages] [Bug 1735420] Re: Avoid creation of /dev/kvm in Xenial KVM virtual machines on s390x

2018-03-12 Thread Joseph Salisbury
** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: New => Triaged ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Changed