acpi: add get_dev_aml_func() helper
[qemu.git] / stubs / usb-dev-stub.c
blobaa557692b718cb9d6c2c43301bcfaedea6220624
1 /*
2 * QEMU USB device emulation stubs
4 * Copyright (C) 2021 Philippe Mathieu-Daudé <f4bug@amsat.org>
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
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 "sysemu/sysemu.h"
14 #include "monitor/monitor.h"
15 #include "hw/usb.h"
17 USBDevice *usbdevice_create(const char *driver)
19 error_report("Support for USB devices not built-in");
21 return NULL;
24 HumanReadableText *qmp_x_query_usb(Error **errp)
26 error_setg(errp, "Support for USB devices not built-in");
27 return NULL;
30 void hmp_info_usb(Monitor *mon, const QDict *qdict)
32 monitor_printf(mon, "Support for USB devices not built-in\n");