hw/intc/arm_gicv3_its: Drop TableDesc and CmdQDesc valid fields
[qemu.git] / tests / avocado / ppc_virtex_ml507.py
bloba6912ee57932e92cd66a91f4e36ff2c636592bf0
1 # Test that Linux kernel boots on ppc machines and check the console
3 # Copyright (c) 2018, 2020 Red Hat, Inc.
5 # This work is licensed under the terms of the GNU GPL, version 2 or
6 # later. See the COPYING file in the top-level directory.
8 from avocado.utils import archive
9 from avocado_qemu import QemuSystemTest
10 from avocado_qemu import wait_for_console_pattern
12 class VirtexMl507Machine(QemuSystemTest):
14 timeout = 90
15 KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
16 panic_message = 'Kernel panic - not syncing'
18 def test_ppc_virtex_ml507(self):
19 """
20 :avocado: tags=arch:ppc
21 :avocado: tags=machine:virtex-ml507
22 """
23 tar_url = ('https://www.qemu-advent-calendar.org'
24 '/2020/download/hippo.tar.gz')
25 tar_hash = '306b95bfe7d147f125aa176a877e266db8ef914a'
26 file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
27 archive.extract(file_path, self.workdir)
28 self.vm.set_console()
29 self.vm.add_args('-kernel', self.workdir + '/hippo/hippo.linux',
30 '-dtb', self.workdir + '/hippo/virtex440-ml507.dtb',
31 '-m', '512')
32 self.vm.launch()
33 wait_for_console_pattern(self, 'QEMU advent calendar 2020',
34 self.panic_message)