Hey All,
I'm working on a project to integrate the qemu-guest-agent service into a RHEL_9_4 based OS in my company.
As part of the development process of this project, I downloaded the qemu-kvm 8.2.0-12 rpm from the redhat package manager - link
After bringing the untainted package I modified it to compile in the designated environment & stripped all non qemu-guest-agent related features from the .spec file.
During testing, the guest agent functions as expected except for the graceful shutdown capability - both from UI button & from server host using "qm shutdown <vmid>".
Environment
host-

guest-

qemu-guest-agent on guest side -


Reasearch
When debugging this issue, I tried sending shutdown request from the proxmox host server with "qm shutdown <vm id>"

The shutdown request was received from agent side but guest remains running

when connecting directly to the socket and sending acpi request - it seems to work ("execute" : "system_powerdown"}

Note: I tested the same rpm on Linux Rocky 9.5 and the graceful shutdown seems to work fine - which makes me think this is OS related.
How can I further investigate this problem? are there any configuration I can test that might resolve this?
Thank' s
I'm working on a project to integrate the qemu-guest-agent service into a RHEL_9_4 based OS in my company.
As part of the development process of this project, I downloaded the qemu-kvm 8.2.0-12 rpm from the redhat package manager - link
After bringing the untainted package I modified it to compile in the designated environment & stripped all non qemu-guest-agent related features from the .spec file.
During testing, the guest agent functions as expected except for the graceful shutdown capability - both from UI button & from server host using "qm shutdown <vmid>".
Environment
host-

guest-

qemu-guest-agent on guest side -


Reasearch
When debugging this issue, I tried sending shutdown request from the proxmox host server with "qm shutdown <vm id>"

The shutdown request was received from agent side but guest remains running

when connecting directly to the socket and sending acpi request - it seems to work ("execute" : "system_powerdown"}

Note: I tested the same rpm on Linux Rocky 9.5 and the graceful shutdown seems to work fine - which makes me think this is OS related.
How can I further investigate this problem? are there any configuration I can test that might resolve this?
Thank' s