Commit Graph

84 Commits

Author SHA1 Message Date
Lon Hohberger
30e8654e77 Initial checkin of serial server-side support
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 02:20:38 -05:00
Lon Hohberger
274a828933 Compiler warning cleanups in virt-serial.c
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 17:36:03 -05:00
Lon Hohberger
e87de14344 Add wait-for-backend mode
* Makes initscript ordering unimportant

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 17:32:13 -05:00
Lon Hohberger
258ed1dc00 Minor XML cleanups, add missing free() call
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 08:35:47 -05:00
Lon Hohberger
5a21922728 Add capabilities to virt-serial
- detect existing (running) domains for registration of
  vmchannel (serial) sockets
- detect domains being stopped so we can unregister the
  socket(s) for that domain
- ran through Lindent for indentation consistency

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-11 13:26:43 -05:00
Lon Hohberger
7b3a080914 Add a serial.so build target
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-11 10:17:24 -05:00
Marek Grac
7446b36898 Add vmchannel serial event interface
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-11 10:16:57 -05:00
Lon Hohberger
eff8f93c54 Add static map functions.
NOTE: This will not have any effect until the vmchannel
bits are completed and integrated.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-09 11:51:25 -05:00
Lon Hohberger
8871a95386 Fix build warning due to missing #include
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-08 18:20:33 -05:00
Lon Hohberger
6502600674 Add simple configuration mode
This adds a simple configuration utility so that users
may easily configure fence_virtd.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-06 17:03:55 -05:00
Lon Hohberger
de92889d2a Sort plugins by type when printing them 2010-01-04 14:18:54 -05:00
Lon Hohberger
e0dd134a34 Revert "Sort plugins by type when printing them"
This reverts commit 2707d32a87.
2010-01-04 14:16:42 -05:00
Lon Hohberger
2707d32a87 Sort plugins by type when printing them
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-04 14:13:08 -05:00
Lon Hohberger
22a2dd65f3 Clean up some configuration plugin information
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-04 14:12:21 -05:00
Carlos Eduardo Maiolino
c405542d76 Make libvirt to automatically use uuid or names
Signed-off-by: Carlos Eduardo Maiolino <cmaiolino@redhat.com>
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-07 18:11:25 -05:00
Lon Hohberger
58aef2eb34 Improve error reporting
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-07 13:11:39 -05:00
root
d72839781f Fix build for hostlist functionality
Signed-off-by: root <lon@users.sourceforge.net>
2009-12-07 13:07:17 -05:00
root
4d7839abce Hostlist functionality for libvirt, libvirt-qpid
Signed-off-by: root <lon@users.sourceforge.net>
2009-12-07 12:55:48 -05:00
Lon Hohberger
a8202ef0c6 Fix libvirt / mcast support for name_mode
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-03 17:29:47 -05:00
Lon Hohberger
11c5fff0ad Fix dlsym mapping of C++ module
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-12 14:12:42 -05:00
Lon Hohberger
33c16854eb Make uuids work with libvirt-qpid
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-06 13:16:42 -05:00
Lon Hohberger
decab46dda Fix uninitialized variable causing false returns
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 14:07:33 -05:00
Lon Hohberger
8dffcbd726 Update monolithic build
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 14:01:35 -05:00
Lon Hohberger
515e95a11b Fix linking problem
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 13:23:00 -05:00
Lon Hohberger
e795db6313 Add 'help' to fence_virtd
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 13:07:06 -05:00
Lon Hohberger
6a4508e1da Fix libvirt-qpid build
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 13:02:12 -05:00
Lon Hohberger
4cd5a5ad13 Make 'reboot' work
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 12:59:41 -05:00
Lon Hohberger
0702f25435 Fix libvirt-qpid build
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 12:59:26 -05:00
Lon Hohberger
9d59ad84a5 Add libvirt-qpid build target
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 12:53:55 -05:00
Lon Hohberger
1b5e472d59 Initial checking of libvirt-qpid plugin
This is primarily build integration and is untested; please
do not use.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-10-20 16:16:44 -04:00
Lon Hohberger
f3e32a2297 Fix build on i686
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-23 13:40:02 -04:00
Lon Hohberger
4f870c4fd0 Make symlink/compatibilty mode disabled by default
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-23 12:04:32 -04:00
Lon Hohberger
8de25d4141 Use immediate resolution of symbols
This will prevent crashes mid-execution.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 15:29:14 -04:00
Lon Hohberger
9931f5f4e7 Fix package name and install locations
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 15:16:24 -04:00
Lon Hohberger
21dab5b24c Fix daemon return code
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 14:22:21 -04:00
Lon Hohberger
3cf5156968 Add missing header file
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 14:11:00 -04:00
Lon Hohberger
76331b0c3c Make cluster mode plugin work
* Need to fix cpg_get_ids() - it is segfaulting
* Need to reconcile "in-cluster" vs "fenced"
* Message routing works.  It doesn't matter which node
  gets the fence request - fence requests are handled
  after being distributed by cpg.
* This makes fence_virtd 99% behavior-like compared to
  fence_xvmd

Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-16 20:07:46 -04:00
Lon Hohberger
01a1b16d7e Add basic cpg stuff for later
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:40:41 -04:00
Lon Hohberger
9935a3077d Enable 'on' operation for libvirt backend
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:24:56 -04:00
Lon Hohberger
64d0f596f6 Clean up modular build
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:17:14 -04:00
Lon Hohberger
f796c64fc3 Minor build cleanups
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 13:27:03 -04:00
Lon Hohberger
4960380013 Yet more build fixes
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 12:18:49 -04:00
Lon Hohberger
1ddb9136d9 More build cleanups
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 12:08:10 -04:00
Lon Hohberger
e190d1e271 Build cleanups
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 11:38:11 -04:00
Lon Hohberger
906b0f62b9 Initial port to autoconf
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 11:25:02 -04:00
Lon Hohberger
2ecd68297f Add checkpoint.c stub functions
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:29:08 -04:00
Lon Hohberger
701a876e73 Add sequence numbers to requests for tracking
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:28:20 -04:00
Lon Hohberger
be9794a39d Call generic history functions
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-14 15:06:38 -04:00
Lon Hohberger
d505e229a7 Make history functions generic
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-14 15:05:16 -04:00
Lon Hohberger
da7d3f4c9d Make debugging work from modules again
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-03 17:45:38 -04:00