fix(kvm): properly detect PVHVM mode (fixes #163)

This commit is contained in:
Stéphane Lesimple 2018-03-16 18:29:58 +01:00
parent 053f1613de
commit 12ea49fe0c

View File

@ -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