Commit Graph

149 Commits

Author SHA1 Message Date
Lon Hohberger
2635e075b9 Pass source VM UUID (if known) to backend
Some backends (not yet implemented) which talk to management
layers will have mappings for what VMs can control what other
VMs.  So, the source VM UUID of the original request needs to
be sent along with the target VM UUID to the management layer
for arbitration.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:52:55 -05:00
Lon Hohberger
c8f8fc2900 Mirror libvirt-qpid's settings in libvirt-qpid plugin
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:38:00 -05:00
Lon Hohberger
225726159a libvirt-qpid: clean up global variable
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:04:46 -05:00
Carlos Maiolino
ed96ccbb06 Enable a configurable host/port on libvirt-qpid plugin
Signed-off-by: Carlos Eduardo Maiolino <cmaiolino@redhat.com>
2010-01-13 12:13:54 -05:00
Lon Hohberger
393b9665b3 Minor config utility cleanups
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 11:38:04 -05:00
Lon Hohberger
053ed9167d Man page cleanups
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 11:37:48 -05:00
Lon Hohberger
186ce4f23c Remove unnecessary name_mode from multicast plugin
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 11:01:15 -05:00
Lon Hohberger
d282b0691a Add prototypes and clean up build warnings
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 10:53:55 -05:00
Lon Hohberger
ae8bdd8461 Use seqno in serial requests
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 10:13:14 -05:00
Lon Hohberger
add64089d7 Minor debugging message cleanup
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 10:04:31 -05:00
Lon Hohberger
05fea81b67 Fix build error due to improper value
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 09:59:06 -05:00
Lon Hohberger
726e40673e Static map support and permissions reporting
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 09:26:32 -05:00
Lon Hohberger
ac1b594c75 Sync up on SERIAL_MAGIC while waiting for a response
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 08:37:41 -05:00
Lon Hohberger
f5eb9a939f Don't build serial vmchannel module by default
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 02:24:19 -05:00
Lon Hohberger
a106dd5d88 Update TODO
- initial serial plugin is working

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 02:21:20 -05:00
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
4ae121d860 Fix fence_virt.conf man page name
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 18:44:28 -05:00
Lon Hohberger
6656a78aeb Add Fedora init script
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 18:17:27 -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
1a1c02b11d Fix up help text for clients
* Output defaults from includes rather than static text
* Add simple wrapping functions for help text

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 17:18:41 -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
cb92591c38 add missing module_path to fence_virtd.conf.5
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 08:35:29 -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
21627e26aa Note that serial support is experimental
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-11 10:22:48 -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
c7209147c2 Split fence_virt vs. fence_xvm args
Fence_virt -h and fence_xvm -h now produce
meaningful output

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-09 14:20:59 -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
42af98aa99 Fix multiple query code
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-08 18:17:03 -05:00
Lon Hohberger
2643994886 Better config query & multiple value/tag support
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-08 16:40:31 -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
a93e9220f2 Add missing man pages
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-06 17:01:46 -05:00
Lon Hohberger
2913b3d30c More minor config cleanups 2010-01-06 14:44:19 -05:00
Lon Hohberger
d8f28a786f Allow setting config values to NULL to clear them 2010-01-06 14:39:16 -05:00
Lon Hohberger
d8b740dbf2 Clean up example config file 2010-01-06 14:38:49 -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
Dan Kenigsberg
0ddf6b7fa6 add empty line between names
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-17 10:51: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
root
498ef770fe Update TODO
Signed-off-by: root <lon@users.sourceforge.net>
2009-12-07 12:54:30 -05:00
Lon Hohberger
a9e60912ed Work around broken nspr headers
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-04 15:42:15 -05:00
Lon Hohberger
3094c522f4 Fix installation target for man pages
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-04 15:23:35 -05:00
Lon Hohberger
57d2bcfda9 Fix default build script
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-04 15:00:57 -05:00