qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, mst@redhat.com,
	mark.cave-ayland@ilande.co.uk, frederic.konrad@adacore.com,
	kraxel@redhat.com, edgar.iglesias@gmail.com, jcd@tribudubois.net,
	qemu-block@nongnu.org, quintela@redhat.com,
	andrew.smirnov@gmail.com, marcandre.lureau@redhat.com,
	atar4qemu@gmail.com, ehabkost@redhat.com, alistair@alistair23.me,
	dgilbert@redhat.com, chouteau@adacore.com, qemu-arm@nongnu.org,
	peter.chubb@nicta.com.au, jsnow@redhat.com, kwolf@redhat.com,
	berrange@redhat.com, mreitz@redhat.com, pbonzini@redhat.com
Subject: [PATCH v2 2/2] memory: Drop "qemu:" prefix from QOM memory region type names
Date: Thu,  4 Mar 2021 15:02:29 +0100	[thread overview]
Message-ID: <20210304140229.575481-3-armbru@redhat.com> (raw)
In-Reply-To: <20210304140229.575481-1-armbru@redhat.com>

Almost all QOM type names consist only of letters, digits, '-', '_',
and '.'.  Just two contain ':': "qemu:memory-region" and
"qemu:iommu-memory-region".  Neither can be plugged with -object.
Rename them to "memory-region" and "iommu-memory-region".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 include/exec/memory.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index c6fb714e49..3c95d7831a 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -33,11 +33,11 @@
 #define MAX_PHYS_ADDR_SPACE_BITS 62
 #define MAX_PHYS_ADDR            (((hwaddr)1 << MAX_PHYS_ADDR_SPACE_BITS) - 1)
 
-#define TYPE_MEMORY_REGION "qemu:memory-region"
+#define TYPE_MEMORY_REGION "memory-region"
 DECLARE_INSTANCE_CHECKER(MemoryRegion, MEMORY_REGION,
                          TYPE_MEMORY_REGION)
 
-#define TYPE_IOMMU_MEMORY_REGION "qemu:iommu-memory-region"
+#define TYPE_IOMMU_MEMORY_REGION "iommu-memory-region"
 typedef struct IOMMUMemoryRegionClass IOMMUMemoryRegionClass;
 DECLARE_OBJ_CHECKERS(IOMMUMemoryRegion, IOMMUMemoryRegionClass,
                      IOMMU_MEMORY_REGION, TYPE_IOMMU_MEMORY_REGION)
-- 
2.26.2



  parent reply	other threads:[~2021-03-04 14:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 14:02 [PATCH v2 0/2] QOM type names and QAPI Markus Armbruster
2021-03-04 14:02 ` [PATCH v2 1/2] hw: Replace anti-social QOM type names Markus Armbruster
2021-03-05  7:26   ` Mark Cave-Ayland
2021-03-04 14:02 ` Markus Armbruster [this message]
2021-03-04 22:28   ` [PATCH v2 2/2] memory: Drop "qemu:" prefix from QOM memory region " Alistair Francis
2021-03-05  9:48   ` Philippe Mathieu-Daudé
2021-03-04 14:47 ` [PATCH v2 0/2] QOM type names and QAPI Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210304140229.575481-3-armbru@redhat.com \
    --to=armbru@redhat.com \
    --cc=alistair@alistair23.me \
    --cc=andrew.smirnov@gmail.com \
    --cc=atar4qemu@gmail.com \
    --cc=berrange@redhat.com \
    --cc=chouteau@adacore.com \
    --cc=dgilbert@redhat.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=ehabkost@redhat.com \
    --cc=frederic.konrad@adacore.com \
    --cc=jcd@tribudubois.net \
    --cc=jsnow@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=mreitz@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.chubb@nicta.com.au \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).