]> git.proxmox.com Git - qemu.git/blobdiff - hw/qdev.h
Merge remote-tracking branch 'spice/spice.v39' into staging
[qemu.git] / hw / qdev.h
index 9808f85119700449c9eca96d36f0aaba4e3c5270..8a13ec95cc6a96521ec4e54ffa3d48c914b1ddf4 100644 (file)
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -122,6 +122,7 @@ typedef struct GlobalProperty {
 /*** Board API.  This should go away once we have a machine config file.  ***/
 
 DeviceState *qdev_create(BusState *bus, const char *name);
+DeviceState *qdev_try_create(BusState *bus, const char *name);
 int qdev_device_help(QemuOpts *opts);
 DeviceState *qdev_device_add(QemuOpts *opts);
 int qdev_init(DeviceState *dev) QEMU_WARN_UNUSED_RESULT;