Skip to content
  • Michael Hanselmann's avatar
    Remove utils.CheckDaemonAlive and use “xm info” instead · e3e66f02
    Michael Hanselmann authored
    There are a couple of reasons for doing so:
    - /proc is not OS independent, it's only supported by Linux (there are
      emulations on other systems, but those might differ from the way
      Linux represents data).
    - Checking a daemon's state doesn't necessarily mean it's usable.
      Connecting to the socket using “xm info” is much safer.
    - Reduce code size.
    
    Reviewed-by: iustinp
    e3e66f02