Skip to content

Commit 20e7da1

Browse files
jbeulichjgross1
authored andcommitted
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. Signed-off-by: Jan Beulich <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
1 parent 9a0450a commit 20e7da1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/x86/xen/setup.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -934,12 +934,8 @@ void xen_enable_syscall(void)
934934

935935
static void __init xen_pvmmu_arch_setup(void)
936936
{
937-
HYPERVISOR_vm_assist(VMASST_CMD_enable, VMASST_TYPE_4gb_segments);
938937
HYPERVISOR_vm_assist(VMASST_CMD_enable, VMASST_TYPE_writable_pagetables);
939938

940-
HYPERVISOR_vm_assist(VMASST_CMD_enable,
941-
VMASST_TYPE_pae_extended_cr3);
942-
943939
if (register_callback(CALLBACKTYPE_event,
944940
xen_asm_exc_xen_hypervisor_callback) ||
945941
register_callback(CALLBACKTYPE_failsafe, xen_failsafe_callback))

0 commit comments

Comments
 (0)