Hello community,
here is the log from the commit of package xf86-input-vmmouse for
openSUSE:Factory checked in at 2014-02-15 08:54:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-input-vmmouse (Old)
and /work/SRC/openSUSE:Factory/.xf86-input-vmmouse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-input-vmmouse"
Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-input-vmmouse/xf86-input-vmmouse.changes
2014-01-10 21:23:27.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.xf86-input-vmmouse.new/xf86-input-vmmouse.changes
2014-02-15 08:54:02.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 13 11:35:24 CET 2014 - [email protected]
+
+- u_Revert-Remove-call-to-iopl-.-It-s-not-portable-and-i.patch:
+ Revert iopl() removal that broke vmmouse on QEMU/KVM (bnc#863750)
+
+-------------------------------------------------------------------
New:
----
u_Revert-Remove-call-to-iopl-.-It-s-not-portable-and-i.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-input-vmmouse.spec ++++++
--- /var/tmp/diff_new_pack.2VqCAc/_old 2014-02-15 08:54:03.000000000 +0100
+++ /var/tmp/diff_new_pack.2VqCAc/_new 2014-02-15 08:54:03.000000000 +0100
@@ -30,6 +30,7 @@
Group: System/X11/Servers/XF86_4
Url: http://xorg.freedesktop.org/
Source0:
http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+Patch1: u_Revert-Remove-call-to-iopl-.-It-s-not-portable-and-i.patch
BuildRequires: pkg-config
# For directory ownership
BuildRequires: udev
@@ -53,6 +54,7 @@
%prep
%setup -q
+%patch1 -p1
%build
%configure --with-xorg-conf-dir=/etc/X11/xorg.conf.d
--with-udev-rules-dir=%{_udevrulesdir}
++++++ u_Revert-Remove-call-to-iopl-.-It-s-not-portable-and-i.patch ++++++
>From f8724406aa027d4be2425da155784ef582fe7932 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Thu, 13 Feb 2014 11:34:26 +0100
Subject: [PATCH] Revert "Remove call to iopl(). It's not portable and isn't
necessary."
References: bnc#863750
This reverts commit bcdec3d0cd4434770cd841c33c030e0d7203881f.
The commit breaks the detection vmmouse on QEMU/KVM.
Signed-off-by: Takashi Iwai <[email protected]>
---
tools/vmmouse_detect.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/vmmouse_detect.c b/tools/vmmouse_detect.c
index 7939ff86d449..b83bec1f28e2 100644
--- a/tools/vmmouse_detect.c
+++ b/tools/vmmouse_detect.c
@@ -53,6 +53,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;
--
1.8.5.2
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]