direct-io.hg

changeset 11152:e66352312acb

Temporarily disable shutdown-on-HLT code.
author tdeegan@york.uk.xensource.com
date Wed Aug 16 17:05:12 2006 +0100 (2006-08-16)
parents 0f917d63e960
children 01345b08d012
files xen/arch/x86/hvm/hvm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/hvm.c	Wed Aug 16 17:02:35 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/hvm.c	Wed Aug 16 17:05:12 2006 +0100
     1.3 @@ -351,6 +351,7 @@ void hvm_hlt(unsigned long rflags)
     1.4      struct periodic_time *pt = &v->domain->arch.hvm_domain.pl_time.periodic_tm;
     1.5      s_time_t next_pit = -1, next_wakeup;
     1.6  
     1.7 +#if 0 /* This seems to fire at unwelcome times in Linux */
     1.8      /*
     1.9       * Detect machine shutdown.  Only do this for vcpu 0, to avoid potentially 
    1.10       * shutting down the domain early. If we halt with interrupts disabled, 
    1.11 @@ -364,6 +365,7 @@ void hvm_hlt(unsigned long rflags)
    1.12          domain_shutdown(current->domain, SHUTDOWN_poweroff);
    1.13          return;
    1.14      }
    1.15 +#endif /* 0 */
    1.16  
    1.17      if ( !v->vcpu_id )
    1.18          next_pit = get_scheduled(v, pt->irq, pt);