diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-02 09:44:36 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-15 12:51:55 -0500 |
commit | f2ce39b4f067fe8b8de6104a2d8ac558d35c330b (patch) | |
tree | 0d6c327eb7b5522347c7f465d403829af4f2ec6e /softmmu/vl.c | |
parent | 55810e90cc9a5ca18289c25aa5c1e0e2dc77eadb (diff) | |
download | qemu-f2ce39b4f067fe8b8de6104a2d8ac558d35c330b.zip qemu-f2ce39b4f067fe8b8de6104a2d8ac558d35c330b.tar.gz qemu-f2ce39b4f067fe8b8de6104a2d8ac558d35c330b.tar.bz2 |
vl: make qemu_get_machine_opts static
Machine options can be retrieved as properties of the machine object.
Encourage that by removing the "easy" accessor to machine options.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r-- | softmmu/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index 4fece1b..0f7222a 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -481,7 +481,7 @@ static QemuOptsList qemu_fw_cfg_opts = { * * Returns: machine options (never null). */ -QemuOpts *qemu_get_machine_opts(void) +static QemuOpts *qemu_get_machine_opts(void) { return qemu_find_opts_singleton("machine"); } |