Skip to content
  • Apollon Oikonomopoulos's avatar
    kvm: use a dedicated QMP socket for kvmd · 425ebca4
    Apollon Oikonomopoulos authored
    
    
    The KVM daemon keeps a persistent connection to the instances' QMP
    sockets, listening for asynchronous events. As each monitor socket
    (either human, or QMP) can handle only one client at a time, this has
    the side-effect that QMP cannot be used for regular instance operations.
    
    We fix this by adding a dedicated QMP socket for use by kvmd and
    changing kvmd to look only for sockets with the specific extension.
    
    Note that this change means that kvmd will not be able to monitor
    already running instances spawned by older versions of Ganeti.
    
    Signed-off-by: default avatarApollon Oikonomopoulos <apoikos@gmail.com>
    Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
    425ebca4