[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Temporarily disable shutdown-on-HLT code.



# HG changeset patch
# User tdeegan@xxxxxxxxxxxxxxxxxxxxx
# Node ID e66352312acb9a8beacb7a8faae9a68442e9fb31
# Parent  0f917d63e9608315e4a925109401e383fc895b2a
Temporarily disable shutdown-on-HLT code.
---
 xen/arch/x86/hvm/hvm.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 0f917d63e960 -r e66352312acb xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Wed Aug 16 17:02:35 2006 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Wed Aug 16 17:05:12 2006 +0100
@@ -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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.