Lines Matching defs:self
24 def common_test_code(self, netdev, extra_args=None):
25 self.set_machine('q35')
29 kernel = self.ASSET_BZIMAGE.fetch()
30 rootfs = self.ASSET_ROOTFS.fetch()
45 self.vm.add_args('-kernel', kernel,
50 self.vm.set_console(console_index=0)
51 self.vm.launch()
53 wait_for_console_pattern(self,
58 self.vm.kill()
60 def test_igb(self):
61 self.common_test_code("igb")
63 def test_igb_nomsi(self):
64 self.common_test_code("igb", "pci=nomsi")
74 def test_e1000(self):
75 self.common_test_code("e1000")
78 def test_i82550(self):
79 self.common_test_code("i82550")