x86, hvm: set vcpu->is_initialised=1 after restore/migration
PATCH 1/1 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 <[email protected]>
xen/arch/x86/hvm/hvm.c +3 -0
@@ -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
[email protected]
http://lists.xensource.com/xen-devel