aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/input-linux.c2
-rw-r--r--ui/spice-core.c2
-rw-r--r--ui/vnc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ui/input-linux.c b/ui/input-linux.c
index 0bc0405ec6..2cf5d4990c 100644
--- a/ui/input-linux.c
+++ b/ui/input-linux.c
@@ -388,4 +388,4 @@ static void input_linux_register_config(void)
{
qemu_add_opts(&qemu_input_linux_opts);
}
-machine_init(input_linux_register_config);
+opts_init(input_linux_register_config);
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);
diff --git a/ui/vnc.c b/ui/vnc.c
index 729f630e3a..9494a19ecf 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3875,4 +3875,4 @@ static void vnc_register_config(void)
{
qemu_add_opts(&qemu_vnc_opts);
}
-machine_init(vnc_register_config);
+opts_init(vnc_register_config);