Skip to content

Commit

Permalink
block: Move NVMe constants to a separate header
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fam Zheng committed Feb 8, 2018
1 parent 79d4658 commit a3d9a35
Show file tree
Hide file tree
Showing 3 changed files with 702 additions and 703 deletions.
7 changes: 1 addition & 6 deletions block/nvme.c
Expand Up @@ -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
Expand Down

0 comments on commit a3d9a35

Please sign in to comment.