qapi: Fix code generated for optional conditional struct member
[qemu/armbru.git] / stubs / qdev.c
blob6869f6f90a299d6260a288ea3361c3a59d219162
1 /*
2 * QOM stubs
4 * Copyright (c) 2021 Red Hat, Inc.
6 * Author:
7 * Philippe Mathieu-Daudé <philmd@redhat.com>
9 * SPDX-License-Identifier: GPL-2.0-or-later
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.
15 #include "qemu/osdep.h"
16 #include "qapi/qapi-events-qdev.h"
18 void qapi_event_send_device_deleted(const char *device,
19 const char *path)
21 /* Nothing to do. */
24 void qapi_event_send_device_unplug_guest_error(const char *device,
25 const char *path)
27 /* Nothing to do. */