search for: machine_emergency_restart

Displaying 13 results from an estimated 13 matches for "machine_emergency_restart".

2006 Aug 07
5
[PATCH][LINUX] use machine_emergency_restart() from the generic header.
This patch uses the standard generic header for the definition of machine_emergency_restart() and reverses the call path for XenoLinux. Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> --- diff -r 7680b29c03a6 drivers/xen/core/reboot.c --- a/drivers/xen/core/reboot.c Sat Aug 05 11:33:24 2006 -0400 +++ b/drivers/xen/core/reboot.c Mon Aug 07 09:50:33 2006 -0400 @@ -9,6 +9,7 @@ #...
2006 Aug 07
0
[PATCH][LINUX] use machine_emergency_restart() from the
--text follows this line-- This patch uses the standard generic header for the definition of machine_emergency_restart() and reverses the call path for XenoLinux. Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> --- diff -r 7680b29c03a6 drivers/xen/core/reboot.c --- a/drivers/xen/core/reboot.c Sat Aug 05 11:33:24 2006 -0400 +++ b/drivers/xen/core/reboot.c Mon Aug 07 09:50:33 2006 -0400 @@ -9,6 +9,7 @@ #...
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...truct Xgt_desc_struct +real_mode_gdt = { sizeof (real_mode_gdt_entries) - 1, (unsigned long)real_mode_gdt_entries }, +real_mode_idt = { 0x3ff, 0 }, +no_idt = { 0, 0 }; /* This is 16-bit protected mode code to disable paging and the cache, @@ -322,6 +318,9 @@ void machine_shutdown(void) void machine_emergency_restart(void) { +#ifdef CONFIG_X86_VMI + vmi_reboot(!reboot_thru_bios); +#endif if (!reboot_thru_bios) { if (efi_enabled) { efi.reset_system(EFI_RESET_COLD, EFI_SUCCESS, 0, NULL); @@ -352,6 +351,7 @@ void machine_restart(char * __unused) void machine_halt(void) { + shutdown_halt(); } void...
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...truct Xgt_desc_struct +real_mode_gdt = { sizeof (real_mode_gdt_entries) - 1, (unsigned long)real_mode_gdt_entries }, +real_mode_idt = { 0x3ff, 0 }, +no_idt = { 0, 0 }; /* This is 16-bit protected mode code to disable paging and the cache, @@ -322,6 +318,9 @@ void machine_shutdown(void) void machine_emergency_restart(void) { +#ifdef CONFIG_X86_VMI + vmi_reboot(!reboot_thru_bios); +#endif if (!reboot_thru_bios) { if (efi_enabled) { efi.reset_system(EFI_RESET_COLD, EFI_SUCCESS, 0, NULL); @@ -352,6 +351,7 @@ void machine_restart(char * __unused) void machine_halt(void) { + shutdown_halt(); } void...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 10/17] paravirt_ops - boot changes
...=== --- clean-start.orig/arch/x86_64/kernel/reboot.c +++ clean-start/arch/x86_64/kernel/reboot.c @@ -15,6 +15,7 @@ #include <asm/pgtable.h> #include <asm/tlbflush.h> #include <asm/apic.h> +#include <asm/desc.h> /* * Power off function, if any @@ -131,7 +132,7 @@ void machine_emergency_restart(void) } case BOOT_TRIPLE: - __asm__ __volatile__("lidt (%0)": :"r" (&no_idt)); + load_idt((const struct desc_ptr *)&no_idt); __asm__ __volatile__("int3"); reboot_type = BOOT_KBD; Index: clean-start/arch/x86_64/kernel/setup.c =============...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 10/17] paravirt_ops - boot changes
...=== --- clean-start.orig/arch/x86_64/kernel/reboot.c +++ clean-start/arch/x86_64/kernel/reboot.c @@ -15,6 +15,7 @@ #include <asm/pgtable.h> #include <asm/tlbflush.h> #include <asm/apic.h> +#include <asm/desc.h> /* * Power off function, if any @@ -131,7 +132,7 @@ void machine_emergency_restart(void) } case BOOT_TRIPLE: - __asm__ __volatile__("lidt (%0)": :"r" (&no_idt)); + load_idt((const struct desc_ptr *)&no_idt); __asm__ __volatile__("int3"); reboot_type = BOOT_KBD; Index: clean-start/arch/x86_64/kernel/setup.c =============...
2007 Aug 10
1
[Lguest] error rebooting lguest
...7.541027] Restarting system. [ 17.157004] general protection fault: 001a [#1] [ 17.157004] Modules linked in: [ 17.157004] CPU: 0 [ 17.157004] EIP: 0061:[<c01106c7>] Not tainted VLI [ 17.157004] EFLAGS: 00010246 (2.6.23-rc2-ge77c6b35 #80) [ 17.157004] EIP is at native_machine_emergency_restart+0x177/0x1a0 [ 17.157004] eax: 00000000 ebx: 000000ff ecx: 005ac000 edx: 0000900a [ 17.157004] esi: 00010000 edi: 0000000a ebp: c128be74 esp: c128be64 [ 17.157004] ds: 007b es: 007b fs: 0000 gs: 0000 ss: 0069 [ 17.157004] Process init (pid: 202, ti=c128a000 task=c1243a90 ta...
2007 Aug 10
1
[Lguest] error rebooting lguest
...7.541027] Restarting system. [ 17.157004] general protection fault: 001a [#1] [ 17.157004] Modules linked in: [ 17.157004] CPU: 0 [ 17.157004] EIP: 0061:[<c01106c7>] Not tainted VLI [ 17.157004] EFLAGS: 00010246 (2.6.23-rc2-ge77c6b35 #80) [ 17.157004] EIP is at native_machine_emergency_restart+0x177/0x1a0 [ 17.157004] eax: 00000000 ebx: 000000ff ecx: 005ac000 edx: 0000900a [ 17.157004] esi: 00010000 edi: 0000000a ebp: c128be74 esp: c128be64 [ 17.157004] ds: 007b es: 007b fs: 0000 gs: 0000 ss: 0069 [ 17.157004] Process init (pid: 202, ti=c128a000 task=c1243a90 ta...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...(); #ifndef CONFIG_SMP time_init_gtod(); Index: linux-2.6.19-quilt/arch/x86_64/kernel/reboot.c =================================================================== --- linux-2.6.19-quilt.orig/arch/x86_64/kernel/reboot.c +++ linux-2.6.19-quilt/arch/x86_64/kernel/reboot.c @@ -131,7 +131,7 @@ void machine_emergency_restart(void) } case BOOT_TRIPLE: - __asm__ __volatile__("lidt (%0)": :"r" (&no_idt)); + load_idt((const struct desc_struct *)&no_idt); __asm__ __volatile__("int3"); reboot_type = BOOT_KBD; Index: linux-2.6.19-quilt/arch/x86_64/kernel/vmlinux.lds...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...(); #ifndef CONFIG_SMP time_init_gtod(); Index: linux-2.6.19-quilt/arch/x86_64/kernel/reboot.c =================================================================== --- linux-2.6.19-quilt.orig/arch/x86_64/kernel/reboot.c +++ linux-2.6.19-quilt/arch/x86_64/kernel/reboot.c @@ -131,7 +131,7 @@ void machine_emergency_restart(void) } case BOOT_TRIPLE: - __asm__ __volatile__("lidt (%0)": :"r" (&no_idt)); + load_idt((const struct desc_struct *)&no_idt); __asm__ __volatile__("int3"); reboot_type = BOOT_KBD; Index: linux-2.6.19-quilt/arch/x86_64/kernel/vmlinux.lds...
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
33
[RFC PATCH 00/33] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths