vl: remove bios_name
bios_name was a legacy variable used by machine code, but it is no more. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20201026143028.3034018-16-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
43e61243cd
commit
d619f157a5
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
/* vl.c */
|
/* vl.c */
|
||||||
|
|
||||||
extern const char *bios_name;
|
|
||||||
extern int only_migratable;
|
extern int only_migratable;
|
||||||
extern const char *qemu_name;
|
extern const char *qemu_name;
|
||||||
extern QemuUUID qemu_uuid;
|
extern QemuUUID qemu_uuid;
|
||||||
|
@ -119,7 +119,6 @@
|
|||||||
|
|
||||||
static const char *data_dir[16];
|
static const char *data_dir[16];
|
||||||
static int data_dir_idx;
|
static int data_dir_idx;
|
||||||
const char *bios_name = NULL;
|
|
||||||
enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB;
|
enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB;
|
||||||
int display_opengl;
|
int display_opengl;
|
||||||
const char* keyboard_layout = NULL;
|
const char* keyboard_layout = NULL;
|
||||||
@ -4212,7 +4211,6 @@ void qemu_init(int argc, char **argv, char **envp)
|
|||||||
kernel_filename = qemu_opt_get(machine_opts, "kernel");
|
kernel_filename = qemu_opt_get(machine_opts, "kernel");
|
||||||
initrd_filename = qemu_opt_get(machine_opts, "initrd");
|
initrd_filename = qemu_opt_get(machine_opts, "initrd");
|
||||||
kernel_cmdline = qemu_opt_get(machine_opts, "append");
|
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);
|
opts = qemu_opts_find(qemu_find_opts("boot-opts"), NULL);
|
||||||
if (opts) {
|
if (opts) {
|
||||||
|
Loading…
Reference in New Issue
Block a user