[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] x86, hvm: set vcpu->is_initialised after restore/migration
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1245158895 -3600 # Node ID 203f80e56c84369be01eea92db99be347c82b59e # Parent a127b87e9ae19579b8f8cde6b38d789174346092 x86, hvm: set vcpu->is_initialised 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> xen-unstable changeset: 19765:f2a3b7188906 xen-unstable date: Tue Jun 16 13:39:00 2009 +0100 --- xen/arch/x86/hvm/hvm.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -r a127b87e9ae1 -r 203f80e56c84 xen/arch/x86/hvm/hvm.c --- a/xen/arch/x86/hvm/hvm.c Tue Jun 16 14:27:48 2009 +0100 +++ b/xen/arch/x86/hvm/hvm.c Tue Jun 16 14:28:15 2009 +0100 @@ -662,8 +662,9 @@ static int hvm_load_cpu_ctxt(struct doma v->fpu_initialised = 1; /* Auxiliary processors should be woken immediately. */ - if ( test_and_clear_bit(_VPF_down, &v->pause_flags) ) - vcpu_wake(v); + v->is_initialised = 1; + clear_bit(_VPF_down, &v->pause_flags); + vcpu_wake(v); return 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |