diff options
author | Keir Fraser <keir@xen.org> | 2010-11-16 13:01:43 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-11-16 13:01:43 +0000 |
commit | 430203d65f9e17b22b4a7ba404f535a7bba1a1ff (patch) | |
tree | 7c5e2b65b59bb3eb0179fee04c5d2134f5cc8530 /xen/common/domain.c | |
parent | 43e7d2b21a0ccfdb23de338987edf3da05d50e22 (diff) | |
download | xen-430203d65f9e17b22b4a7ba404f535a7bba1a1ff.tar.gz xen-430203d65f9e17b22b4a7ba404f535a7bba1a1ff.tar.bz2 xen-430203d65f9e17b22b4a7ba404f535a7bba1a1ff.zip |
Make multicall state per-vcpu rather than per-cpu
This is a prerequisite for allowing guest descheduling within a
hypercall.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/domain.c')
-rw-r--r-- | xen/common/domain.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/xen/common/domain.c b/xen/common/domain.c index 20e89ea008..69a0ab4b62 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -495,19 +495,6 @@ void __domain_crash_synchronous(void) { __domain_crash(current->domain); - /* - * Flush multicall state before dying if a multicall is in progress. - * This shouldn't be necessary, but some architectures are calling - * domain_crash_synchronous() when they really shouldn't (i.e., from - * within hypercall context). - */ - if ( this_cpu(mc_state).flags != 0 ) - { - dprintk(XENLOG_ERR, - "FIXME: synchronous domain crash during a multicall!\n"); - this_cpu(mc_state).flags = 0; - } - vcpu_end_shutdown_deferral(current); for ( ; ; ) |