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:
Fam Zheng 2018-01-16 14:08:59 +08:00
parent 79d465839f
commit a3d9a352d4
3 changed files with 702 additions and 703 deletions

View file

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