@@ -30,7 +30,8 @@ class BootLinuxConsole(Test):
kernel_hash = '238e083e114c48200f80d889f7e32eeb2793e02a'
kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
- self.vm.set_machine('pc')
+ self.vm.set_arch(self.arch)
+ self.vm.set_machine()
self.vm.set_console()
kernel_command_line = 'console=ttyS0'
self.vm.add_args('-kernel', kernel_path,
@@ -18,6 +18,8 @@ class Version(Test):
:avocado: tags=quick
"""
def test_qmp_human_info_version(self):
+ self.vm.set_arch(self.arch)
+ self.vm.set_machine()
self.vm.launch()
res = self.vm.command('human-monitor-command',
command_line='info version')
@@ -16,6 +16,11 @@ class Vnc(Test):
:avocado: enable
:avocado: tags=vnc,quick
"""
+ def setUp(self):
+ super(Vnc, self).setUp()
+ self.vm.set_arch(self.arch)
+ self.vm.set_machine()
+
def test_no_vnc(self):
self.vm.add_args('-nodefaults', '-S')
self.vm.launch()