x86/Xen: drop leftover VM-assist uses
Subsystems (2)
PATCH 1/1 x86/Xen: drop leftover VM-assist uses
Both the 4Gb-segments and the PAE-extended-CR3 one are applicable to 32-bit guests only. The PAE-extended-CR3 use, furthermore, was redundant with the PAE_MODE ELF note anyway.
arch/x86/xen/setup.c +0 -4
@@ -934,12 +934,8 @@ void xen_enable_syscall(void)static void __init xen_pvmmu_arch_setup (void ) { -HYPERVISOR_vm_assist (VMASST_CMD_enable, VMASST_TYPE_4gb_segments);HYPERVISOR_vm_assist (VMASST_CMD_enable, VMASST_TYPE_writable_pagetables); -HYPERVISOR_vm_assist (VMASST_CMD_enable, - VMASST_TYPE_pae_extended_cr3); -if (register_callback (CALLBACKTYPE_event, xen_asm_exc_xen_hypervisor_callback) ||register_callback (CALLBACKTYPE_failsafe, xen_failsafe_callback))
Quoted 5 lines · Jan Beulich
Both the 4Gb-segments and the PAE-extended-CR3 one are applicable to 32-bit guests only. The PAE-extended-CR3 use, furthermore, was redundant with the
PAE_MODEELF note anyway.Signed-off-by Jan Beulich <[email protected]>
Juergen
Quoted 9 lines · Jan Beulich
Both the 4Gb-segments and the PAE-extended-CR3 one are applicable to 32-bit guests only. The PAE-extended-CR3 use, furthermore, was redundant with the
PAE_MODEELF note anyway.Signed-off-by Jan Beulich <[email protected]>
arch/x86/xen/setup.c void xen_enable_syscall(void) · line 937
Quoted 5 lines
arch/x86/xen/setup.c +0
-1@@ -934,12 +934,8 @@ void xen_enable_syscall(void)static void __init xen_pvmmu_arch_setup (void ) { -HYPERVISOR_vm_assist (VMASST_CMD_enable, VMASST_TYPE_4gb_segments);HYPERVISOR_vm_assist (VMASST_CMD_enable, VMASST_TYPE_writable_pagetables);
I find it disappointing that a PV guest which states a hard dependency on writeable pagetables in its elfnotes doesn't have this activated automatically.
The PV API/ABI truly is an undesigned mess.
~Andrew