VMREAD and VMWRITE with a register operand are most of the VMX instructions that a nested hypervisor executes: Linux's KVM does about eight of them for every VM exit of its guest. Their emulation only touches the cached copy of the guest's VMCS and the guest's registers, so there is no need to return to vm_run() and to freeze the vCPU for it.
Like the parent revision, this was written with an AI assistant (Anthropic's Claude) under my direction.
Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com>
Sponsored by: keelos.dev