[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [SVM] Do not update seg.base in realmode while obtaining the io



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID aa13ac536dec378ef27a74c3c7607ccf1670405d
# Parent  920b448b5485679134c39becbe5533cba50e87c7
[SVM] Do not update seg.base in realmode while obtaining the io
addr for ins/outs.

Signed-off-by: Tom Woller <thomas.woller@xxxxxxx>

diff -r 920b448b5485 -r aa13ac536dec xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Sat Apr  1 09:39:31 2006
+++ b/xen/arch/x86/hvm/svm/svm.c        Sat Apr  1 09:40:54 2006
@@ -1163,16 +1163,12 @@
             seg = vmcb->ds;
             break;
         default:
-            if (dir == IOREQ_READ)
+            if (dir == IOREQ_READ) /* IN/INS instruction? */
                 seg = vmcb->es;
             else
                 seg = vmcb->ds;
         }
         
-        /* In real Mode */
-        if (real)
-            seg.base = seg.sel << 4;
-
         if (base)
             *base = seg.base;
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.