qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* make test failure for iotest 267 on qemu-system-sparc64
@ 2020-03-07  9:48 Mark Cave-Ayland
  2020-06-22  9:25 ` Thomas Huth
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Cave-Ayland @ 2020-03-07  9:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: Thomas Huth

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-22 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-07  9:48 make test failure for iotest 267 on qemu-system-sparc64 Mark Cave-Ayland
2020-06-22  9:25 ` Thomas Huth
2020-06-22 19:40   ` Mark Cave-Ayland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).