From 9d27572d626be35aea079df1ea690215fea0598a Mon Sep 17 00:00:00 2001 From: Gonglei Date: Tue, 7 Oct 2014 16:00:07 +0800 Subject: bootindex: add del_boot_device_path function Introduce del_boot_device_path() to clean up fw_cfg content when hot-unplugging a device that refers to a bootindex or update a existent devcie's bootindex. Signed-off-by: Gonglei Signed-off-by: Chenliang Reviewed-by: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- include/sysemu/sysemu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sysemu/sysemu.h') diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 72463de..b3489be 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -214,6 +214,7 @@ 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); +void del_boot_device_path(DeviceState *dev, const char *suffix); QemuOpts *qemu_get_machine_opts(void); -- cgit v1.1