mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
bootindex: add check bootindex function
Determine whether a given bootindex exists or not. If exists, we report an error. Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
bc74112f7e
commit
694fb857ab
2 changed files with 16 additions and 0 deletions
|
@ -213,6 +213,7 @@ void add_boot_device_path(int32_t bootindex, DeviceState *dev,
|
|||
char *get_boot_devices_list(size_t *size, bool ignore_suffixes);
|
||||
|
||||
DeviceState *get_boot_device(uint32_t position);
|
||||
void check_boot_index(int32_t bootindex, Error **errp);
|
||||
|
||||
QemuOpts *qemu_get_machine_opts(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue