Starting the KVM guest with virsh start fails

Unable to start the KVM guest when using the virsh start command.

Symptoms

On the KVM host, the domain XML configures a virtual server. The virtual server definition for a SEL guest points to the kernel image from which the guest is booted. Using the KVM console, this guest is first defined with virsh define <guest_configuration.xml>, then started with virsh start. The virsh start command can fail.

Causes

The virtual server might not have enough memory to unlock volumes during the boot process.

Resolving the problem

Increase the memory allocated for the virtual server.

User response

Try these options: Increase the memory by using the <memory> element in the domain-configuration XML of the virtual server. Change the LUKS2 key-derivation method from the default Argon2 to PBKDF2 by using the cryptsetup luksConvertKey command.