Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / hw / core / hotplug-stubs.c
blob7aadaa29bd579764c6bf5437471cd8638decb8f3
1 /*
2 * Hotplug handler stubs
4 * Copyright (c) Red Hat
6 * Authors:
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.
14 #include "qemu/osdep.h"
15 #include "hw/qdev-core.h"
17 HotplugHandler *qdev_get_hotplug_handler(DeviceState *dev)
19 return NULL;
22 void hotplug_handler_pre_plug(HotplugHandler *plug_handler,
23 DeviceState *plugged_dev,
24 Error **errp)
26 g_assert_not_reached();
29 void hotplug_handler_plug(HotplugHandler *plug_handler,
30 DeviceState *plugged_dev,
31 Error **errp)
33 g_assert_not_reached();