Extensions
Forms
1 (1 Legacy)
Data
Intel XED v2026.08.23

VMCALL is how a guest under Intel’s VMX asks its hypervisor for a service. In a guest, in VMX non-root operation, it causes a VM exit unconditionally: before any other check, at every privilege level and in every mode. The architecture stops there. Which register carries the call number and what comes back are the hypervisor’s convention; the hypervisor sees exit reason 18 and the instruction’s length, 3 bytes, in the VMCS, and resumes the guest after it when it is done. VMMCALL is the counterpart under AMD’s SVM.

Outside a guest

  • With VMX off, as for an ordinary program on a machine without a hypervisor of this kind, VMCALL raises #UD.
  • In the hypervisor itself, VMX root operation, it raises #GP(0) above CPL 0. At CPL 0 it calls the SMM-transfer monitor if the dual-monitor treatment of SMIs is active or can be activated, and otherwise fails with VM-instruction error 1, “VMCALL executed in VMX root operation”.
  • AMD’s manuals do not list VMCALL among their instructions. Its bytes, 0F 01 C1, sit next to VMMCALL’s 0F 01 D9.

Not run here

The machine that recorded this site’s results is an AMD guest of KVM, where VMCALL is a hypercall, so the probe never ran it; the note under Operation says what KVM does with it. Neither does any compiler emit it: a guest kernel writes it in inline assembly, where GCC 14 and Clang 23 accept the mnemonic vmcall.

Forms

Every encoding of VMCALL that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
VMCALL VMCALLNP 0F 01 C1VMX

Latency and throughput

What the scheduling models of LLVM 23.1.2 give for each form, not measurements: latency / reciprocal throughput in cycles, the ports under them. A row is a model, or models that agree; a dash, a form that its processors lack. Memory forms: latency from the address, ports without the load and store units. Which processors each model covers.
ModelVMCALL
Sandy Bridge100 / 0.33p015
Haswell, Broadwell, Skylake, Skylake-SP, Ice Lake, Alder Lake, Sapphire Rapids100 / 0.25p0156
Bonnell100 / 0.5p01
Silvermont100 / 1FPC0

Operation

What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.

if not in_vmx:
    fault(UD)
if vmx_nonroot:
    vm_exit(18, 0)               # the hypercall: what the call means
                                 # is the hypervisor's to define
if CPL > 0 or seam:
    fault(GP, 0)
ctl = msr[IA32_SMM_MONITOR_CTL]  # MSEG's base in bits 31:12
dual = msr[IA32_VMX_BASIC] >> 49 & 1
p = current_vmcs
if in_smm or not dual or not ctl & 1:
    vm_fail(1)                   # in the hypervisor, VMCALL calls
                                 # the SMM-transfer monitor alone
elif dual_monitor:
    vm_exit(18, 0)               # an SMM VM exit, to the monitor
                                 # (34.15.2)
elif p == NO_VMCS:
    vm_fail_invalid()
elif launched(p):
    vm_fail(19)
elif not exit_controls_ok():
    vm_fail(20)                  # 34.15.6.1
else:
    mseg = ctl & 0xFFFFF000
    rev = msr[IA32_VMX_MISC] >> 32
    if phys_read(mseg, 32) != rev:
        vm_fail(22)              # MSEG's revision identifier
    elif phys_read(mseg + 4, 32) != 1:
        vm_fail(24)              # the monitor's features: 64-bit
                                 # mode needs bit 0, the rest 0
    else:
        vm_exit(18, 0)           # an SMM VM exit that activates
                                 # the dual-monitor treatment
                                 # (34.15.6)

Not run on a processor: the probe never runs VMCALL: in a KVM guest it is a hypercall, which on an AMD processor KVM emulates after the #UD it raises, answering at CPL 3 with an error in RAX rather than a fault.

Operands

What each form reads and writes, as Intel XED records it: the operands of its syntax, in order, and the implicit ones that the syntax does not name. How to read.
OperandKindAction
VMCALL
RFLAGSimplicitread, conditional write

Flags

T tested, M modified; blank: not affected. How to read.
WhenOFSFZFAFPFCFDFIFTFACIOPLNTRFVMVIFVIPID
All forms
in some casesMMMMMMMMMMTMMMTMMM

Attributes

What else XED records about the forms. How to read.

All forms
privileged: CPL 0 only; may abort a TSX transaction

CPUID and processors

Each form belongs to an XED ISA set. A form can be used when the processor reports every CPUID bit of one of its ISA set's alternatives.

CPUID requirements and processors of the XED ISA sets above. Alternatives are separated by “or”; processors follow XED’s chip model, whose AMD processors end with Zen 2, and the CPU data of this site for Zen 3 to Zen 6.
ISA setCPUIDProcessors
VTX

VMX
CPUID.01H:ECX[5] VMX

Core (Merom, Conroe), Penryn, Nehalem, Westmere, Sandy Bridge, Ivy Bridge, Haswell, Broadwell, Skylake, Comet Lake, Cannon Lake, Ice Lake (client), Tiger Lake, Alder Lake, Arrow Lake, Panther Lake, Nova Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids, Bonnell, Saltwell, Silvermont, Goldmont, Goldmont Plus, Tremont, Snow Ridge, Lakefield, Sierra Forest, Clearwater Forest, Knights Landing, Knights Mill

Note: XED's AMD chips, which it derives from its Intel chips, have VMX too; AMD processors implement AMD-V (SVM) instead, so this list leaves them out.

More VMX instructions

Sources

  1. Intel XED v2026.08.23 (commit 0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model.
  2. LLVM 23.1.2's x86 scheduling models (commit 85ac56026243): the latency, reciprocal throughput and ports of each form, as llvm-mca reports them.
  3. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 3 (325384-093, September 2026): Volume 3C, page 33-9 (VMCALL)
  4. AMD64 Architecture Programmer's Manual, Volume 3: General-Purpose and System Instructions (24594, rev. 3.39, October 2026)

The tables are derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted them. The timings come from LLVM's scheduling models, part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.