mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
arm: mark vcpus as initialised when they have been
I noticed this because XEN_DOMCTL_getvcpucontext won't return anything for a VCPU which isn't initialised. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
1 parent
85ef8aebde
commit
5a07cc9381
2 files changed
+3
No files matched your search
@@ -556,6 +556,8 @@ int arch_set_info_guest(
|
||||
v->arch.ttbr1 = ctxt->ttbr1;
|
||||
v->arch.ttbcr = ctxt->ttbcr;
|
||||
|
||||
v->is_initialised = 1;
|
||||
|
||||
if ( ctxt->flags & VGCF_online )
|
||||
clear_bit(_VPF_down, &v->pause_flags);
|
||||
else
|
||||
|
||||
@@ -412,6 +412,7 @@ int construct_dom0(struct domain *d)
|
||||
|
||||
discard_initial_modules();
|
||||
|
||||
v->is_initialised = 1;
|
||||
clear_bit(_VPF_down, &v->pause_flags);
|
||||
|
||||
memset(regs, 0, sizeof(*regs));
|
||||
|
||||