From d1878278416de4a3c3c2edfd72cdd33138b4b5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Wed, 8 May 2019 20:44:54 +0200 Subject: [PATCH] enh(vmm): add Xen daemons detection --- spectre-meltdown-checker.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 3cd481e..c1a007b 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -3898,13 +3898,14 @@ check_CVE_2018_3646_linux() # this can always be overridden with --vmm in any case. has_vmm=0 if command -v pgrep >/dev/null 2>&1; then - if pgrep qemu >/dev/null || pgrep kvm >/dev/null || pgrep libvirtd >/dev/null; then + if pgrep qemu >/dev/null || pgrep kvm >/dev/null || pgrep libvirtd >/dev/null || \ + pgrep xenbus >/dev/null || pgrep xenwatch >/dev/null || pgrep xenstored >/dev/null || pgrep xenconsoled >/dev/null; then has_vmm=1 fi else # ignore SC2009 as `ps ax` is actually used as a fallback if `pgrep` isn't installed # shellcheck disable=SC2009 - if ps ax | grep -vw grep | grep -q -e '\