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

[Xen-changelog] [xen-unstable] x86-64/EFI: don't call EfiResetSystem() from machine_halt()



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1311081015 -3600
# Node ID 7bc5825e471db5a3a989f47d21334ef63a6b5610
# Parent  0ccb94d533d6feaece5d48eb1bbfb9ae1b6174c1
x86-64/EFI: don't call EfiResetSystem() from machine_halt()

c/s 23615:d19e77844267 was a little too eager in adding calls to EFI
runtime services: machine_halt() doesn't really want to power off the
machine, but that's what EfiResetSystem(EfiResetShutdown, ...) (called
through efi_halt_system()) does.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---


diff -r 0ccb94d533d6 -r 7bc5825e471d xen/arch/x86/shutdown.c
--- a/xen/arch/x86/shutdown.c   Tue Jul 19 14:09:48 2011 +0100
+++ b/xen/arch/x86/shutdown.c   Tue Jul 19 14:10:15 2011 +0100
@@ -96,7 +96,6 @@
     watchdog_disable();
     console_start_sync();
     local_irq_enable();
-    efi_halt_system();
     smp_call_function(__machine_halt, NULL, 0);
     __machine_halt(NULL);
 }

_______________________________________________
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®.