On Wednesday 02 November 2016, Karel Zak wrote: > On Fri, Oct 28, 2016 at 12:06:36AM +0200, Ruediger Meier wrote: > > On Thursday 27 October 2016, Karel Zak wrote: > > > Hi, > > > > > > this is lscpu output on my machine: > > > > > > Virtualization: VT-x > > > Hypervisor vendor: VMware > > > Virtualization type: full > > > > > > > > > I have nothing like VMWARE. It seem the code (commit b7744730) > > > does not work as expected for non-root users. What about to add > > > > Have you checked whether the original code in b7744730 is alreaday > > broken? Not something about the later PIC/PIE patches? > > It's Mike's PIC/PIE patch :-( > > Maybe we can ifdef more precise and add getuid() check, if I good > understand Mike's commit message then the problem is 32bit system. BTW vmware runs on 64bit only since a few years. Maybe just disable bdoor for 32bit if it helps to make it simple. > > What system are you using? > > Fedora 24 > > # uname -a > Linux ws 4.7.7-200.fc24.x86_64 #1 SMP Sat Oct 8 00:21:59 UTC 2016 > x86_64 x86_64 x86_64 GNU/Linux > > > > if (getuid() != 0) > > > return 0; > > > > > > to the is_vmware_platform() function? > > > > > > Karel > > > > Yes, if it's broken for a "normal" system then we have to remove > > that. Though would be nice to know what exactly made it stop > > working. > > > > BTW this code is also in the kernel: > > arch/x86/kernel/cpu/vmware.c > > > > Can't we ask the kernel about vmware somehow? > > There is something for 390 and Xen, but I don't see in kernel code > hypervisor_kobj (or something else) for VMware. > > Karel -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html