aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/rtc.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-02 17:10:52 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-02 17:10:52 +0100
commitb4d58083caad3c6317877a8404262a28dd437e88 (patch)
tree5c953b5466526a18e57ea56d9614ddb9e2801ce4 /xen/arch/x86/hvm/rtc.c
parentde4e0840642f41b2a0feef8a97afc360c734bb2b (diff)
downloadxen-b4d58083caad3c6317877a8404262a28dd437e88.tar.gz
xen-b4d58083caad3c6317877a8404262a28dd437e88.tar.bz2
xen-b4d58083caad3c6317877a8404262a28dd437e88.zip
Do not allow HVM save/restore of a dying domain.
It's not a sensible thing to do, and it is easier than auditing all state save/restore functions for safety (most importantly, racing against domain_relinquish_resources). Also place a spin_barrier on domain_lock after asserting d->is_dying, allowing critical regions under the domain_lock to safely check is_dying and avoid races with domain_relinquish_resources(). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/rtc.c')
0 files changed, 0 insertions, 0 deletions