* [Qemu-devel] Quick question on NVME on qemu
@ 2015-10-10 7:39 sahlot arvind
2015-10-12 8:05 ` Igor Mammedov
0 siblings, 1 reply; 4+ messages in thread
From: sahlot arvind @ 2015-10-10 7:39 UTC (permalink / raw)
To: qemu-devel, qemu-discuss
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
Hello,
Does qemu emulate a proper NVMe controller? Can someone please tell me how
can I use it to emulate a proper NVMe controller? Is there some way to
enable logging PCI accesses to NVMe controller so that I can see what
accesses my driver or OS is doing?
Thanks in advance!
Sahlot
[-- Attachment #2: Type: text/html, Size: 370 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Quick question on NVME on qemu
2015-10-10 7:39 [Qemu-devel] Quick question on NVME on qemu sahlot arvind
@ 2015-10-12 8:05 ` Igor Mammedov
2015-10-12 8:40 ` Kevin Wolf
0 siblings, 1 reply; 4+ messages in thread
From: Igor Mammedov @ 2015-10-12 8:05 UTC (permalink / raw)
To: sahlot arvind; +Cc: qemu-devel, qemu-discuss
On Sat, 10 Oct 2015 00:39:43 -0700
sahlot arvind <asahlot@gmail.com> wrote:
> Hello,
>
> Does qemu emulate a proper NVMe controller? Can someone please tell me how
s far as I'm aware, QEMU doesn't emulate any NVMe controller yet.
> can I use it to emulate a proper NVMe controller? Is there some way to
> enable logging PCI accesses to NVMe controller so that I can see what
> accesses my driver or OS is doing?
>
> Thanks in advance!
> Sahlot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Quick question on NVME on qemu
2015-10-12 8:05 ` Igor Mammedov
@ 2015-10-12 8:40 ` Kevin Wolf
2015-10-12 14:02 ` Keith Busch
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Wolf @ 2015-10-12 8:40 UTC (permalink / raw)
To: Igor Mammedov; +Cc: keith.busch, sahlot arvind, qemu-devel, qemu-discuss
Am 12.10.2015 um 10:05 hat Igor Mammedov geschrieben:
> On Sat, 10 Oct 2015 00:39:43 -0700
> sahlot arvind <asahlot@gmail.com> wrote:
>
> > Hello,
> >
> > Does qemu emulate a proper NVMe controller? Can someone please tell me how
> s far as I'm aware, QEMU doesn't emulate any NVMe controller yet.
It does, though I'm not sure how complete it is. You can use it with
-drive file=...,if=none,id=some_id -device nvme,drive=some_id
Kevin
> > can I use it to emulate a proper NVMe controller? Is there some way to
> > enable logging PCI accesses to NVMe controller so that I can see what
> > accesses my driver or OS is doing?
> >
> > Thanks in advance!
> > Sahlot
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Quick question on NVME on qemu
2015-10-12 8:40 ` Kevin Wolf
@ 2015-10-12 14:02 ` Keith Busch
0 siblings, 0 replies; 4+ messages in thread
From: Keith Busch @ 2015-10-12 14:02 UTC (permalink / raw)
To: Kevin Wolf
Cc: keith.busch, Igor Mammedov, sahlot arvind, qemu-devel,
qemu-discuss
On Mon, 12 Oct 2015, Kevin Wolf wrote:
> Am 12.10.2015 um 10:05 hat Igor Mammedov geschrieben:
>> On Sat, 10 Oct 2015 00:39:43 -0700
>> sahlot arvind <asahlot@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Does qemu emulate a proper NVMe controller? Can someone please tell me how
>> s far as I'm aware, QEMU doesn't emulate any NVMe controller yet.
>
> It does, though I'm not sure how complete it is. You can use it with
> -drive file=...,if=none,id=some_id -device nvme,drive=some_id
Yep, that's right. It is a basic 1.0 compliant (mostly) controller. There
are updates for up to 1.2 compliance that are in a public tree, but not
merged to mainline.
http://git.infradead.org/users/kbusch/qemu-nvme.git
>>> can I use it to emulate a proper NVMe controller? Is there some way to
>>> enable logging PCI accesses to NVMe controller so that I can see what
>>> accesses my driver or OS is doing?
It's not a problem to add more NVMe features. There's currently no such
logging mechanism, though. It shouldn't be too difficult to add if you
want to take a stab at it.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-12 14:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-10 7:39 [Qemu-devel] Quick question on NVME on qemu sahlot arvind
2015-10-12 8:05 ` Igor Mammedov
2015-10-12 8:40 ` Kevin Wolf
2015-10-12 14:02 ` Keith Busch
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).