Hi Tim, On Fri, Dec 10, 2021 at 10:11:04PM +0000, Tim Woodall wrote: > Is there a simple way to tell if the kernel/hypervisor that was used to > boot is the one currently installed in /boot. I do not do this - I build my own hypervisor packages when there is an upstream XSA that affects me and then I have to schedule downtime to boot into it, so I am well aware of what is booted into what. However, it seems you can read the ELF build ID from the kernel file and also from "xl info" (or /sys/hypervisor/properties/buildid if you decode it). Please see attached file check_running_hypervisor.sh for an example. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Attachment:
check_running_hypervisor.sh
Description: Bourne shell script