aboutsummaryrefslogtreecommitdiff
path: root/stubs/qdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/qdev.c')
-rw-r--r--stubs/qdev.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/stubs/qdev.c b/stubs/qdev.c
new file mode 100644
index 0000000..92e6143
--- /dev/null
+++ b/stubs/qdev.c
@@ -0,0 +1,23 @@
+/*
+ * QOM stubs
+ *
+ * Copyright (c) 2021 Red Hat, Inc.
+ *
+ * Author:
+ * Philippe Mathieu-Daudé <philmd@redhat.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#include "qemu/osdep.h"
+#include "qapi/qapi-events-qdev.h"
+
+void qapi_event_send_device_deleted(bool has_device,
+ const char *device,
+ const char *path)
+{
+ /* Nothing to do. */
+}