On Mon, Oct 29, 2018 at 05:39:07PM +0000, Okash Khawaja wrote: > Hi, > > For VMX instructions, we use opcodes instead of mnemonics, such as > > #define ASM_VMX_VMPTRLD_RAX ".byte 0x0f, 0xc7, 0x30" (from > arch/x86/include/asm/vmx.h) > > for "vmptrld (%%rax)". > > Is it because when this was written, the compiler couldn't recognise > the VMX mnemonics? Or are there other reasons? They weren't available. This has already been remedied in kvm/next, see commit 4b1e54786e48 ("KVM/x86: Use assembly instruction mnemonics instead of .byte streams").