]> git.proxmox.com Git - mirror_qemu.git/blobdiff - accel/accel.c
qdev: Fix latent bug with compat_props and onboard devices
[mirror_qemu.git] / accel / accel.c
index 0d5b370dfde1e6105f4f23ef46c6d190ec9b33c2..8deb475b5dd4119428b4ddb830b175d61af248ce 100644 (file)
@@ -66,6 +66,7 @@ static int accel_init_machine(AccelClass *acc, MachineState *ms)
         *(acc->allowed) = false;
         object_unref(OBJECT(accel));
     }
+    object_set_accelerator_compat_props(acc->compat_props);
     return ret;
 }