virt-host-validate-common: Print warning on missing IOMMU

No only coverity warns about this, but it kind of makes sense
too. We have a test whether host supports IOMMU. Some platforms
don't have it, I know. But in that case we should print a message
that it's unknown whether platform has it or not.

Before:
  (no output)

After:
  QEMU: Checking for device assignment IOMMU support                         : WARN (Unknown if this platform has IOMMU support)

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2016-01-07 11:42:59 +01:00
parent b7fac9f77f
commit 6e2770174e
1 changed files with 0 additions and 3 deletions

View File

@ -367,9 +367,6 @@ int virHostValidateIOMMU(const char *hvname,
isIntel = true;
else if (virHostValidateHasCPUFlag("svm"))
isAMD = true;
else
/* XXX PPC/ARM/etc support */
return 0;
virHostMsgCheck(hvname, "%s", _("for device assignment IOMMU support"));