ia64/xen-unstable

changeset 9018:3048761dc368

Quieten down MSR access warnings.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Feb 24 19:16:15 2006 +0100 (2006-02-24)
parents ec92f986411e
children e92dd21483bd
files xen/arch/x86/traps.c
line diff
     1.1 --- a/xen/arch/x86/traps.c	Fri Feb 24 17:50:20 2006 +0100
     1.2 +++ b/xen/arch/x86/traps.c	Fri Feb 24 19:16:15 2006 +0100
     1.3 @@ -1002,7 +1002,6 @@ static int emulate_privileged_op(struct 
     1.4  #endif
     1.5          default:
     1.6              if ( (rdmsr_safe(regs->ecx, l, h) != 0) ||
     1.7 -                 (regs->ecx != MSR_EFER) ||
     1.8                   (regs->eax != l) || (regs->edx != h) )
     1.9                  DPRINTK("Domain attempted WRMSR %p from "
    1.10                          "%08x:%08x to %08lx:%08lx.\n",
    1.11 @@ -1033,8 +1032,8 @@ static int emulate_privileged_op(struct 
    1.12                  goto fail;
    1.13              break;
    1.14          default:
    1.15 -            DPRINTK("Domain attempted RDMSR %p.\n", _p(regs->ecx));
    1.16              /* Everyone can read the MSR space. */
    1.17 +            /*DPRINTK("Domain attempted RDMSR %p.\n", _p(regs->ecx));*/
    1.18              if ( rdmsr_safe(regs->ecx, regs->eax, regs->edx) )
    1.19                  goto fail;
    1.20              break;