Merge remote-tracking branch 'remotes/vivier/tags/trivial-branch-for-6.2-pull-request...
[qemu.git] / stubs / usb-dev-stub.c
1 /*
2 * QEMU USB device emulation stubs
3 *
4 * Copyright (C) 2021 Philippe Mathieu-Daudé <f4bug@amsat.org>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #include "qemu/osdep.h"
10 #include "qemu/error-report.h"
11 #include "sysemu/sysemu.h"
12 #include "monitor/monitor.h"
13 #include "hw/usb.h"
14
15 USBDevice *usbdevice_create(const char *driver)
16 {
17 error_report("Support for USB devices not built-in");
18
19 return NULL;
20 }
21
22 void hmp_info_usb(Monitor *mon, const QDict *qdict)
23 {
24 monitor_printf(mon, "Support for USB devices not built-in\n");
25 }