|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86, hvm: set vcpu->is_initialised=1 after restore/migration
After restore/migration, the xenctx command for auxiliary vcpus fails with a message "xc_vcpu_getcontext: No data available". Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx> diff -r 4448fae52553 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c Mon Jun 08 12:24:14 2009 +0100
+++ b/xen/arch/x86/hvm/hvm.c Fri Jun 12 16:02:28 2009 +0900
@@ -661,7 +661,10 @@ static int hvm_load_cpu_ctxt(struct doma
/* Auxiliary processors should be woken immediately. */
if ( test_and_clear_bit(_VPF_down, &v->pause_flags) )
+ {
+ v->is_initialised = 1;
vcpu_wake(v);
+ }
return 0;
}
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |