[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 11/19] memory: Remove "qemu:" prefix from the "qemu:ram-discard-ma
From: |
Thomas Huth |
Subject: |
[PULL 11/19] memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name |
Date: |
Wed, 20 Dec 2023 10:40:57 +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 | 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.43.0
- [PULL 00/19] First batch of misc patches for QEMU 9.0, Thomas Huth, 2023/12/20
- [PULL 04/19] system/qtest: Restrict QTest API to system emulation, Thomas Huth, 2023/12/20
- [PULL 01/19] hw: Add compat machines for 9.0, Thomas Huth, 2023/12/20
- [PULL 02/19] MAINTAINERS: Add some more vmware-related files to the corresponding section, Thomas Huth, 2023/12/20
- [PULL 03/19] system/qtest: Include missing 'hw/core/cpu.h' header, Thomas Huth, 2023/12/20
- [PULL 07/19] hw/s390x/ipl: Remove unused 'exec/exec-all.h' included header, Thomas Huth, 2023/12/20
- [PULL 05/19] hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header, Thomas Huth, 2023/12/20
- [PULL 06/19] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header, Thomas Huth, 2023/12/20
- [PULL 09/19] docs/system/arm: Fix for rename of type "xlnx.bbram-ctrl", Thomas Huth, 2023/12/20
- [PULL 10/19] hw: Replace anti-social QOM type names (again), Thomas Huth, 2023/12/20
- [PULL 11/19] memory: Remove "qemu:" prefix from the "qemu:ram-discard-manager" type name,
Thomas Huth <=
- [PULL 08/19] target: Restrict 'sysemu/reset.h' to system emulation, Thomas Huth, 2023/12/20
- [PULL 12/19] tests/unit/test-io-task: Rename "qemu:dummy" to avoid colon in the name, Thomas Huth, 2023/12/20
- [PULL 14/19] tests/qtest/migration-test: Fix analyze-migration.py for s390x, Thomas Huth, 2023/12/20
- [PULL 15/19] qemu-options: Clarify handling of commas in options parameters, Thomas Huth, 2023/12/20
- [PULL 13/19] qom/object: Limit type names to alphanumerical and some few special characters, Thomas Huth, 2023/12/20
- [PULL 16/19] tests/qtest/npcm7xx_pwm-test: Only do full testing in slow mode, Thomas Huth, 2023/12/20
- [PULL 18/19] tests/unit/test-qmp-event: Simplify event emission check, Thomas Huth, 2023/12/20
- [PULL 17/19] tests/unit/test-qmp-event: Drop superfluous mutex, Thomas Huth, 2023/12/20
- [PULL 19/19] tests/unit/test-qmp-event: Replace fixture by global variables, Thomas Huth, 2023/12/20
- Re: [PULL 00/19] First batch of misc patches for QEMU 9.0, Stefan Hajnoczi, 2023/12/20