[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v9 10/19] docs/system/devices/usb: Note the automatic hub change
- To: "berrange@xxxxxxxxxx" <berrange@xxxxxxxxxx>, "junjie.cao@xxxxxxxxx" <junjie.cao@xxxxxxxxx>, "kraxel@xxxxxxxxxx" <kraxel@xxxxxxxxxx>, "marcandre.lureau@xxxxxxxxxx" <marcandre.lureau@xxxxxxxxxx>, "clg@xxxxxxxx" <clg@xxxxxxxx>, "junjie.cao@xxxxxxxxx" <junjie.cao@xxxxxxxxx>, Pierrick Bouvier <pierrick.bouvier@xxxxxxxxxxxxxxxx>, Peter Maydell <peter.maydell@xxxxxxxxxx>, Kane Chen <kane_chen@xxxxxxxxxxxxxx>, Philippe Mathieu-Daudé <philmd@xxxxxxxxxxxxxxxx>, Tyrone Ting <kfting@xxxxxxxxxxx>, Hao Wu <wuhaotsh@xxxxxxxxxx>, Zhao Liu <zhao1.liu@xxxxxxxxx>, Richard Henderson <richard.henderson@xxxxxxxxxx>, Helge Deller <deller@xxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony@xxxxxxxxxxxxxx>, "Edgar E. Iglesias" <edgar.iglesias@xxxxxxxxx>, "open list:All patches CC here" <qemu-devel@xxxxxxxxxx>, "open list:ASPEED BMCs" <qemu-arm@xxxxxxxxxx>, "open list:X86 Xen CPUs" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jamin Lin <jamin_lin@xxxxxxxxxxxxxx>
- Date: Tue, 10 Nov 2026 07:28:33 +0000
- Accept-language: zh-TW, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=aspeedtech.com; dmarc=pass action=none header.from=aspeedtech.com; dkim=pass header.d=aspeedtech.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h0Wi8pcjCzVI/25GAwV4gAuJfwyQPtS6TbTYXqQJyxE=; b=TaPatWceQwkPMN4Trl7MOTVu1vQTqNxys6ci5sSa6g6/SgqGCv7ad6uQshWZep8lc5dN4SYQOKvEXOdDL8tITyNclkN6XlF8IRWTe+4W37pxxKnlzRsTH53sdNaBFLYDJoOLT6/BpvSfQqiqEzOfTw1LyAjDspHWb5KJPB1sBtoOBAheKxoqpYZa+vIDYauQ/teM1WfypDJ7Z+0hrRV+QIq5RQxochVTYV8hd2QU36xzOtKRHC20gYBgDbVMuRgv+x7c6zG7VWM7ziGWbkl6OX/WRC/sFsjABel1+ak7i5XoQlToSCf4ot2JAo1Eofg1W+GmxxSn2o92Z5E4Y1qVSw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B7Qz8X/PEoD86Jb9HZH4I8IQ8F6Nk8at/J0vo4xSHrkTTbReAUAVYPmx7HsmUCFQV1BRSjgCAqHW5rjEAGsm1tOT0jed9BrcRS8X/jfroBzqRiaqFiNeZb9kaAW2gKx7WsAIStKmm3rnjjDCUIDcFdp7iDFwXx56p/v4eRmwxDC5zzksySEfla1ng5b1mX9qFzeCWHKIu8BvoCPXXfXrToR3VPSCJ6Zxky4Vut6fOglVGstjDX3+RnYIBqPbueQ0vhMDcWBQ0rRPye2YoR8B0jMwlLlZDqIPc0o8+NCbXS+V5SH9IpwYKlPfXfF3uZISetxGCgTV2P6Ywx614J1aCg==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=aspeedtech.com header.i="@aspeedtech.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:x-ms-exchange-senderadcheck"
- Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=aspeedtech.com;
- Cc: Jamin Lin <jamin_lin@xxxxxxxxxxxxxx>, Troy Lee <troy_lee@xxxxxxxxxxxxxx>
- Delivery-date: Tue, 10 Nov 2026 07:28:47 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHdcOUXXeP+rsu8KE6Ii/LyMMZ2iw==
- Thread-topic: [PATCH v9 10/19] docs/system/devices/usb: Note the automatic hub change
The automatic hub is now off for a new machine type. Say how to get a
hub back: plug in a usb-hub, or turn auto-hub back on for the
controller.
TODO: The text says 12.0. That is right once the compat entries move
to hw_compat_11_2.
Suggested-by: Junjie Cao <junjie.cao@xxxxxxxxx>
Signed-off-by: Jamin Lin <jamin_lin@xxxxxxxxxxxxxx>
---
docs/system/devices/usb.rst | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index dc694d23c2..dc73c4048e 100644
--- a/docs/system/devices/usb.rst
+++ b/docs/system/devices/usb.rst
@@ -3,8 +3,21 @@ USB emulation
QEMU can emulate a PCI UHCI, OHCI, EHCI or XHCI USB controller. You can
plug virtual USB devices or real host USB devices (only works with
-certain host operating systems). QEMU will automatically create and
-connect virtual USB hubs as necessary to connect multiple USB devices.
+certain host operating systems).
+
+A machine type older than 12.0 plugs a virtual USB hub into the last
+free port, so that more devices fit. A newer one does not, and a
+device that finds no free port fails.
+
+There are two ways to get a hub back. One is to add a hub yourself.
+Put it on the command line before the other USB devices::
+
+ -device usb-hub
+
+The other is to turn the automatic hub back on. Use the name of your
+USB controller, for example::
+
+ -global piix3-usb-uhci.auto-hub=on
USB controllers
~~~~~~~~~~~~~~~
--
2.43.0
|