From: "Andreas Färber" <afaerber@suse.de>
To: Keith Busch <keith.busch@intel.com>
Cc: Hannes Reinecke <hare@suse.de>,
qemu-devel@nongnu.org, Keith Busch <keith.busch@gmail.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] NVMe: Initial commit to add an NVM Express device
Date: Sat, 08 Dec 2012 18:59:21 +0100 [thread overview]
Message-ID: <50C37FF9.9090904@suse.de> (raw)
In-Reply-To: <1354925118-23061-1-git-send-email-keith.busch@intel.com>
Hi,
Am 08.12.2012 01:05, schrieb Keith Busch:
> An implementation of a generic NVMe Controller PCI device, developed
> from the open standard available at nvmexpress.org.
>
> Cc: Michael S. Tsirkin <mst@redhat.com>
> Cc: Keith Busch <keith.busch@gmail.com>
> Signed-off-by: Keith Busch <keith.busch@intel.com>
> ---
> I've developed for QEMU for a little while, but this is my first patch, so
> I wouldn't be the least bit surprised if I broke some qemu dev rules.
>
> I wasn't sure if I should submit this as really I think only driver
> developers would be interested. Since it is a fairly large patch, maybe
> no one would review it if they don't already have an interest in NVM
> Express, but we found emulation quite helpful in driver development as
> real hardware is only recently starting to be released, and hope others
> others might find this helpful too. So if this is accepted, us driver
> developers can get all the benefits of the latest QEMU without managing
> our own branch like we're doing today! :)
Generally we encourage people to upstream their devices, given they are
sufficiently isolated and/or maintainable. Your submission is however
lacking an entry to the MAINTAINERS file to assign someone (you?) who
knows and cares about this device, in case some refactoring needs to
touch it (get_maintainer.pl) or questions arise.
IIUC from the website above, NVMe is to be used with SSDs? It would be
good to add to the commit message how to actually use the device
command-line-wise beyond the obvious -device nvme: I did not spot on
brief sight where you expose a bus to add drives (nor a special IF_*
interface type to assign to a drive), so others might wonder as well.
Also explaining the acronym in the commit message (in addition to your
device description far down) is always nice.
Did you do any benchmarks how your NVMe emulation compares to our
existing storage support?
The patch is overly large - might there be a way to split it into a
series by adding some feature in a second step?
If at some point NVMe could become part of a chipset, it might be good
to place the device state struct in an nvme.h header.
I notice that your device is lacking VMState (i.e., migration support).
There's some formal issues that I'll comment on in a second pass.
Regards,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2012-12-08 17:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-08 0:05 [Qemu-devel] [PATCH] NVMe: Initial commit to add an NVM Express device Keith Busch
2012-12-08 7:38 ` Stefan Weil
2012-12-08 7:52 ` Stefan Weil
2012-12-08 17:59 ` Andreas Färber [this message]
2012-12-08 19:20 ` Keith Busch
2012-12-08 20:59 ` Andreas Färber
2012-12-10 12:36 ` Kevin Wolf
2012-12-10 14:11 ` Stefan Hajnoczi
2012-12-10 16:28 ` Busch, Keith
2012-12-13 0:13 ` Busch, Keith
2012-12-13 9:12 ` Kevin Wolf
2012-12-13 9:34 ` Paolo Bonzini
2012-12-13 9:33 ` Paolo Bonzini
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=50C37FF9.9090904@suse.de \
--to=afaerber@suse.de \
--cc=hare@suse.de \
--cc=keith.busch@gmail.com \
--cc=keith.busch@intel.com \
--cc=mst@redhat.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).