Revision 1442d3e6
b/vl.c | ||
---|---|---|
428 | 428 |
.name = "usb", |
429 | 429 |
.type = QEMU_OPT_BOOL, |
430 | 430 |
.help = "Set on/off to enable/disable usb", |
431 |
},{ |
|
432 |
.name = "firmware", |
|
433 |
.type = QEMU_OPT_STRING, |
|
434 |
.help = "firmware image", |
|
431 | 435 |
}, |
432 | 436 |
{ /* End of list */ } |
433 | 437 |
}, |
... | ... | |
3229 | 3233 |
} |
3230 | 3234 |
break; |
3231 | 3235 |
case QEMU_OPTION_bios: |
3232 |
bios_name = optarg;
|
|
3236 |
qemu_opts_set(qemu_find_opts("machine"), 0, "firmware", optarg);
|
|
3233 | 3237 |
break; |
3234 | 3238 |
case QEMU_OPTION_singlestep: |
3235 | 3239 |
singlestep = 1; |
... | ... | |
4050 | 4054 |
kernel_filename = qemu_opt_get(machine_opts, "kernel"); |
4051 | 4055 |
initrd_filename = qemu_opt_get(machine_opts, "initrd"); |
4052 | 4056 |
kernel_cmdline = qemu_opt_get(machine_opts, "append"); |
4057 |
bios_name = qemu_opt_get(machine_opts, "firmware"); |
|
4053 | 4058 |
|
4054 | 4059 |
boot_order = machine->default_boot_order; |
4055 | 4060 |
opts = qemu_opts_find(qemu_find_opts("boot-opts"), NULL); |
Also available in: Unified diff