qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Constantine Gavrilov <constantine.gavrilov@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: QEMU NVMe Emulation does not seem to work without Shadow Buffers Config
Date: Fri, 29 Mar 2024 13:55:48 +0300	[thread overview]
Message-ID: <CAAL3td3UQ37Sgkj5RtENvq6kWTs1iK+HqfoHF9d5KMLoyES83g@mail.gmail.com> (raw)
In-Reply-To: <CAAL3td3sAwRv4AUZ0492wTVJ9qVUevM1FU2u_xxp93jCOi1K4g@mail.gmail.com>

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


      reply	other threads:[~2024-03-29 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAL3td3UQ37Sgkj5RtENvq6kWTs1iK+HqfoHF9d5KMLoyES83g@mail.gmail.com \
    --to=constantine.gavrilov@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).