| 1 | /* |
| 2 | * QEMU USB device emulation stubs |
| 3 | * |
| 4 | * Copyright (C) 2021 Philippe Mathieu-Daudé |
| 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 "qapi/error.h" |
| 12 | #include "qapi/qapi-commands-machine.h" |
| 13 | #include "system/system.h" |
| 14 | #include "monitor/monitor.h" |
| 15 | #include "hw/usb/usb.h" |
| 16 | |
| 17 | USBDevice *usbdevice_create(const char *driver) |
| 18 | { |
| 19 | error_report("Support for USB devices not built-in"); |
| 20 | |
| 21 | return NULL; |
| 22 | } |
| 23 | |
| 24 | HumanReadableText *qmp_x_query_usb(Error **errp) |
| 25 | { |
| 26 | error_setg(errp, "Support for USB devices not built-in"); |
| 27 | return NULL; |
| 28 | } |