summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorMarc-André Lureau2018-12-01 20:44:11 +0100
committerMarc-André Lureau2019-01-07 13:18:41 +0100
commitb66bbee39f6deb28f0645760c536cbf2189a0687 (patch)
treedd227120080b44e0a4dbdcb78c296e48de7b11a9 /vl.c
parentmachines: replace COMPAT define with a static array (diff)
downloadqemu-b66bbee39f6deb28f0645760c536cbf2189a0687.tar.gz
qemu-b66bbee39f6deb28f0645760c536cbf2189a0687.tar.xz
qemu-b66bbee39f6deb28f0645760c536cbf2189a0687.zip
hw: apply machine compat properties without touching globals
Similarly to accel properties, move compat properties out of globals registration, and apply the machine compat properties during device_post_init(). 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>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 936d0c2587..be986b12a9 100644
--- a/vl.c
+++ b/vl.c
@@ -2996,7 +2996,6 @@ static void user_register_global_props(void)
*/
static void register_global_properties(MachineState *ms)
{
- machine_register_compat_props(ms);
user_register_global_props();
}