mirror of https://gitee.com/openkylin/qemu.git
hw/block/nvme: remove non-shared defines from header file
Remove non-shared defines from the shared header. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org>
This commit is contained in:
parent
7ef37c1c59
commit
de482d1fad
|
@ -23,6 +23,7 @@
|
|||
#include "trace.h"
|
||||
|
||||
#define MIN_DISCARD_GRANULARITY (4 * KiB)
|
||||
#define NVME_DEFAULT_ZONE_SIZE (128 * MiB)
|
||||
|
||||
void nvme_ns_init_format(NvmeNamespace *ns)
|
||||
{
|
||||
|
|
|
@ -168,6 +168,7 @@
|
|||
#define NVME_TEMPERATURE_WARNING 0x157
|
||||
#define NVME_TEMPERATURE_CRITICAL 0x175
|
||||
#define NVME_NUM_FW_SLOTS 1
|
||||
#define NVME_DEFAULT_MAX_ZA_SIZE (128 * KiB)
|
||||
|
||||
#define NVME_GUEST_ERR(trace, fmt, ...) \
|
||||
do { \
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
|
||||
#include "block/nvme.h"
|
||||
|
||||
#define NVME_DEFAULT_ZONE_SIZE (128 * MiB)
|
||||
#define NVME_DEFAULT_MAX_ZA_SIZE (128 * KiB)
|
||||
#define NVME_MAX_CONTROLLERS 32
|
||||
#define NVME_MAX_NAMESPACES 256
|
||||
|
||||
|
|
Loading…
Reference in New Issue