http://bugzilla.novell.com/show_bug.cgi?id=604966
http://bugzilla.novell.com/show_bug.cgi?id=604966#c28
--- Comment #28 from Leonardo Chiquitto 2010-06-03 00:04:10 UTC ---
In my opinion, this bug is really about getting rid of the core files that are
being generated on every boot. To do that, we can either put the iopl() call
again OR redesign the way we detect a VM guest. I agree that the long term
solution should be to not depend on some binary return code to detect that, but
if we don't have the time to do this for 11.3, I suggest to just apply the
iopl() patch.
I did some tests here and I'd like to share the results:
physical# strace -e trace=iopl,exit_group vmmouse_detect.orig
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
exit_group(1)
physical# strace -e trace=iopl,exit_group vmmouse_detect.iopl
iopl(0x3) = 0
exit_group(1) = ?
kvm-guest# strace -e trace=iopl,exit_group vmmouse_detect.orig
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
exit_group(1) = ?
kvm-guest# strace -e trace=iopl,exit_group vmmouse_detect.iopl
iopl(0x3) = 0
exit_group(0) = ?
vmware-guest# strace -e trace=iopl,exit_group vmmouse_detect.iopl
iopl(0x3) = 0
exit_group(0) = ?
As you can see, vmmouse_detect without the iopl() call also doesn't work on KVM
guests. This problem was fixed on Debian with the same patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525039
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.