On Thu, Jan 02, 2025 at 01:45:30PM -0800, Joe Muller wrote:
Hello, Per libvirt and Redhat (up to RHEL7) documentation, the libvirt-guests daemon should be enabled to ensure that guest VMs are properly shutdown/suspended if the KVM host is shutdown/rebooted. I understand that in addition to other changes, Redhat moved from the 'monolithic' libvirtd service model to the 'modular' multiple service model. Out of the box, the systemd libvirt-guests.service is disabled, and testing shows that the associated qemu-kvm processes for virtual machines are simply killed as the various virt* services are stopped as part of the systemd shutdown target.
It's still true that you want libvirt-guests if you care about clean shutdown of your VMs (unless you have your own solution).
Did Redhat just decide to fork libvirt and do their own thing, or there some equivalent way to get the same clean shutdown behavior which libvirt-guests used to provide?
Not that I know of. I just think the documentation was reworked.
Relevant documentation: --- https://libvirt.org/daemons.html https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_virtualization/assembly_enabling-virtualization-in-rhel-9_configuring-and-managing-virtualization#proc_enabling-virtualization-in-rhel-9_assembly_enabling-virtualization-in-rhel-9 -- Joe Muller System Administrator Sonic.
Attachment:
signature.asc
Description: PGP signature