QMP/qmp-shell: Introduce HMP mode
commit11217a757e7dda66fd2e78b10ea0cd8d6b290e42
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 28 Oct 2010 15:28:37 +0000 (28 13:28 -0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 17 Nov 2010 11:52:24 +0000 (17 09:52 -0200)
treefc4c7da05120ed42baf97ead8c72e7f120fcb0c6
parent0268d97c51207f35a5a01239ad92ef2c35dcd5ba
QMP/qmp-shell: Introduce HMP mode

In which qmp-shell will exclusively use the HMP passthrough feature,
this is useful for testing.

Example:

    # ./qmp-shell -H qmp-sock
    Welcome to the HMP shell!
    Connected to QEMU 0.13.50

    (QEMU) info network
    VLAN 0 devices:
      user.0: net=10.0.2.0, restricted=n
        e1000.0: model=e1000,macaddr=52:54:00:12:34:56
        Devices not on any VLAN:
    (QEMU)

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
QMP/qmp-shell