hotplug.c (88e6599669a2f8c9ec5b8baa62178bc3dfc340ae) hotplug.c (18c86e2b9d85a89818f485c2cadafa6e3932e43a)
1/*
2 * Hotplug handler interface.
3 *
4 * Copyright (c) 2014 Red Hat Inc.
5 *
6 * Authors:
7 * Igor Mammedov <imammedo@redhat.com>,
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 */
1/*
2 * Hotplug handler interface.
3 *
4 * Copyright (c) 2014 Red Hat Inc.
5 *
6 * Authors:
7 * Igor Mammedov <imammedo@redhat.com>,
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 */
12#include "qemu/osdep.h"
12#include "hw/hotplug.h"
13#include "qemu/module.h"
14
15void hotplug_handler_plug(HotplugHandler *plug_handler,
16 DeviceState *plugged_dev,
17 Error **errp)
18{
19 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler);

--- 40 unchanged lines hidden ---
13#include "hw/hotplug.h"
14#include "qemu/module.h"
15
16void hotplug_handler_plug(HotplugHandler *plug_handler,
17 DeviceState *plugged_dev,
18 Error **errp)
19{
20 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler);

--- 40 unchanged lines hidden ---