Merge "Fix host check wrong in virt-support-goenabled.sh"

This commit is contained in:
Zuul 2018-10-22 19:30:07 +00:00 committed by Gerrit Code Review
commit 0fb6d1a135
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ REASONS=$(virt-host-validate qemu 2>/dev/null | grep -w -e FAIL)
# - on emulated systems such as VirtualBox or QEMU, vmx is not required
# - if vmx is enabled on QEMU, it can also support nested virtualization
if [ "${host_type}" = "physical" ] && [ "${hardware_virt_supported}" == "false" ]; then
if [ "${host_type}" == "physical" ] && [ "${hardware_virt_supported}" == "false" ]; then
LOG "Virtualization is not supported: ${OPTS}. Failing goenabled check."
LOG "Failure reasons:"$'\n'"${REASONS}"
exit 1