2 KVM Host: Installation and Configuration

Install user-space packages, enable libvirt services, and validate that an Oracle Linux 9 system can host KVM virtual machines.

Use this procedure to prepare an Oracle Linux 9 system to host KVM virtual machines. It installs the required packages, enables the libvirt services, and verifies that the host supports hardware virtualization. Complete this task on any host before creating or managing VMs.

  1. Optional: If you require the Oracle KVM stack instead of the Default KVM stack, then Enable Yum Repositories.

    Important:

    This step is only required when using the Oracle KVM Stack. The Default KVM Stack is available in the standard core system repositories.

    To identify the sources that include the Default KVM Stack or the Oracle KVM Stack, see Virtualization Package Sources.

  2. Install Virtualization Packages.
  3. Validate Host System to ensure that the system can host guest VMs.
  4. Optional: On UEK systems only, Switch KVM Stacks between the Default KVM stack and Oracle KVM stack.