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-unstable] svm: Fix an assertion.

# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207931366 -3600
# Node ID a464af87c9db6aa070209b323e5a4c33cc11d79e
# Parent  9e4c5b7e5aa6dd209d932a215e6321ef6cb91aa4
svm: Fix an assertion.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/hvm/svm/svm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 9e4c5b7e5aa6 -r a464af87c9db xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Fri Apr 11 17:19:07 2008 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c        Fri Apr 11 17:29:26 2008 +0100
@@ -467,7 +467,7 @@ static void svm_get_segment_register(str
 {
     struct vmcb_struct *vmcb = v->arch.hvm_svm.vmcb;
 
-    ASSERT(v == current);
+    ASSERT((v == current) || !vcpu_runnable(v));
 
     switch ( seg )
     {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] svm: Fix an assertion., Xen patchbot-unstable <=