nvme: bump PCI revision
The broken Identify implementation in earlier Qemu versions means we need to blacklist it from issueing the NVMe 1.1 Identify Namespace List command. As we want to be able to use it in newer Qemu versions we need a way to identify those. Bump the PCI revision as a guest visible indicator of this bug fix. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
03035a23a3
commit
47989f1447
@ -954,7 +954,7 @@ static void nvme_class_init(ObjectClass *oc, void *data)
|
||||
pc->class_id = PCI_CLASS_STORAGE_EXPRESS;
|
||||
pc->vendor_id = PCI_VENDOR_ID_INTEL;
|
||||
pc->device_id = 0x5845;
|
||||
pc->revision = 1;
|
||||
pc->revision = 2;
|
||||
pc->is_express = 1;
|
||||
|
||||
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
||||
|
Loading…
Reference in New Issue
Block a user