[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 8/9] tests/avocado: add replay Linux tests for virtio machine
From: |
Pavel Dovgalyuk |
Subject: |
[PATCH v2 8/9] tests/avocado: add replay Linux tests for virtio machine |
Date: |
Wed, 04 May 2022 12:39:33 +0300 |
User-agent: |
StGit/0.23 |
This patch adds two tests for replaying Linux boot process
on x86_64 virtio platform.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
---
tests/avocado/replay_linux.py | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/tests/avocado/replay_linux.py b/tests/avocado/replay_linux.py
index 1099b5647f..3bb1bc8816 100644
--- a/tests/avocado/replay_linux.py
+++ b/tests/avocado/replay_linux.py
@@ -123,3 +123,29 @@ def test_pc_q35(self):
:avocado: tags=machine:q35
"""
self.run_rr(shift=3)
+
+@skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout')
+class ReplayLinuxX8664Virtio(ReplayLinux):
+ """
+ :avocado: tags=arch:x86_64
+ :avocado: tags=virtio
+ :avocado: tags=accel:tcg
+ """
+
+ hdd = 'virtio-blk-pci'
+ cd = 'virtio-blk-pci'
+ bus = None
+
+ chksum = 'e3c1b309d9203604922d6e255c2c5d098a309c2d46215d8fc026954f3c5c27a0'
+
+ def test_pc_i440fx(self):
+ """
+ :avocado: tags=machine:pc
+ """
+ self.run_rr(shift=1)
+
+ def test_pc_q35(self):
+ """
+ :avocado: tags=machine:q35
+ """
+ self.run_rr(shift=3)
- [PATCH v2 0/9] Record/replay refactoring and stuff, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 1/9] replay: fix event queue flush for qemu shutdown, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 2/9] replay: notify vCPU when BH is scheduled, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 3/9] replay: rewrite async event handling, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 4/9] replay: simplify async event processing, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 5/9] docs: convert docs/devel/replay page to rst, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 6/9] docs: move replay docs to docs/system/replay.rst, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 7/9] tests/avocado: update replay_linux test, Pavel Dovgalyuk, 2022/05/04
- [PATCH v2 8/9] tests/avocado: add replay Linux tests for virtio machine,
Pavel Dovgalyuk <=
- [PATCH v2 9/9] tests/avocado: add replay Linux test for Aarch64 machines, Pavel Dovgalyuk, 2022/05/04