[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 15/15] vl: remove bios_name
From: |
Thomas Huth |
Subject: |
Re: [PATCH 15/15] vl: remove bios_name |
Date: |
Tue, 27 Oct 2020 15:22:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 26/10/2020 15.30, Paolo Bonzini wrote:
> bios_name was a legacy variable used by machine code, but it is
> no more.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> include/sysemu/sysemu.h | 1 -
> softmmu/vl.c | 2 --
> 2 files changed, 3 deletions(-)
>
> diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
> index 817ff4cf75..1336b4264a 100644
> --- a/include/sysemu/sysemu.h
> +++ b/include/sysemu/sysemu.h
> @@ -8,7 +8,6 @@
>
> /* vl.c */
>
> -extern const char *bios_name;
> extern int only_migratable;
> extern const char *qemu_name;
> extern QemuUUID qemu_uuid;
> diff --git a/softmmu/vl.c b/softmmu/vl.c
> index b7d7f43c88..7909709879 100644
> --- a/softmmu/vl.c
> +++ b/softmmu/vl.c
> @@ -119,7 +119,6 @@
>
> static const char *data_dir[16];
> static int data_dir_idx;
> -const char *bios_name = NULL;
> enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB;
> int display_opengl;
> const char* keyboard_layout = NULL;
> @@ -4205,7 +4204,6 @@ void qemu_init(int argc, char **argv, char **envp)
> kernel_filename = qemu_opt_get(machine_opts, "kernel");
> initrd_filename = qemu_opt_get(machine_opts, "initrd");
> kernel_cmdline = qemu_opt_get(machine_opts, "append");
> - bios_name = qemu_opt_get(machine_opts, "firmware");
>
> opts = qemu_opts_find(qemu_find_opts("boot-opts"), NULL);
> if (opts) {
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
- [PATCH 10/15] ppc: remove bios_name, (continued)
- [PATCH 10/15] ppc: remove bios_name, Paolo Bonzini, 2020/10/26
- [PATCH 14/15] sparc: remove bios_name, Paolo Bonzini, 2020/10/26
- [PATCH 08/15] mips: remove bios_name, Paolo Bonzini, 2020/10/26
- [PATCH 15/15] vl: remove bios_name, Paolo Bonzini, 2020/10/26
- Re: [PATCH 00/15] remove bios_name variable, no-reply, 2020/10/26