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
1 changed files with 5 additions and 0 deletions

View File

@ -1827,6 +1827,11 @@ check_variant3()
else
xen_pv_domu=1
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