mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hmp: Remove "info pcmcia"
This command lists PCMCIA sockets and cards. Only a few ARM boards have sockets (akita, borzoi, connex, mainstone, spitz, terrier, tosa, verdex, z2), the only card is the DSCM-1xxxx Hitachi Microdrive (qdev "microdrive"), and it is only inserted during machine init, if ever. So this command doesn't really tell anybody anything new so far. Moreover, pcmcia_socket_unregister() has a use-after-free bug, flagged by Coverity. Has never been used, because there has never been code to eject a PCMCIA card. Not worth fixing & converting to QMP. Remove it. Signed-off-by: Markus Armbruster <armbru@redhat.com> Acked-by: Luiz Capitulino <lcapitulino@redhat.com> Acked-by: Andreas Färber <afaerber@suse.de> Message-id: 1411144812-22958-1-git-send-email-armbru@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
1430500bb8
commit
7797a73947
6 changed files with 0 additions and 82 deletions
|
@ -8,14 +8,8 @@
|
|||
typedef struct PCMCIASocket {
|
||||
qemu_irq irq;
|
||||
bool attached;
|
||||
const char *slot_string;
|
||||
const char *card_string;
|
||||
} PCMCIASocket;
|
||||
|
||||
void pcmcia_socket_register(PCMCIASocket *socket);
|
||||
void pcmcia_socket_unregister(PCMCIASocket *socket);
|
||||
void pcmcia_info(Monitor *mon, const QDict *qdict);
|
||||
|
||||
#define TYPE_PCMCIA_CARD "pcmcia-card"
|
||||
#define PCMCIA_CARD(obj) \
|
||||
OBJECT_CHECK(PCMCIACardState, (obj), TYPE_PCMCIA_CARD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue