xref: /openbmc/qemu/stubs/qdev.c (revision 77ae2302)
1 /*
2  * QOM stubs
3  *
4  * Copyright (c) 2021 Red Hat, Inc.
5  *
6  * Author:
7  *   Philippe Mathieu-Daudé <philmd@redhat.com>
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  *
11  * This work is licensed under the terms of the GNU GPL, version 2 or later.
12  * See the COPYING file in the top-level directory.
13  */
14 
15 #include "qemu/osdep.h"
16 #include "qapi/qapi-events-qdev.h"
17 
18 void qapi_event_send_device_deleted(bool has_device,
19                                     const char *device,
20                                     const char *path)
21 {
22     /* Nothing to do. */
23 }
24 
25 void qapi_event_send_device_unplug_guest_error(bool has_device,
26                                                const char *device,
27                                                const char *path)
28 {
29     /* Nothing to do. */
30 }
31