cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

usb-dev-stub.c (542B)


      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
     15USBDevice *usbdevice_create(const char *driver)
     16{
     17    error_report("Support for USB devices not built-in");
     18
     19    return NULL;
     20}
     21
     22void hmp_info_usb(Monitor *mon, const QDict *qdict)
     23{
     24    monitor_printf(mon, "Support for USB devices not built-in\n");
     25}