[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 08/13] nvme: use TYPE_NVME instead of constant string
From: |
Max Reitz |
Subject: |
[Qemu-devel] [PULL 08/13] nvme: use TYPE_NVME instead of constant string |
Date: |
Thu, 31 Jan 2019 01:59:40 +0100 |
From: Li Qiang <address@hidden>
Signed-off-by: Li Qiang <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Max Reitz <address@hidden>
---
hw/block/nvme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/block/nvme.c b/hw/block/nvme.c
index 7c8c63e8f5..f206391e8e 100644
--- a/hw/block/nvme.c
+++ b/hw/block/nvme.c
@@ -1381,7 +1381,7 @@ static void nvme_instance_init(Object *obj)
}
static const TypeInfo nvme_info = {
- .name = "nvme",
+ .name = TYPE_NVME,
.parent = TYPE_PCI_DEVICE,
.instance_size = sizeof(NvmeCtrl),
.class_init = nvme_class_init,
--
2.20.1
- [Qemu-devel] [PULL 00/13] Block patches, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 01/13] qapi: add x-debug-query-block-graph, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 02/13] scripts: add render_block_graph function for QEMUMachine, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 03/13] block/ssh: Convert from DPRINTF() macro to trace events, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 04/13] block/curl: Convert from DPRINTF() macro to trace events, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 05/13] block/file-posix: Convert from DPRINTF() macro to trace events, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 07/13] qemu-io: Add generic function for reinitializing optind., Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 06/13] block/sheepdog: Convert from DPRINTF() macro to trace events, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 08/13] nvme: use TYPE_NVME instead of constant string,
Max Reitz <=
- [Qemu-devel] [PULL 09/13] nvme: ensure the num_queues is not zero, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 10/13] nvme: use pci_dev directly in nvme_realize, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 11/13] iotests.py: Add qemu_nbd_pipe(), Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 13/13] iotests: Allow 147 to be run concurrently, Max Reitz, 2019/01/30
- [Qemu-devel] [PULL 12/13] iotests: Bind qemu-nbd to localhost in 147, Max Reitz, 2019/01/30