Definitions

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

Definitionsh

Hypervisor

A hypervisor is software that creates and runs virtual machines on one physical machine.

A hypervisor is software that creates and runs virtual machines, giving each one a share of the hardware of a single physical machine. Each virtual machine runs its own kernel and behaves as a separate computer. The hypervisor decides which physical resources back each guest. Guests cannot see each other and usually cannot tell how many share their host. KVM, Xen and Hyper-V are common hypervisors.

Most guest instructions run directly on the physical processor at full speed. The hardware virtualization features of the processor stop a guest when it tries an operation that affects the real machine. The hypervisor then carries out a safe version of the operation and resumes the guest. These stops make a guest slower than bare metal, so hypervisors work to keep them rare.

Memory is isolated in a similar way. On current processors, guest addresses pass through a second set of page tables that only the hypervisor controls, so a guest cannot reach memory that was not given to it. A guest sees only the devices it was given, which are emulated, paravirtual or passed through. Cloud providers depend on the hypervisor to turn one server into many units they can allocate and bill. Sandboxes that run as virtual machines rely on it for their isolation.