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

[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


 


Rackspace

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