diff options
Diffstat (limited to 'stubs')
-rw-r--r-- | stubs/meson.build | 1 | ||||
-rw-r--r-- | stubs/usb-dev-stub.c | 28 |
2 files changed, 0 insertions, 29 deletions
diff --git a/stubs/meson.build b/stubs/meson.build index aa7120f..45616af 100644 --- a/stubs/meson.build +++ b/stubs/meson.build @@ -56,7 +56,6 @@ endif if have_system stub_ss.add(files('fw_cfg.c')) stub_ss.add(files('semihost.c')) - stub_ss.add(files('usb-dev-stub.c')) stub_ss.add(files('xen-hw-stub.c')) stub_ss.add(files('virtio-md-pci.c')) else diff --git a/stubs/usb-dev-stub.c b/stubs/usb-dev-stub.c deleted file mode 100644 index fcabe84..0000000 --- a/stubs/usb-dev-stub.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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; -} |