@@ -, +, @@ Reverts the following upstream commit: commit bcdec3d0cd4434770cd841c33c030e0d7203881f Author: Philip Langdale Date: Thu Oct 23 23:35:28 2008 -0700 Remove call to iopl(). It's not portable and isn't necessary. --- a/tools/vmmouse_detect.c +++ a/tools/vmmouse_detect.c @@ -47,6 +47,11 @@ main(void) signal(SIGSEGV, segvCB); #if defined __i386__ || defined __x86_64__ + /* + * To access i/o ports above 0x3ff, we need to be in iopl(3). + */ + + iopl(3); if (VMMouseClient_Enable()) { VMMouseClient_Disable(); return 0;