tests: explicitly set virt_mode to HVM when needed

HVM is no longer default
This commit is contained in:
Marek Marczykowski-Górecki 2018-01-15 15:57:54 +01:00
parent 241f1d1d3b
commit ae7031fe7e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -700,6 +700,7 @@ class TC_06_AppVMMixin(object):
self.vm = self.app.add_new_vm('StandaloneVM', label='red', name=vmname)
self.loop.run_until_complete(self.vm.create_on_disk())
self.vm.kernel = None
self.vm.virt_mode = 'hvm'
# start the VM using qvm-start tool, to test --cdrom option there
p = self.loop.run_until_complete(asyncio.create_subprocess_exec(