Virtualization platforms typically rely on a foundation of KVM, QEMU, and libvirt. The platform architecture is divided into five functional levels: the management interface, the control plane (orchestrator), the node level (agents and libvirt), the execution level (KVM and QEMU), and the storage level.
The orchestrator manages resource allocation and host selection, while the node level executes specific tasks. If the orchestrator fails, existing virtual machines continue to run, but management capabilities are temporarily lost. Conversely, a host failure requires restarting virtual machines on a different node.
Initial configuration parameters, such as firmware (BIOS or UEFI), processor model, and drivers, are critical. Choosing a specific processor model instead of passing the host processor through is necessary to ensure future migration compatibility between servers with different hardware.
Guest agents, such as qemu-guest-agent, are essential for platform-guest communication. They enable features like IP address reporting, graceful shutdowns, file system freezing for backups, and time synchronization. These agents should be included in templates or local repositories.
Performance issues often stem from resource contention. High 'steal time' indicates that a virtual machine is waiting for physical CPU cycles occupied by other processes. Storage performance is influenced by disk provisioning types and the underlying storage infrastructure, including network and SAN logic.
Live migration involves the orchestrator selecting a target host and the execution level transferring memory state between nodes. If the virtual machine configuration is incompatible with the target hardware, such as mismatched processor instructions, the migration will fail.




