From: Thomas Huth Date: Fri, 17 Nov 2023 11:44:55 +0000 (+0100) Subject: memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a36ea38abde3bba671d95c6dff61fcc3828aee22;p=qemu.git memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name 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 Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20231117114457.177308-4-thuth@redhat.com> Reviewed-by: Alistair Francis Signed-off-by: Thomas Huth --- diff --git a/include/exec/memory.h b/include/exec/memory.h index 831f7c996d..f172e82ac9 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -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,