ia64/xen-unstable

changeset 17447:a464af87c9db

svm: Fix an assertion.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Apr 11 17:29:26 2008 +0100 (2008-04-11)
parents 9e4c5b7e5aa6
children a1112c23b202
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Fri Apr 11 17:19:07 2008 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Fri Apr 11 17:29:26 2008 +0100
     1.3 @@ -467,7 +467,7 @@ static void svm_get_segment_register(str
     1.4  {
     1.5      struct vmcb_struct *vmcb = v->arch.hvm_svm.vmcb;
     1.6  
     1.7 -    ASSERT(v == current);
     1.8 +    ASSERT((v == current) || !vcpu_runnable(v));
     1.9  
    1.10      switch ( seg )
    1.11      {