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:
parent
196eb85eba
commit
50b77e7d62
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user