[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: Use usb_bus_find(-1) instead of usb_enable
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] usb: Use usb_bus_find(-1) instead of usb_enabled() in usb_device_add/usb_device_del |
Date: |
Tue, 16 Jun 2015 15:31:45 +0200 |
On Do, 2015-06-04 at 15:55 +0800, Lin Ma wrote:
> Without usb=on machine option, usb_device_add/usb_device_del don't work,
> Even if there are virtual usb controllers presented.
If you use -device to add your usb host controllers, you should likewise
use -device (or device_add monitor cmd) to add your usb devices.
-usbdevice is legacy syntax and only there for backward compatibility.
cheers,
Gerd