Do a 'ping' test when opening connection to verify XenD really is there & alive

This commit is contained in:
Daniel P. Berrange
2006-06-12 22:21:04 +00:00
parent e5bb0cb052
commit 1213bedf6d
2 changed files with 19 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
Mon Jun 12 17:22:24 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
* src/xend_internal.c: Call 'xenDomainGetVersion' when trying
to open a connection, as a sort of "ping" test to verify the
Xen daemon connection - fail the open method, if the "ping" is
not successful.
Mon Jun 05 22:31:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
* src/test.c, src/test.h: New 'mock' hypervisor driver providing