summary refs log tree commit diff stats
path: root/hw/qdev-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/qdev-core.h')
-rw-r--r--hw/qdev-core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/qdev-core.h b/hw/qdev-core.h
index 731aadd677..d1b8e37d80 100644
--- a/hw/qdev-core.h
+++ b/hw/qdev-core.h
@@ -145,6 +145,8 @@ struct BusClass {
      */
     char *(*get_fw_dev_path)(DeviceState *dev);
     int (*reset)(BusState *bus);
+    /* maximum devices allowed on the bus, 0: no limit. */
+    int max_dev;
 };
 
 typedef struct BusChild {