示例#1
0
 def test_pseries_tcg(self):
     """
     :avocado: tags=machine:pseries
     :avocado: tags=accel:tcg
     """
     if not tcg_available(self.qemu_bin):
         self.cancel(TCG_NOT_AVAILABLE)
     self.vm.add_args("-accel", "tcg")
     self.launch_and_wait()
示例#2
0
 def test_s390_ccw_virtio_tcg(self):
     """
     :avocado: tags=machine:s390-ccw-virtio
     :avocado: tags=accel:tcg
     """
     if not tcg_available(self.qemu_bin):
         self.cancel(TCG_NOT_AVAILABLE)
     self.vm.add_args("-accel", "tcg")
     self.launch_and_wait()
示例#3
0
 def test_virt_tcg(self):
     """
     :avocado: tags=accel:tcg
     :avocado: tags=cpu:max
     """
     if not tcg_available(self.qemu_bin):
         self.cancel(TCG_NOT_AVAILABLE)
     self.vm.add_args("-accel", "tcg")
     self.vm.add_args("-cpu", "max")
     self.vm.add_args("-machine", "virt,gic-version=2")
     self.add_common_args()
     self.launch_and_wait()