mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
block: Move NVMe constants to a separate header
Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20180116060901.17413-8-famz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
This commit is contained in:
parent
79d465839f
commit
a3d9a352d4
3 changed files with 702 additions and 703 deletions
|
@ -22,12 +22,7 @@
|
|||
#include "block/block_int.h"
|
||||
#include "trace.h"
|
||||
|
||||
/* TODO: Move nvme spec definitions from hw/block/nvme.h into a separate file
|
||||
* that doesn't depend on dma/pci headers. */
|
||||
#include "sysemu/dma.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/block/block.h"
|
||||
#include "hw/block/nvme.h"
|
||||
#include "block/nvme.h"
|
||||
|
||||
#define NVME_SQ_ENTRY_BYTES 64
|
||||
#define NVME_CQ_ENTRY_BYTES 16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue