This function is only used for VMX, so move it to the proper namespace.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
void vcpu_tlb_flush(void);
-void vcpu_entry_failure(struct per_cpu *cpu_data);
-
/*
* vcpu_map_inst() and vcpu_get_inst_bytes() contract:
*
#define APIC_ACCESS_TYPE_LINEAR_READ 0x00000000
#define APIC_ACCESS_TYPE_LINEAR_WRITE 0x00001000
+void vmx_entry_failure(struct per_cpu *cpu_data);
+
void vmx_vmexit(void);
#endif /* !_JAILHOUSE_ASM_VMX_H */
vmresume
lea -PERCPU_STACK_END(%rsp),%rdi
- jmp vcpu_entry_failure
+ jmp vmx_entry_failure
panic_park();
}
-void vcpu_entry_failure(struct per_cpu *cpu_data)
+void vmx_entry_failure(struct per_cpu *cpu_data)
{
panic_printk("FATAL: vmresume failed, error %d\n",
vmcs_read32(VM_INSTRUCTION_ERROR));