qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* mips system emulation failure with virtio
@ 2023-09-05 13:19 Richard Purdie
  2023-09-05 13:59 ` Alex Bennée
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Purdie @ 2023-09-05 13:19 UTC (permalink / raw)
  To: qemu-devel

With qemu 8.1.0 we see boot hangs fox x86-64 targets. 

These are fixed by 0d58c660689f6da1e3feff8a997014003d928b3b (softmmu:
Use async_run_on_cpu in tcg_commit) but if I add that commit, mips and
mips64 break, hanging at boot unable to find a rootfs. 

We use virtio for network and disk and both of those change in the
bootlog from messages like:

[    1.726118] virtio-pci 0000:00:13.0: enabling device (0000 -> 0003)
[    1.728864] virtio-pci 0000:00:14.0: enabling device (0000 -> 0003)
[    1.729948] virtio-pci 0000:00:15.0: enabling device (0000 -> 0003)
...
[    2.162148] virtio_blk virtio2: 1/0/0 default/read/poll queues
[    2.168311] virtio_blk virtio2: [vda] 1184242 512-byte logical 

to:

[    1.777051] virtio-pci 0000:00:13.0: enabling device (0000 -> 0003)
[    1.779822] virtio-pci 0000:00:14.0: enabling device (0000 -> 0003)
[    1.780926] virtio-pci 0000:00:15.0: enabling device (0000 -> 0003)
...
[    1.894852] virtio_rng: probe of virtio1 failed with error -28
...
[    2.063553] virtio_blk virtio2: 1/0/0 default/read/poll queues
[    2.064260] virtio_blk: probe of virtio2 failed with error -28
[    2.069080] virtio_net: probe of virtio0 failed with error -28


i.e. the virtio drivers no longer work.

I tested with current qemu master
(17780edd81d27fcfdb7a802efc870a99788bd2fc) and mips is still broken
there.

Is this issue known about?

Cheers,

Richard


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

end of thread, other threads:[~2023-09-06 16:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05 13:19 mips system emulation failure with virtio Richard Purdie
2023-09-05 13:59 ` Alex Bennée
2023-09-05 14:50   ` Richard Purdie
2023-09-05 15:12     ` Philippe Mathieu-Daudé
2023-09-05 15:53       ` Richard Purdie
2023-09-05 16:46         ` Philippe Mathieu-Daudé
2023-09-05 16:50           ` Richard Purdie
2023-09-06 15:50     ` Philippe Mathieu-Daudé
2023-09-06 16:06       ` Philippe Mathieu-Daudé
2023-09-06 16:46       ` Richard Purdie

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).