mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
qdev: Export qdev_hot_removed
I need to move qdev_unplug to qdev-monitor in the following patch, and it needs access to this variable. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
This commit is contained in:
parent
9bed84c191
commit
21def24a5a
2 changed files with 2 additions and 1 deletions
|
@ -387,6 +387,7 @@ Object *qdev_get_machine(void);
|
|||
void qdev_set_parent_bus(DeviceState *dev, BusState *bus);
|
||||
|
||||
extern bool qdev_hotplug;
|
||||
extern bool qdev_hot_removed;
|
||||
|
||||
char *qdev_get_dev_path(DeviceState *dev);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue