blueswir1 | 6806364 | 2008-11-22 21:03:55 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Stub host USB redirector |
| 3 | * |
| 4 | * Copyright (c) 2005 Fabrice Bellard |
| 5 | * |
| 6 | * Copyright (c) 2008 Max Krasnyansky |
| 7 | * Support for host device auto connect & disconnect |
| 8 | * Major rewrite to support fully async operation |
| 9 | * |
| 10 | * Copyright 2008 TJ <linux@tjworld.net> |
| 11 | * Added flexible support for /dev/bus/usb /sys/bus/usb/devices in addition |
| 12 | * to the legacy /proc/bus/usb USB device discovery and handling |
| 13 | * |
| 14 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 15 | * of this software and associated documentation files (the "Software"), to deal |
| 16 | * in the Software without restriction, including without limitation the rights |
| 17 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 18 | * copies of the Software, and to permit persons to whom the Software is |
| 19 | * furnished to do so, subject to the following conditions: |
| 20 | * |
| 21 | * The above copyright notice and this permission notice shall be included in |
| 22 | * all copies or substantial portions of the Software. |
| 23 | * |
| 24 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 25 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 26 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 27 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 28 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 29 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 30 | * THE SOFTWARE. |
| 31 | */ |
| 32 | |
Peter Maydell | e532b2e | 2016-01-26 18:17:12 +0000 | [diff] [blame] | 33 | #include "qemu/osdep.h" |
blueswir1 | 89886f4 | 2008-11-25 16:49:33 +0000 | [diff] [blame] | 34 | #include "qemu-common.h" |
Paolo Bonzini | 28ecbae | 2012-11-28 12:06:30 +0100 | [diff] [blame] | 35 | #include "ui/console.h" |
blueswir1 | 6806364 | 2008-11-22 21:03:55 +0000 | [diff] [blame] | 36 | #include "hw/usb.h" |
Paolo Bonzini | 83c9089 | 2012-12-17 18:19:49 +0100 | [diff] [blame] | 37 | #include "monitor/monitor.h" |
blueswir1 | 6806364 | 2008-11-22 21:03:55 +0000 | [diff] [blame] | 38 | |
Markus Armbruster | 1ce6be2 | 2015-02-06 14:18:24 +0100 | [diff] [blame] | 39 | void hmp_info_usbhost(Monitor *mon, const QDict *qdict) |
blueswir1 | 6806364 | 2008-11-22 21:03:55 +0000 | [diff] [blame] | 40 | { |
aliguori | 376253e | 2009-03-05 23:01:23 +0000 | [diff] [blame] | 41 | monitor_printf(mon, "USB host devices not supported\n"); |
blueswir1 | 6806364 | 2008-11-22 21:03:55 +0000 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | /* XXX: modify configure to compile the right host driver */ |
Jan Kiszka | 41e37c3 | 2012-03-01 10:43:50 +0100 | [diff] [blame] | 45 | USBDevice *usb_host_device_open(USBBus *bus, const char *devname) |
blueswir1 | 6806364 | 2008-11-22 21:03:55 +0000 | [diff] [blame] | 46 | { |
| 47 | return NULL; |
| 48 | } |