All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marc-André Lureau" <marcandre.lureau@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PULL 05/28] hw: remove SET_MACHINE_COMPAT
Date: Fri,  4 Jan 2019 21:30:19 +0400	[thread overview]
Message-ID: <20190104173042.32714-6-marcandre.lureau@redhat.com> (raw)
In-Reply-To: <20190104173042.32714-1-marcandre.lureau@redhat.com>

No longer needed.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
---
 include/hw/boards.h | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/include/hw/boards.h b/include/hw/boards.h
index f14c38bb63..0566742412 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -288,16 +288,4 @@ struct MachineState {
     } \
     type_init(machine_initfn##_register_types)
 
-#define SET_MACHINE_COMPAT(m, compat) \
-    do {                              \
-        int i;                        \
-        if (!m->compat_props) { \
-            m->compat_props = g_array_new(false, false, sizeof(void *)); \
-        } \
-        for (i = 0; i < G_N_ELEMENTS(compat); i++) {          \
-            GlobalProperty *prop = &compat[i];          \
-            g_array_append_val(m->compat_props, prop); \
-        }                                              \
-    } while (0)
-
 #endif
-- 
2.20.1.2.gb21ebb671b

  parent reply	other threads:[~2019-01-04 17:31 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04 17:30 [Qemu-devel] [PULL 00/28] Machine props patches Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 01/28] hw: apply accel compat properties without touching globals Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 02/28] machines: replace COMPAT define with a static array Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 03/28] hw: apply machine compat properties without touching globals Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 04/28] machine: move compat properties out of globals Marc-André Lureau
2019-01-04 17:30 ` Marc-André Lureau [this message]
2019-01-04 17:30 ` [Qemu-devel] [PULL 06/28] compat: replace PC_COMPAT_3_1 & HW_COMPAT_3_1 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 07/28] compat: replace PC_COMPAT_3_0 & HW_COMPAT_3_0 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 08/28] compat: replace PC_COMPAT_2_12 & HW_COMPAT_2_12 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 09/28] compat: replace PC_COMPAT_2_11 & HW_COMPAT_2_11 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 10/28] compat: replace PC_COMPAT_2_10 & HW_COMPAT_2_10 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 11/28] compat: replace PC_COMPAT_2_9 & HW_COMPAT_2_9 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 12/28] compat: replace PC_COMPAT_2_8 & HW_COMPAT_2_8 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 13/28] compat: replace PC_COMPAT_2_7 & HW_COMPAT_2_7 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 14/28] compat: replace PC_COMPAT_2_6 & HW_COMPAT_2_6 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 15/28] compat: replace PC_COMPAT_2_5 & HW_COMPAT_2_5 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 16/28] compat: replace PC_COMPAT_2_4 & HW_COMPAT_2_4 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 17/28] compat: replace PC_COMPAT_2_3 & HW_COMPAT_2_3 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 18/28] compat: replace PC_COMPAT_2_2 & HW_COMPAT_2_2 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 19/28] compat: replace PC_COMPAT_2_1 & HW_COMPAT_2_1 macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 20/28] include: remove compat.h Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 21/28] compat: remove remaining PC_COMPAT macros Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 22/28] qdev: make a separate helper function to apply compat properties Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 23/28] qdev: all globals are now user-provided Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 24/28] qdev-props: convert global_props to GPtrArray Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 25/28] qdev-props: remove errp from GlobalProperty Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 26/28] qdev-props: call object_apply_global_props() Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 27/28] arm: replace instance_post_init() Marc-André Lureau
2019-01-04 17:30 ` [Qemu-devel] [PULL 28/28] hostmem: use object id for memory region name with >= 4.0 Marc-André Lureau
2019-01-07 11:55 ` [Qemu-devel] [PULL 00/28] Machine props patches Peter Maydell

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=20190104173042.32714-6-marcandre.lureau@redhat.com \
    --to=marcandre.lureau@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.