* QEMU NVMe Emulation does not seem to work without Shadow Buffers Config
@ 2024-03-29 10:07 Constantine Gavrilov
2024-03-29 10:55 ` Constantine Gavrilov
0 siblings, 1 reply; 2+ messages in thread
From: Constantine Gavrilov @ 2024-03-29 10:07 UTC (permalink / raw)
To: qemu-devel
I am trying to write a custom NVMe driver and I tested it with QEMU
NVMe emulation on Fedora 39.
I have not tried to set shadow buffers, even though the controller
reports such support.
What I see is the following:
1. Only the first command in the Admin queue generates interrupt and
completes (Identify Controller command).
2. Any subsequent command does not complete (no CQE even if polling
CQ) and does not generate an interrupt.
I have a suspicion that the implemented shadow buffers config support
causes this behavior.
Any ideas?
--
----------------------------------------
Constantine Gavrilov
Systems Architect
----------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: QEMU NVMe Emulation does not seem to work without Shadow Buffers Config
2024-03-29 10:07 QEMU NVMe Emulation does not seem to work without Shadow Buffers Config Constantine Gavrilov
@ 2024-03-29 10:55 ` Constantine Gavrilov
0 siblings, 0 replies; 2+ messages in thread
From: Constantine Gavrilov @ 2024-03-29 10:55 UTC (permalink / raw)
To: qemu-devel
Please ignore. The issue was on my side.
On Fri, Mar 29, 2024 at 1:07 PM Constantine Gavrilov
<constantine.gavrilov@gmail.com> wrote:
>
> I am trying to write a custom NVMe driver and I tested it with QEMU
> NVMe emulation on Fedora 39.
> I have not tried to set shadow buffers, even though the controller
> reports such support.
> What I see is the following:
> 1. Only the first command in the Admin queue generates interrupt and
> completes (Identify Controller command).
> 2. Any subsequent command does not complete (no CQE even if polling
> CQ) and does not generate an interrupt.
>
> I have a suspicion that the implemented shadow buffers config support
> causes this behavior.
>
> Any ideas?
>
> --
> ----------------------------------------
> Constantine Gavrilov
> Systems Architect
> ----------------------------------------
--
----------------------------------------
Constantine Gavrilov
Systems Architect
----------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-29 12:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-29 10:07 QEMU NVMe Emulation does not seem to work without Shadow Buffers Config Constantine Gavrilov
2024-03-29 10:55 ` Constantine Gavrilov
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).