]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
vl: Simplify global property registration
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 28 Jan 2016 15:11:04 +0000 (13:11 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 20 May 2016 17:28:54 +0000 (14:28 -0300)
commit16714b16806979d7f9f245b2b4c13966e4fa1c2e
tree91e71a1b4331bead2b77d37bb4c3b09664d12c57
parent1f0dfe02d47b14b04f2643828e2ee11665e1eb24
vl: Simplify global property registration

There's no need to use qdev_prop_register_global_list() and an
array, if we are registering a single GlobalProperty struct. Use
qdev_prop_register_global() instead.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
vl.c