nvmf_tgt: don't report vendor ID for virtual mode
The emulated NVMe controller exposed by virtual subsystems does not provide the Intel vendor-specific commands and behaviors, so it should not use the 0x8086 vendor ID. Change-Id: Iab4f0513d30f610feb62b1899da1b6316f11691c Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
d5670b97ff
commit
8fac961254
@ -88,8 +88,6 @@ nvmf_virtual_ctrlr_get_data(struct spdk_nvmf_session *session)
|
||||
memset(&session->vcdata, 0, sizeof(struct spdk_nvme_ctrlr_data));
|
||||
spdk_strcpy_pad(session->vcdata.fr, FW_VERSION, sizeof(session->vcdata.fr), ' ');
|
||||
spdk_strcpy_pad(session->vcdata.mn, MODEL_NUMBER, sizeof(session->vcdata.mn), ' ');
|
||||
session->vcdata.vid = 0x8086;
|
||||
session->vcdata.ssvid = 0x8086;
|
||||
spdk_strcpy_pad(session->vcdata.sn, subsys->dev.virt.sn, sizeof(session->vcdata.sn), ' ');
|
||||
session->vcdata.rab = 6;
|
||||
session->vcdata.ver.bits.mjr = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user