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

[Xen-changelog] [xen-unstable] x86/hvm: Fix earlier hvm_load_cpu_ctxt() breakage.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1327083479 0
# Node ID ef8374dfe9bfe400d6ebd087b68884382bcc80be
# Parent  87854d3bed930a7f33fee126da943d044a144e12
x86/hvm: Fix earlier hvm_load_cpu_ctxt() breakage.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 87854d3bed93 -r ef8374dfe9bf xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Fri Jan 20 10:40:16 2012 +0000
+++ b/xen/arch/x86/hvm/hvm.c    Fri Jan 20 18:17:59 2012 +0000
@@ -686,7 +686,7 @@
 
     /* Need to init this vcpu before loading its contents */
     rc = boot_vcpu(d, vcpuid, NULL);
-    if ( rc != 0 )
+    if ( (rc != 0) && (rc != -EEXIST) )
         return rc;
 
     if ( hvm_load_entry(CPU, h, &ctxt) != 0 ) 

_______________________________________________
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®.