WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.0-testing] [XEN] IOPL is ignored for VM86 mode po

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.0-testing] [XEN] IOPL is ignored for VM86 mode port accesses. Fix Xen
From: Xen patchbot-3.0-testing <patchbot-3.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Jun 2006 13:20:44 +0000
Delivery-date: Sat, 10 Jun 2006 06:22:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d83290c8ad8dd56e445dc085d185f8c8f8975860
# Parent  25a84ad211ddb8206e3c36f238e7592d70460cfd
[XEN] IOPL is ignored for VM86 mode port accesses. Fix Xen
emulation to match native behaviour.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
xen-unstable changeset:   10309:5a0ed6c476732da229c3307ea5357cdd196e5462
xen-unstable date:        Fri Jun  9 14:29:00 2006 +0100
---
 xen/arch/x86/traps.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 25a84ad211dd -r d83290c8ad8d xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Thu Jun 08 16:52:34 2006 +0100
+++ b/xen/arch/x86/traps.c      Fri Jun 09 14:50:44 2006 +0100
@@ -745,7 +745,8 @@ static inline int guest_io_okay(
 #define TOGGLE_MODE() ((void)0)
 #endif
 
-    if ( v->arch.iopl >= (guest_kernel_mode(v, regs) ? 1 : 3) )
+    if ( !vm86_mode(regs) &&
+         (v->arch.iopl >= (guest_kernel_mode(v, regs) ? 1 : 3)) )
         return 1;
 
     if ( v->arch.iobmp_limit > (port + bytes) )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.0-testing] [XEN] IOPL is ignored for VM86 mode port accesses. Fix Xen, Xen patchbot-3 . 0-testing <=