Konrad Rzeszutek Wilk <konrad.w...@oracle.com> writes: >> >> @@ -1010,6 +1017,29 @@ int domain_unpause_by_systemcontroller(struct domain >> *d) >> return 0; >> } >> >> +int domain_soft_reset(struct domain *d) >> +{ >> + struct vcpu *v; >> + int rc; >> + >> + spin_lock(&d->shutdown_lock); >> + for_each_vcpu ( d, v ) >> + if ( !v->paused_for_shutdown ) >> + return -EINVAL; > > Ahem. You leave the spinlock still locked :-( >
Ouch... :-( -- Vitaly _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel