Ejemplo n.º 1
0
 def test_hypervisor_has_virtio(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")
Ejemplo n.º 2
0
 def test_hypervisor_has_virtio(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")