]> git.proxmox.com Git - mirror_qemu.git/commitdiff
usb: Remove "-usbdevice ccid"
authorThomas Huth <thuth@redhat.com>
Thu, 11 Mar 2021 09:28:29 +0000 (10:28 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Mar 2021 05:37:03 +0000 (06:37 +0100)
"-usbdevice ccid" was not documented and -usbdevice itself was marked
as deprecated before QEMU v6.0. And searching for "-usbdevice ccid"
in the internet does not show any useful results, so likely nobody
was using the ccid device via the -usbdevice option. Remove it now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210311092829.1479051-1-thuth@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
docs/system/removed-features.rst
hw/usb/dev-smartcard-reader.c
qemu-options.hx

index f28387f183cc274e13d3210e863e637766857cc1..29e90601a51a97a9034ac1d5a0bac2faad4d9f86 100644 (file)
@@ -120,6 +120,12 @@ Drives with interface types other than ``if=none`` are for onboard
 devices.  Drives the board doesn't pick up can no longer be used with
 -device.  Use ``if=none`` instead.
 
+``-usbdevice ccid`` (removed in 6.0)
+'''''''''''''''''''''''''''''''''''''
+
+This option was undocumented and not used in the field.
+Use `-device usb-ccid`` instead.
+
 
 QEMU Machine Protocol (QMP) commands
 ------------------------------------
index 80109fa55168599b25976806dfd99c1030f1877f..bc3d94092a230df64232ca1192392428bb91ebc0 100644 (file)
@@ -1492,7 +1492,6 @@ static void ccid_register_types(void)
     type_register_static(&ccid_bus_info);
     type_register_static(&ccid_card_type_info);
     type_register_static(&ccid_info);
-    usb_legacy_register(TYPE_USB_CCID_DEV, "ccid", NULL);
 }
 
 type_init(ccid_register_types)
index d60a03d3a9733abc85089112e44667685c1e17f1..fd21002bd61d5fe96ef8ce582d8482f3125f6cc5 100644 (file)
@@ -1743,9 +1743,6 @@ SRST
         corresponding ``braille`` chardev automatically beside the
         ``usb-braille`` USB device).
 
-    ``ccid``
-        Smartcard reader device
-
     ``keyboard``
         Standard USB keyboard. Will override the PS/2 keyboard (if present).