qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v7 10/48] nvme: remove redundant cmbloc/cmbsz members


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v7 10/48] nvme: remove redundant cmbloc/cmbsz members
Date: Wed, 15 Apr 2020 09:48:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 4/15/20 9:19 AM, Klaus Birkelund Jensen wrote:
On Apr 15 09:10, Philippe Mathieu-Daudé wrote:

"hw/block/nvme.h" should not pull in "block/nvme.h", both should include a
common "hw/block/nvme_spec.h" (or better named). Not related to this patch
although.


Hmm. It does pull in the "include/block/nvme.h" which is basically the
"nvme_spec.h" you are talking about. That file holds all spec related
structs that are shared between the VFIO based nvme driver
(block/nvme.c) and the emulated device (hw/block/nvme.c).

Isn't that what is intended?

You are correct, "include/block/nvme.h" contains the spec definitions. I was expecting to see (QEMU) block-related structure in it, but they aren't.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]