« Previous | Next » 

Revision e3e66f02

IDe3e66f020bcd7f182a42fe5961a9e3e258ad8f21
Parent f860ff4e
Child ab6cc81c

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences