qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make test failure for iotest 267 on qemu-system-sparc64


From: Mark Cave-Ayland
Subject: make test failure for iotest 267 on qemu-system-sparc64
Date: Sat, 7 Mar 2020 09:48:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

Hi all,

After a recent rebase I've started seeing iotest 267 after running "make check" 
on
qemu-system-sparc64. The diff output looks similar to this:

--- /home/build/src/qemu/git/qemu/tests/qemu-iotests/267.out    2020-01-22
17:57:54.246650995 +0000
+++ /home/build/src/qemu/git/qemu/tests/qemu-iotests/267.out.bad        
2020-03-07
09:25:36.044451658 +0000
@@ -41,13 +41,7 @@
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 Testing: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=none -device
virtio-blk,drive=none0
 QEMU X.Y.Z monitor - type 'help' for more information
-(qemu) savevm snap0
-(qemu) info snapshots
-List of snapshots present on all disks:
-ID        TAG                 VM SIZE                DATE       VM CLOCK
---        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00:00:00.000
-(qemu) loadvm snap0
-(qemu) quit
+(qemu) QEMU_PROG: -device virtio-blk,drive=none0: PCI: no slot/function 
available
for virtio-blk-pci, all in use or reserved

The error message here is because the sun4u machine PCI root (default) bus 
contains
only 2 PCI bridges and cannot have devices plugged into it directly. An example 
of
how to use virtio-blk-pci on qemu-system-sparc64 is shown at
https://wiki.qemu.org/Documentation/Platforms/SPARC#All_PCI_devices_are_attached_behind_one_of_the_simba_PCI_bridges.

It seems that all that is missing is a way to specify the bus= parameter for the
virtio-blk-pci device for this test to work. Can anyone suggest a suitable way 
to do
this?


ATB,

Mark.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]