aboutsummaryrefslogtreecommitdiff
path: root/softmmu
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-03-10 18:33:22 +0100
committerGerd Hoffmann <kraxel@redhat.com>2021-03-15 17:00:58 +0100
commit6db34277e3b3071707a3a20afb82176e4f229b8f (patch)
treee810a637791924fb9c2c62becc78463f26d32b96 /softmmu
parent6523c96c9ce0d4d8c34d447fbdf489ca0affb515 (diff)
downloadqemu-6db34277e3b3071707a3a20afb82176e4f229b8f.zip
qemu-6db34277e3b3071707a3a20afb82176e4f229b8f.tar.gz
qemu-6db34277e3b3071707a3a20afb82176e4f229b8f.tar.bz2
usb: Un-deprecate -usbdevice (except for -usbdevice audio which gets removed)
When trying to remove the -usbdevice option, there were complaints that "-usbdevice braille" is still a very useful shortcut for some people. Thus we never remove this option. Since it's not such a big burden to keep it around, and it's also convenient in the sense that you don't have to worry to enable a host controller explicitly with this option, we should remove it from he deprecation list again. However, there is one exception: "-usbdevice audio" should go away, since audio devices without "audiodev=..." parameter are also on the deprecation list and you cannot use "-usbdevice audio" with "audiodev". Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210310173323.1422754-4-thuth@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r--softmmu/vl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index b7673b9..a750dae 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -3180,8 +3180,6 @@ void qemu_init(int argc, char **argv, char **envp)
qemu_opts_parse_noisily(olist, "usb=on", false);
break;
case QEMU_OPTION_usbdevice:
- error_report("'-usbdevice' is deprecated, please use "
- "'-device usb-...' instead");
olist = qemu_find_opts("machine");
qemu_opts_parse_noisily(olist, "usb=on", false);
add_device_config(DEV_USB, optarg);