aboutsummaryrefslogtreecommitdiff
path: root/stubs/usb-dev-stub.c
blob: fcabe8429e685c75f14b398713d61a3cc9ad2005 (plain)
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
/*
 * QEMU USB device emulation stubs
 *
 * Copyright (C) 2021 Philippe Mathieu-Daudé <f4bug@amsat.org>
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "qapi/error.h"
#include "qapi/qapi-commands-machine.h"
#include "sysemu/sysemu.h"
#include "monitor/monitor.h"
#include "hw/usb.h"

USBDevice *usbdevice_create(const char *driver)
{
    error_report("Support for USB devices not built-in");

    return NULL;
}

HumanReadableText *qmp_x_query_usb(Error **errp)
{
    error_setg(errp, "Support for USB devices not built-in");
    return NULL;
}