]> git.proxmox.com Git - mirror_qemu.git/commitdiff
memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name
authorThomas Huth <thuth@redhat.com>
Fri, 17 Nov 2023 11:44:55 +0000 (12:44 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 20 Dec 2023 09:29:23 +0000 (10:29 +0100)
Type names should not contain special characters like ":". Let's
remove the whole prefix here since it does not really seem to be
helpful to have such a prefix here. The type name is only used
internally for an interface type, so the renaming should not affect
the user interface or migration.

Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231117114457.177308-4-thuth@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/exec/memory.h

index 831f7c996d9da49cdf9884fdeffa32959865cb07..f172e82ac9e76bb86516f3186b364194e0cbaad1 100644 (file)
@@ -43,7 +43,7 @@ typedef struct IOMMUMemoryRegionClass IOMMUMemoryRegionClass;
 DECLARE_OBJ_CHECKERS(IOMMUMemoryRegion, IOMMUMemoryRegionClass,
                      IOMMU_MEMORY_REGION, TYPE_IOMMU_MEMORY_REGION)
 
-#define TYPE_RAM_DISCARD_MANAGER "qemu:ram-discard-manager"
+#define TYPE_RAM_DISCARD_MANAGER "ram-discard-manager"
 typedef struct RamDiscardManagerClass RamDiscardManagerClass;
 typedef struct RamDiscardManager RamDiscardManager;
 DECLARE_OBJ_CHECKERS(RamDiscardManager, RamDiscardManagerClass,