1b3dc0695SMasami Hiramatsu /* SPDX-License-Identifier: GPL-2.0 */ 2b3dc0695SMasami Hiramatsu #ifndef _ASM_X86_EMULATE_PREFIX_H 3b3dc0695SMasami Hiramatsu #define _ASM_X86_EMULATE_PREFIX_H 4b3dc0695SMasami Hiramatsu 5b3dc0695SMasami Hiramatsu /* 6b3dc0695SMasami Hiramatsu * Virt escape sequences to trigger instruction emulation; 7b3dc0695SMasami Hiramatsu * ideally these would decode to 'whole' instruction and not destroy 8b3dc0695SMasami Hiramatsu * the instruction stream; sadly this is not true for the 'kvm' one :/ 9b3dc0695SMasami Hiramatsu */ 10b3dc0695SMasami Hiramatsu 11b3dc0695SMasami Hiramatsu #define __XEN_EMULATE_PREFIX 0x0f,0x0b,0x78,0x65,0x6e /* ud2 ; .ascii "xen" */ 12b3dc0695SMasami Hiramatsu #define __KVM_EMULATE_PREFIX 0x0f,0x0b,0x6b,0x76,0x6d /* ud2 ; .ascii "kvm" */ 13b3dc0695SMasami Hiramatsu 14b3dc0695SMasami Hiramatsu #endif 15