« Previous | Next » 

Revision e3e66f02


Added by Michael Hanselmann almost 16 years ago

Remove utils.CheckDaemonAlive and use “xm info” instead

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences