diff options
author | Juan Quintela <quintela@redhat.com> | 2017-03-28 11:08:52 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-04-21 12:25:40 +0200 |
commit | 9bed84c19138bd161e9a6157a93ae0b25b5f7a71 (patch) | |
tree | 9d0a30a53365ea963c450633cdd0036f08850fe3 /include | |
parent | fab350052698e27a1011d0d6f4257d8fecb84867 (diff) | |
download | qemu-9bed84c19138bd161e9a6157a93ae0b25b5f7a71.zip qemu-9bed84c19138bd161e9a6157a93ae0b25b5f7a71.tar.gz qemu-9bed84c19138bd161e9a6157a93ae0b25b5f7a71.tar.bz2 |
qdev: qdev_hotplug is really a bool
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/qdev-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index b44b476..a96a913 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -386,7 +386,7 @@ Object *qdev_get_machine(void); /* FIXME: make this a link<> */ void qdev_set_parent_bus(DeviceState *dev, BusState *bus); -extern int qdev_hotplug; +extern bool qdev_hotplug; char *qdev_get_dev_path(DeviceState *dev); |