qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Dropped/disabled NVME support in qemu
@ 2020-12-21  5:12 Guenter Roeck
  2020-12-21 14:11 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 4+ messages in thread
From: Guenter Roeck @ 2020-12-21  5:12 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Kevin Wolf, Philippe Mathieu-Daudé

Hi all,

since qemu v5.1, nvme support has been dropped from several architectures.
Well, it was not exactly dropped, but disabled.

On those architectures, trying to boot from an nvme drive now results
in the following or a similar error message.

qemu-system-alpha: -device nvme,serial=foo,drive=d0: MSI-X is not supported by interrupt controller

This is the result of the following two commits.

fbf2e5375e ("hw/block/nvme: Verify msix_vector_use() returned value")
1c0c2163aa ("hw/block/nvme: verify msix_init_exclusive_bar() return value")

Affected architectures are alpha, parisc, ppc, sh, and sparc, and every other
architecture/platform where the interrupt controller does not support MSI-X.
After reverting above patches, I can boot from nvme again.

This does not really matter for me - I run my own versions of qemu anyway,
and don't mind carrying reverts if I have to. However, for my education,
I would like to understand why nvme support was disabled, especially since
it seemed to work for me just fine for years. Can someone please explain ?

Thanks,
Guenter



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

end of thread, other threads:[~2020-12-21 15:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-21  5:12 Dropped/disabled NVME support in qemu Guenter Roeck
2020-12-21 14:11 ` Philippe Mathieu-Daudé
2020-12-21 15:17   ` Klaus Jensen
2020-12-21 15:55     ` Guenter Roeck

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