]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-host-validate-common: Print warning on missing IOMMU
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Jan 2016 10:42:59 +0000 (11:42 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 9 Jan 2016 17:44:44 +0000 (18:44 +0100)
commit6e2770174e8f0eaebd04c35996c1a2ab0c202a7c
treeff5a9f9f9df3433a180b67f80b05887fd32b71f6
parentb7fac9f77ff3ba3554b5e2f3f149421af4ff2ea7
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>
tools/virt-host-validate-common.c