From 34294e2f545dae9f020b6d52e3929f4c4e45800c Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Tue, 16 Feb 2016 18:59:07 -0200 Subject: module: Rename machine_init() to opts_init() The only remaining users of machine_init() only call qemu_add_opts(). Rename machine_init() to opts_init() and move it closer to the qemu_add_opts() calls on vl.c. Cc: "Michael S. Tsirkin" Cc: Igor Mammedov Cc: Gerd Hoffmann Reviewed-by: Marcel Apfelbaum Reviewed-by: Michael S. Tsirkin Signed-off-by: Eduardo Habkost --- ui/spice-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/spice-core.c') diff --git a/ui/spice-core.c b/ui/spice-core.c index a68a665a9a..e1179258d0 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -945,4 +945,4 @@ static void spice_register_config(void) { qemu_add_opts(&qemu_spice_opts); } -machine_init(spice_register_config); +opts_init(spice_register_config); -- cgit v1.2.3