[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/5] hw/nvme: bump firmware revision
From: |
Klaus Jensen |
Subject: |
[PATCH 5/5] hw/nvme: bump firmware revision |
Date: |
Tue, 19 Apr 2022 14:10:39 +0200 |
From: Klaus Jensen <k.jensen@samsung.com>
The Linux kernel quirks the QEMU NVMe controller pretty heavily because
of the namespace identifier mess. Since this is now fixed, bump the
firmware revision number to allow the quirk to be disabled for this
revision.
As of now, bump the firmware revision number to be equal to the QEMU
release version number.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
---
hw/nvme/ctrl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c
index 2b7828ac6952..dc298aacc422 100644
--- a/hw/nvme/ctrl.c
+++ b/hw/nvme/ctrl.c
@@ -6708,7 +6708,7 @@ static void nvme_init_ctrl(NvmeCtrl *n, PCIDevice
*pci_dev)
id->vid = cpu_to_le16(pci_get_word(pci_conf + PCI_VENDOR_ID));
id->ssvid = cpu_to_le16(pci_get_word(pci_conf + PCI_SUBSYSTEM_VENDOR_ID));
strpadcpy((char *)id->mn, sizeof(id->mn), "QEMU NVMe Ctrl", ' ');
- strpadcpy((char *)id->fr, sizeof(id->fr), "1.0", ' ');
+ strpadcpy((char *)id->fr, sizeof(id->fr), QEMU_VERSION, ' ');
strpadcpy((char *)id->sn, sizeof(id->sn), n->params.serial, ' ');
id->cntlid = cpu_to_le16(n->cntlid);
--
2.35.1
- Re: [PATCH 2/5] hw/nvme: always set eui64, (continued)
[PATCH 3/5] hw/nvme: do not report null uuid, Klaus Jensen, 2022/04/19
[PATCH 4/5] hw/nvme: do not auto-generate uuid, Klaus Jensen, 2022/04/19
[PATCH 5/5] hw/nvme: bump firmware revision,
Klaus Jensen <=
Re: [PATCH 0/5] hw/nvme: fix namespace identifiers, Keith Busch, 2022/04/19