vl: clean up global property registration
commita0660e0bb8a501525c5bdfc67d56b954c3da664d
authorPeter Xu <peterx@redhat.com>
Tue, 27 Jun 2017 04:10:12 +0000 (27 12:10 +0800)
committerJuan Quintela <quintela@redhat.com>
Wed, 28 Jun 2017 09:18:38 +0000 (28 11:18 +0200)
tree25f7d909cbb905e1fe06022e594194a5c24158de
parent9ffea096b93388e4a3727ae766583715d9e61741
vl: clean up global property registration

It's not that clear on how the global properties are registered to
global_props (and also its priority relationship). Let's provide a
single function to be called in main() for that, with comment to explain
it a bit.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1498536619-14548-4-git-send-email-peterx@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
vl.c