aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-03-11 10:28:29 +0100
committerGerd Hoffmann <kraxel@redhat.com>2021-03-26 06:37:03 +0100
commitd2aea775d4ab1a3d8fb92587881dc6fa55819f62 (patch)
tree2cd638f72271015550cc1eb8f2614932e0d1d705
parent9e2e9fe3df9f539f8b6941ceb96d25355fdae47e (diff)
downloadqemu-d2aea775d4ab1a3d8fb92587881dc6fa55819f62.zip
qemu-d2aea775d4ab1a3d8fb92587881dc6fa55819f62.tar.gz
qemu-d2aea775d4ab1a3d8fb92587881dc6fa55819f62.tar.bz2
usb: Remove "-usbdevice ccid"
"-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>
-rw-r--r--docs/system/removed-features.rst6
-rw-r--r--hw/usb/dev-smartcard-reader.c1
-rw-r--r--qemu-options.hx3
3 files changed, 6 insertions, 4 deletions
diff --git a/docs/system/removed-features.rst b/docs/system/removed-features.rst
index f28387f..29e9060 100644
--- a/docs/system/removed-features.rst
+++ b/docs/system/removed-features.rst
@@ -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
------------------------------------
diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c
index 80109fa..bc3d940 100644
--- a/hw/usb/dev-smartcard-reader.c
+++ b/hw/usb/dev-smartcard-reader.c
@@ -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)
diff --git a/qemu-options.hx b/qemu-options.hx
index d60a03d..fd21002 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -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).