]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ch: Drop pid from monitor
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Apr 2025 15:45:56 +0000 (17:45 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 4 Apr 2025 13:30:23 +0000 (15:30 +0200)
commitb065df3d04603e2aec0b2b9d78427b8697fb3476
tree0ae84b9fa54da56bd67012b37fb3b4fe4d196e96
parent3dae81c8d718ccd6a75f0e76380186ed0877d786
ch: Drop pid from monitor

The domain object already has a member that allows storing
hypervisor's PID (vm->pid). There's no need to duplicate it in
_virCHMonitor struct. Switch CH code to use the former.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/ch/ch_events.c
src/ch/ch_monitor.c
src/ch/ch_monitor.h
src/ch/ch_process.c