[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/17] tests/avocado/replay_linux: Fix cdrom device setup
From: |
Nicholas Piggin |
Subject: |
[PATCH 16/17] tests/avocado/replay_linux: Fix cdrom device setup |
Date: |
Fri, 20 Dec 2024 20:42:18 +1000 |
The cdrom device was not being added to the command line.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
tests/avocado/replay_linux.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/avocado/replay_linux.py b/tests/avocado/replay_linux.py
index 38b6f8e6652..6c08ddaaff1 100644
--- a/tests/avocado/replay_linux.py
+++ b/tests/avocado/replay_linux.py
@@ -57,6 +57,8 @@ def vm_add_disk(self, vm, path, id, device):
def vm_add_cdrom(self, vm, path, id, device):
vm.add_args('-drive', 'file=%s,id=disk%s,if=none,media=cdrom' % (path,
id))
+ vm.add_args('-device',
+ '%s,drive=disk%s' % (device, id))
def launch_and_wait(self, record, args, shift):
self.require_netdev('user')
--
2.45.2
- [PATCH 08/17] migration: Convert to new bh API, (continued)
- [PATCH 08/17] migration: Convert to new bh API, Nicholas Piggin, 2024/12/20
- [PATCH 09/17] monitor: Convert to new bh API, Nicholas Piggin, 2024/12/20
- [PATCH 10/17] qmp: Convert to new bh API, Nicholas Piggin, 2024/12/20
- [PATCH 11/17] block: Convert to new bh API, Nicholas Piggin, 2024/12/20
- [PATCH 12/17] hw/ide: Fix record-replay and convert to new bh API, Nicholas Piggin, 2024/12/20
- [PATCH 13/17] hw/scsi: Convert to new bh API, Nicholas Piggin, 2024/12/20
- [PATCH 14/17] async: add debugging assertions for record/replay in bh APIs, Nicholas Piggin, 2024/12/20
- [PATCH 15/17] tests/avocado/replay_linux: Fix compile error, Nicholas Piggin, 2024/12/20
- [PATCH 16/17] tests/avocado/replay_linux: Fix cdrom device setup,
Nicholas Piggin <=
- [PATCH 17/17] tests/avocado/replay_linux: remove the timeout expected guards, Nicholas Piggin, 2024/12/20
- Re: [PATCH 00/17] replay: Fixes and avocado test updates, Pavel Dovgalyuk, 2024/12/20