f665796f26
- Add cmdline processing for channel_ip - Allow 'port' to be used in fence_virt mode - Allow configuration of vmchannel mode for fence_virtd serial plugin - Remove serial port default from fence_virt. It must now be specified or else VM Channel mode is used. Note that to use VM Channel mode, you need: qemu 0.12.1 or later libvirt 0.7.3 or later - Update man pages Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
26 lines
778 B
C
26 lines
778 B
C
#ifndef _VIRT_SERIAL_H_
|
|
#define _VIRT_SERIAL_H
|
|
|
|
#include <sys/select.h>
|
|
|
|
/* virt-sockets.c */
|
|
int domain_sock_setup(const char *domain, const char *socket_path);
|
|
int domain_sock_close(const char *domain);
|
|
int domain_sock_fdset(fd_set *set, int *max);
|
|
|
|
/* Find the domain name associated with a FD */
|
|
int domain_sock_name(int fd, char *outbuf, size_t buflen);
|
|
int domain_sock_cleanup(void);
|
|
|
|
/* static_map.c - permissions map functions */
|
|
void static_map_cleanup(void *info);
|
|
int static_map_check(void *info, const char *value1, const char *value2);
|
|
int static_map_init(config_object_t *config, void **perm_info);
|
|
|
|
/* virt-serial.c - event thread control functions */
|
|
int start_event_listener(const char *uri, const char *path, int mode);
|
|
int stop_event_listener(void);
|
|
|
|
|
|
#endif
|