tests: set virt_mode='hvm' for PCI tests

This commit is contained in:
Marek Marczykowski-Górecki 2018-01-26 23:49:11 +01:00
parent c3d287a33c
commit 99134efc3c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -48,6 +48,7 @@ class TC_00_Devices_PCI(qubes.tests.SystemTestCase):
name=self.make_vm_name('vm'), name=self.make_vm_name('vm'),
label='red', label='red',
) )
self.vm.virt_mode = 'hvm'
self.loop.run_until_complete( self.loop.run_until_complete(
self.vm.create_on_disk()) self.vm.create_on_disk())
self.vm.features['pci-no-strict-reset/' + pcidev] = True self.vm.features['pci-no-strict-reset/' + pcidev] = True