diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-11-06 15:59:23 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-01-07 16:18:42 +0400 |
commit | 55df8e1a2ffe876c1884353a97e7054b4b53d1ac (patch) | |
tree | 73cd1b597bfc4e1ffc98176624d52198f237dd70 /vl.c | |
parent | 1c3994f6d2afa1ced3058aa707d43e44ca96cfc8 (diff) | |
download | qemu-55df8e1a2ffe876c1884353a97e7054b4b53d1ac.zip qemu-55df8e1a2ffe876c1884353a97e7054b4b53d1ac.tar.gz qemu-55df8e1a2ffe876c1884353a97e7054b4b53d1ac.tar.bz2 |
qdev: all globals are now user-provided
All globals are now either provided via -global or through -cpu
features (CPU features are implemented by registering globals).
If the global isn't being used, it should warn in either case.
We can thus consider that all global_props are "user-provided"
globals. No need to track this per-globals anymore.
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2964,7 +2964,6 @@ static int global_init_func(void *opaque, QemuOpts *opts, Error **errp) g->driver = qemu_opt_get(opts, "driver"); g->property = qemu_opt_get(opts, "property"); g->value = qemu_opt_get(opts, "value"); - g->user_provided = true; g->errp = &error_fatal; qdev_prop_register_global(g); return 0; |