[libvirt] [PATCH 0/4] Add more host validation checks

Daniel P. Berrange berrange at redhat.com
Wed Oct 7 16:50:54 UTC 2015

This extends the virt-host-validate command todo a bunch more
checks. Probably the most interesting is the last one which
checks for Intel IOMMU needed todo PCI assignment with KVM.
It is pretty crude, so further suggestions welcome. I don't
want to grep dmesg as suggested in [1] since dmesg can be
purged by the time we look at it.

What kmods should we look for for VT-D too ?

[1] http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM

Daniel P. Berrange (4):
  virt-host-validate.c: check for kernel namespaces
  virt-host-validate: distinguish exists vs accessible for devices
  virt-host-validate: check for required cgroups
  virt-host-validate: check for intel_iommu=on cmdline flag

 tools/virt-host-validate-common.c | 209 +++++++++++++++++++++++++++++++++++---
 tools/virt-host-validate-common.h |  31 +++++-
 tools/virt-host-validate-lxc.c    |  60 +++++++++++
 tools/virt-host-validate-qemu.c   |  66 ++++++++++--
 4 files changed, 338 insertions(+), 28 deletions(-)


More information about the libvir-list mailing list