From: tdeegan@york.uk.xensource.com Date: Wed, 16 Aug 2006 16:05:12 +0000 (+0100) Subject: Temporarily disable shutdown-on-HLT code. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15710^2~74^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e6e9762beb7b752dc9141ddcb9aa93626a0a1a76;p=xen.git Temporarily disable shutdown-on-HLT code. --- diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 6ffbf751f9..0b2da6d439 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -351,6 +351,7 @@ void hvm_hlt(unsigned long rflags) struct periodic_time *pt = &v->domain->arch.hvm_domain.pl_time.periodic_tm; s_time_t next_pit = -1, next_wakeup; +#if 0 /* This seems to fire at unwelcome times in Linux */ /* * Detect machine shutdown. Only do this for vcpu 0, to avoid potentially * shutting down the domain early. If we halt with interrupts disabled, @@ -364,6 +365,7 @@ void hvm_hlt(unsigned long rflags) domain_shutdown(current->domain, SHUTDOWN_poweroff); return; } +#endif /* 0 */ if ( !v->vcpu_id ) next_pit = get_scheduled(v, pt->irq, pt);