ia64/xen-unstable

changeset 9559:aa13ac536dec

[SVM] Do not update seg.base in realmode while obtaining the io
addr for ins/outs.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Apr 01 10:40:54 2006 +0100 (2006-04-01)
parents 920b448b5485
children cfee00c6cd88
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Sat Apr 01 10:39:31 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Sat Apr 01 10:40:54 2006 +0100
     1.3 @@ -1163,16 +1163,12 @@ static unsigned int check_for_null_selec
     1.4              seg = vmcb->ds;
     1.5              break;
     1.6          default:
     1.7 -            if (dir == IOREQ_READ)
     1.8 +            if (dir == IOREQ_READ) /* IN/INS instruction? */
     1.9                  seg = vmcb->es;
    1.10              else
    1.11                  seg = vmcb->ds;
    1.12          }
    1.13          
    1.14 -        /* In real Mode */
    1.15 -        if (real)
    1.16 -            seg.base = seg.sel << 4;
    1.17 -
    1.18          if (base)
    1.19              *base = seg.base;
    1.20