Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsh

Hardware virtualization

Hardware virtualization is a set of processor features that let guest code run directly on the processor while a hypervisor keeps control of the machine.

With hardware virtualization, the processor runs guest code at full speed. It stops the guest when the guest tries an operation that would affect the real hardware. The processor gains a separate mode for guests beside its usual privilege levels. A guest kernel can then run with its normal privileges, unaware that a hypervisor is watching.

Before these features existed, an x86 hypervisor had to rewrite or interpret privileged guest instructions in software. Some of those instructions failed silently instead of stopping the guest. That work was slow and made hypervisors complex and hard to trust. VMware used binary translation to make x86 virtualization practical, and Xen changed guest kernels so that they called the hypervisor directly.

Every mainstream hypervisor now relies on these features, and each processor family has its own version. Examples are VT-x on Intel, AMD-V on AMD, and a dedicated hypervisor privilege level on Arm. The processor itself enforces the line between guests, so a virtual machine can be both fast and strongly isolated. The same features let one host run many sandboxes as virtual machines, each at close to native speed.