Skip to content
  • Luiz Capitulino's avatar
    QMP: Revamp the Python class example · 1d00a07d
    Luiz Capitulino authored
    
    
    This commit simplifies and fixes a number of problems in the Python
    QEMUMonitorProtocol example class.
    
    It's almost a rewrite and it DOES BREAK the qmp-shell script (which
    is going to be fixed in the next commit).
    
    However, I'm not going to split this in different commits because it
    could get up to 10 commits, it's really not worth it for a simple
    demo class.
    
    Highlights:
    
     o TCP sockets support
     o QMP events support
     o Add documentation
     o Fix a number of unhandled errors
     o Simplify methods that send commands to the Monitor
    
    Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
    1d00a07d