diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2016-02-16 18:59:07 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-03-16 15:54:23 -0300 |
commit | 34294e2f545dae9f020b6d52e3929f4c4e45800c (patch) | |
tree | 93554d0af7120bb50751f0c86e191e6b05debced /fsdev/qemu-fsdev-opts.c | |
parent | 0e6aac87fd0f5db2be57c36c03d67388577208a7 (diff) | |
download | qemu-34294e2f545dae9f020b6d52e3929f4c4e45800c.zip qemu-34294e2f545dae9f020b6d52e3929f4c4e45800c.tar.gz qemu-34294e2f545dae9f020b6d52e3929f4c4e45800c.tar.bz2 |
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" <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'fsdev/qemu-fsdev-opts.c')
-rw-r--r-- | fsdev/qemu-fsdev-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsdev/qemu-fsdev-opts.c b/fsdev/qemu-fsdev-opts.c index 0b4619f..88a4ac3 100644 --- a/fsdev/qemu-fsdev-opts.c +++ b/fsdev/qemu-fsdev-opts.c @@ -83,4 +83,4 @@ static void fsdev_register_config(void) qemu_add_opts(&qemu_fsdev_opts); qemu_add_opts(&qemu_virtfs_opts); } -machine_init(fsdev_register_config); +opts_init(fsdev_register_config); |