]> git.proxmox.com Git - mirror_qemu.git/commit
hmp: Remove "info pcmcia"
authorMarkus Armbruster <armbru@redhat.com>
Fri, 24 Oct 2014 11:19:11 +0000 (12:19 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Oct 2014 11:19:11 +0000 (12:19 +0100)
commit7797a73947d5c0e63dd5552b348cf66c384b4555
tree9e48798870378c8af03dfe2138682055768726a2
parent1430500bb8ba0bf15bad235439d62276c1b6b22f
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>
hmp-commands.hx
hw/ide/microdrive.c
hw/pcmcia/pxa2xx.c
include/hw/pcmcia.h
monitor.c
vl.c