Skip to content

Commit d2aea77

Browse files
huthkraxel
authored andcommitted
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>
1 parent 9e2e9fe commit d2aea77

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/system/removed-features.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ Drives with interface types other than ``if=none`` are for onboard
120120
devices. Drives the board doesn't pick up can no longer be used with
121121
-device. Use ``if=none`` instead.
122122

123+
``-usbdevice ccid`` (removed in 6.0)
124+
'''''''''''''''''''''''''''''''''''''
125+
126+
This option was undocumented and not used in the field.
127+
Use `-device usb-ccid`` instead.
128+
123129

124130
QEMU Machine Protocol (QMP) commands
125131
------------------------------------

hw/usb/dev-smartcard-reader.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,6 @@ static void ccid_register_types(void)
14921492
type_register_static(&ccid_bus_info);
14931493
type_register_static(&ccid_card_type_info);
14941494
type_register_static(&ccid_info);
1495-
usb_legacy_register(TYPE_USB_CCID_DEV, "ccid", NULL);
14961495
}
14971496

14981497
type_init(ccid_register_types)

qemu-options.hx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,9 +1743,6 @@ SRST
17431743
corresponding ``braille`` chardev automatically beside the
17441744
``usb-braille`` USB device).
17451745

1746-
``ccid``
1747-
Smartcard reader device
1748-
17491746
``keyboard``
17501747
Standard USB keyboard. Will override the PS/2 keyboard (if present).
17511748

0 commit comments

Comments
 (0)