]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: report any detected hypervisor in post_mortem
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Nov 2023 11:04:02 +0000 (12:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Nov 2023 14:39:21 +0000 (15:39 +0100)
commitff9e06cd532bb86bfb6f73d4950c39540a56c925
tree5200f33365e91173598654c80e6c7caefab1f882
parent0cc799bdd1e7ad4856593711f3df3b5539a865d6
MINOR: debug: report any detected hypervisor in post_mortem

When the x86 CPU flags show the "hypervisor" flag, we know we're running
inside QEMU, VMware or possibly other flavors of hypervisors. In this
case we'll report either "qemu", "vmware" or "yes" for other ones in
the "virt_techno" field, based on the DMI hardware vendor name,
otherwise "no" when the flag is not found.
src/debug.c