Skip to content

Commit e11543c

Browse files
philmdXanClic
authored andcommitted
iotests: Fix 051 output after qdev_init_nofail() removal
Commit 96927c7 replaced qdev_init_nofail() call by isa_realize_and_unref() which has a different error message. Update the test output accordingly. Gitlab CI error after merging b77b5b3: https://gitlab.com/qemu-project/qemu/-/jobs/597414772#L4375 Reported-by: Thomas Huth <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Max Reitz <[email protected]>
1 parent d88d5a3 commit e11543c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/qemu-iotests/051.pc.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
142142

143143
Testing: -drive if=ide
144144
QEMU X.Y.Z monitor - type 'help' for more information
145-
(qemu) QEMU_PROG: Initialization of device ide-hd failed: Device needs media, but drive is empty
145+
(qemu) QEMU_PROG: Device needs media, but drive is empty
146146

147147
Testing: -drive if=virtio
148148
QEMU X.Y.Z monitor - type 'help' for more information
@@ -214,7 +214,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
214214

215215
Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
216216
QEMU X.Y.Z monitor - type 'help' for more information
217-
(qemu) QEMU_PROG: Initialization of device ide-hd failed: Block node is read-only
217+
(qemu) QEMU_PROG: Block node is read-only
218218

219219
Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
220220
QEMU X.Y.Z monitor - type 'help' for more information

0 commit comments

Comments
 (0)