aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stubs/Makefile.objs1
-rw-r--r--stubs/sysbus.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index ca2197e6fb..7672c69a29 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -7,4 +7,5 @@ stub-obj-y += get-fd.o
stub-obj-y += set-fd-handler.o
stub-obj-y += reset.o
stub-obj-y += vmstate.o
+stub-obj-y += sysbus.o
stub-obj-$(CONFIG_WIN32) += fd-register.o
diff --git a/stubs/sysbus.c b/stubs/sysbus.c
new file mode 100644
index 0000000000..e13496582b
--- /dev/null
+++ b/stubs/sysbus.c
@@ -0,0 +1,6 @@
+#include "hw/qdev-core.h"
+
+BusState *sysbus_get_default(void)
+{
+ return NULL;
+}