Commit Graph

18 Commits

Author SHA256 Message Date
a21b94b81e - update buffer handling in hv_fcopy_daemon
- remove unnecessary header files and netlink related code
- Avoid reading past allocated blocks from KVP file
- fix snprintf warning in kvp_daemon
- properly handle long paths
- kvp: configurable external scripts path
- vss: Thaw the filesystem and continue if freeze call has timed out
- vss: Skip freezing filesystems backed by loop

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=123
2018-01-08 11:42:39 +00:00
475f72a18a - Check VSS daemon is listening before a hot backup (bnc#1029693)
- fix a compile warning in snprintf
- kvp: ensure kvp device fd is closed on exec
- lsvmbus: add pci pass-through UUID

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=121
2017-06-28 12:15:23 +00:00
634730c9d6 - add Conflicts with kernel < 4.2 (fate#320485)
- vss: fix the write()'s argument: error -> vss_msg
- remove repeated HV_FCOPY string
- report ENOSPC errors in hv_fcopy_daemon
- fcopy: full handshake support
- vss: full handshake support
- vss: use misc char device to communicate with kernel
- kvp: use misc char device to communicate with kernel

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=118
2016-05-04 14:07:47 +00:00
03d780a6e4 - remove unused bytes_written from kvp_update_file()
- address compiler warnings for hv_kvp_daemon.c
- kvp_daemon: make IPv6-only-injection work
- address compiler warnings for hv_fcopy_daemon.c
- do not add redundant '/' in hv_start_fcopy()

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=113
2015-04-30 11:35:03 +00:00
d64924508d - Check return value of setsockopt call
- Improve error logging in VSS daemon.
- Check return value of poll call
- Properly pack the data for file copy functionality
- make struct hv_do_fcopy match Hyper-V host messages

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=107
2015-01-12 09:44:54 +00:00
0828342e93 - Start hv_kvp_daemon after network-online.target (bnc#910353)
- ignore ENOBUFS and ENOMEM in the KVP daemon
- vssdaemon: skip all filesystems mounted readonly (bnc#909864)
- vssdaemon: report freeze errors

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=104
2014-12-17 09:16:59 +00:00
6711c225d8 - introduce -n/--no-daemon option (fate#317317533)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=102
2014-11-25 17:47:19 +00:00
f4e9f3f425 - cache FQDN in kvp_daemon to avoid timeouts
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=67
2013-08-07 17:12:54 +00:00
18c1b296af - use full nlmsghdr in netlink_send
- correct payload size in netlink_send
- use single send+recv buffer
- log errors to syslog in kvp_set_ip_info
- check return value of system in hv_kvp_daemon
- in kvp_set_ip_info free mac_addr right after usage
- check return value of daemon to fix compiler warning.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=66
2013-08-07 13:55:15 +00:00
d22cc8ce10 - Fix send/recv buffer allocation (bnc#828714)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=64
2013-08-01 12:26:23 +00:00
09e12a20a4 - Double the size of kvp_send_buffer, for current struct hv_kvp_msg
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=63
2013-08-01 11:50:51 +00:00
d58ac4b8e0 - update hv_kvp_daemon (merge 0783d72fa from v3.9-rc1)
Fix how ifcfg-* file is created

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=59
2013-07-15 14:17:26 +00:00
1051dacf7e - update hv_kvp_daemon (changes up to 3.11-rc1):
Improve error logging in KVP daemon.
  Fix file descriptor leaks
  Check retrun value of strchr call
  Check return value of poll call
  Check return value of setsockopt call
  daemon should check type of received Netlink msg
  daemon setsockopt should use options macros
  daemon should subscribe only to CN_KVP_IDX group

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=58
2013-07-15 14:11:35 +00:00
727d8197fc - Fix a bug in IPV6 subnet enumeration (bnc#828714)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=57
2013-07-15 10:04:35 +00:00
04cc92c36e - update hv_kvp_daemon
Use CLOEXEC when opening kvp_pool files
  Fix permissions of created directory and files
  Fix /var subdirectory (move state files from /var/opt to /var/lib)
  Fix string types

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=53
2013-03-22 15:49:02 +00:00
e9f40f192e merge all changes into hv_kvp_daemon.c
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=38
2012-11-12 16:16:00 +00:00
8709575eff - bump to version 4
- update kv_kvp_daemon to 3.7-rc1 state [fate#31441]
  support KVP IP Injection, helper scripts go to /usr/lib/hyper-v/bin:
  hv_get_dhcp_info, hv_get_dns_info, hv_set_ifconfig
- remove usage of absolute paths in runlevel script

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=31
2012-10-04 13:33:40 +00:00
54af41b96e - update hv_kvp_daemon to 3.4-rc1 state
use a copy linux/hyperv.h to compile the daemon

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=19
2012-03-26 17:08:24 +00:00