From: Helge Deller <deller@kernel.org>
To: qemu-devel@nongnu.org
Cc: Helge Deller <deller@gmx.de>, Brad Smith <brad@comstyle.com>,
"Kirill A . Korinsky" <kirill@korins.ky>
Subject: [PATCH v2 2/3] tests/functional/hppa: add OpenBSD CD-ROM boot test for qemu-system-hppa
Date: Tue, 24 Nov 2026 22:06:38 +0100 [thread overview]
Message-ID: <20261124210639.133084-3-deller@kernel.org> (raw)
In-Reply-To: <20261124210639.133084-1-deller@kernel.org>
From: "Kirill A. Korinsky" <kirill@korins.ky>
Test that OpenBSD boots on a B160L and reaches the installer.
Signed-off-by: Kirill A. Korinsky <kirill@korins.ky>
Signed-off-by: Helge Deller <deller@gmx.de>
---
tests/functional/hppa/meson.build | 1 +
tests/functional/hppa/test_openbsd.py | 37 +++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
create mode 100755 tests/functional/hppa/test_openbsd.py
diff --git a/tests/functional/hppa/meson.build b/tests/functional/hppa/meson.build
index df2f7ccc9c..d34feb69ae 100644
--- a/tests/functional/hppa/meson.build
+++ b/tests/functional/hppa/meson.build
@@ -6,4 +6,5 @@ tests_hppa_system_quick = [
tests_hppa_system_thorough = [
'cdboot',
+ 'openbsd',
]
diff --git a/tests/functional/hppa/test_openbsd.py b/tests/functional/hppa/test_openbsd.py
new file mode 100755
index 0000000000..22ab1e655c
--- /dev/null
+++ b/tests/functional/hppa/test_openbsd.py
@@ -0,0 +1,37 @@
+#!/usr/bin/env python3
+#
+# Test that OpenBSD boots on B160L and reaches the installer.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import QemuSystemTest, Asset
+from qemu_test import wait_for_console_pattern
+
+
+class OpenBSDB160L(QemuSystemTest):
+
+ ASSET_CD = Asset(
+ 'https://ftp.eu.openbsd.org/pub/OpenBSD/8.0/hppa/cd80.iso',
+ '9b3971dc3d2362e5d694495f2c2e10795513b87c9bcca5666df5a2bfea071663')
+
+ def test_openbsd_80_installer(self):
+ self.set_machine('B160L')
+ self.require_accelerator('tcg')
+ cdrom_path = self.ASSET_CD.fetch()
+
+ self.vm.set_console()
+ self.vm.add_args('-nic', 'none',
+ '-cdrom', cdrom_path,
+ '-boot', 'd',
+ '-no-reboot')
+ self.vm.launch()
+
+ wait_for_console_pattern(self, 'OpenBSD 8.0 (RAMDISK)', 'panic:')
+ wait_for_console_pattern(
+ self,
+ '(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?',
+ 'panic:')
+
+
+if __name__ == '__main__':
+ QemuSystemTest.main()
--
2.54.0
next prev parent reply other threads:[~2026-11-24 21:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 21:06 [PATCH v2 0/3] target/hppa patches Helge Deller
2026-11-24 21:06 ` [PATCH v2 1/3] hw/hppa: fix OpenBSD boot on B160L emulation Helge Deller
2026-11-24 21:06 ` Helge Deller [this message]
2026-11-24 21:06 ` [PATCH v2 3/3] hw/hppa: adjust CPU HPA on 715 to avoid broadcast address Helge Deller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261124210639.133084-3-deller@kernel.org \
--to=deller@kernel.org \
--cc=brad@comstyle.com \
--cc=deller@gmx.de \
--cc=kirill@korins.ky \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.