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

Closes-Bug: 1798773

Change-Id: Ie62b7dfdf835ef60f9e7ba81f60dbcc517417a78
Signed-off-by: Martin Chen <haochuan.z.chen@intel.com>
This commit is contained in:
Martin Chen 2018-10-23 05:14:07 +08:00
parent 196eb85eba
commit 50b77e7d62
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