summaryrefslogtreecommitdiffstats
path: root/hw/core/hotplug-stubs.c
blob: 7aadaa29bd579764c6bf5437471cd8638decb8f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Hotplug handler stubs
 *
 * Copyright (c) Red Hat
 *
 * Authors:
 *  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 "hw/qdev-core.h"

HotplugHandler *qdev_get_hotplug_handler(DeviceState *dev)
{
    return NULL;
}

void hotplug_handler_pre_plug(HotplugHandler *plug_handler,
                              DeviceState *plugged_dev,
                              Error **errp)
{
    g_assert_not_reached();
}

void hotplug_handler_plug(HotplugHandler *plug_handler,
                          DeviceState *plugged_dev,
                          Error **errp)
{
    g_assert_not_reached();
}