[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 3/5] memory: Remove "qemu:" prefix from the "qemu:ram-disc
|
From: |
Alistair Francis |
|
Subject: |
Re: [PATCH v3 3/5] memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name |
|
Date: |
Tue, 21 Nov 2023 13:13:02 +1000 |
On Fri, Nov 17, 2023 at 9:46 PM Thomas Huth <thuth@redhat.com> wrote:
>
> 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>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
> ---
> include/exec/memory.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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,
> --
> 2.42.0
>
>
- [PATCH v3 0/5] Limit type names to alphanumerical and some few special characters, Thomas Huth, 2023/11/17
- [PATCH v3 1/5] docs/system/arm: Fix for rename of type "xlnx.bbram-ctrl", Thomas Huth, 2023/11/17
- [PATCH v3 2/5] hw: Replace anti-social QOM type names (again), Thomas Huth, 2023/11/17
- [PATCH v3 3/5] memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name, Thomas Huth, 2023/11/17
- Re: [PATCH v3 3/5] memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name,
Alistair Francis <=
- [PATCH v3 4/5] tests/unit/test-io-task: Rename "qemu:dummy" to avoid colon in the name, Thomas Huth, 2023/11/17
- [PATCH v3 5/5] qom/object: Limit type names to alphanumerical and some few special characters, Thomas Huth, 2023/11/17