def METHOD_NAME(self):
    ret = libvirt_setup.hypervisor_has_virtio("kvm")
    self.assertTrue(ret, "Hypervisor has virtio")
    for libvirt_type in ["xen", "hyperv"]:
        ret = libvirt_setup.hypervisor_has_virtio(libvirt_type)
        self.assertFalse(ret, "Hypervisor has no virtio")