mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-11-04 20:58:02 +01:00
fix(kvm): properly detect PVHVM mode (fixes #163)
This commit is contained in:
parent
053f1613de
commit
12ea49fe0c
@ -1827,6 +1827,11 @@ check_variant3()
|
|||||||
else
|
else
|
||||||
xen_pv_domu=1
|
xen_pv_domu=1
|
||||||
fi
|
fi
|
||||||
|
# PVHVM guests also print 'Booting paravirtualized kernel', so we need this check.
|
||||||
|
dmesg_grep 'Xen HVM callback vector for event delivery is enabled$'; ret=$?
|
||||||
|
if [ $ret -eq 0 ]; then
|
||||||
|
xen_pv_domu=0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user