Commit Graph

57 Commits

Author SHA256 Message Date
b7b7236990 - Avoid reading past allocated blocks from KVP file (bnc#1087658)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=126
2018-04-03 07:39:40 +00:00
58d6b3ad5e Replace cat/head with tee
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=124
2018-01-08 11:46:21 +00:00
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
578837b91c Update udev rule to refer to device nodes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=119
2016-05-04 14:19:24 +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
042757a475 fix lsvmbus install
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=116
2015-09-18 13:37:47 +00:00
7dc98bc754 - add a python script lsvmbus to list VMBus devices (fate#315887)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=115
2015-09-18 10:12:47 +00:00
a4562a9fe2 - Add runlevel script for fcopy daemon in SLE11 (bnc#926534)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=110
2015-04-16 15:24:21 +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
7b2647052e Also Require network-online.target because its not available by its own.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=105
2014-12-17 09:43:44 +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
8d7473e78f Accepting request 260496 from home:Ledest:misc
fix bashisms in pre/post scripts

OBS-URL: https://build.opensuse.org/request/show/260496
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=100
2014-11-11 11:07:45 +00:00
a50ee553aa - Start hyper-v helpers manually with helper script in inst-sys
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=93
2014-05-21 10:06:32 +00:00
20a13b1bdf - Package /usr/lib/udev to fix build error
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=89
2014-03-12 13:37:54 +00:00
041fbde687 - Update hv_fcopy_daemon, kernel name changed to /dev/vmbus/hv_fcopy
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=87
2014-02-12 09:33:38 +00:00
94c31de49b provide private uuid_le type to fix sles11 build
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=84
2014-01-23 16:45:34 +00:00
13b3a21a90 hv_fcopy_daemon needs uuid.h, work around sles11 failure
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=83
2014-01-23 16:37:21 +00:00
2273a54793 - Start daemons on demand via udev rules because the guest services
are optional.
- If systemd is used daemons live in libdir, they are not usercallable apps

- Add hv_fcopy_daemon for post 13.1 releases (fate#315887)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=82
2014-01-23 16:05:49 +00:00
c462528d4c - Use native systemd services for post 13.1 releases
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=80
2013-12-18 14:50:03 +00:00
b861e778d1 Use helper_dir macro
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=79
2013-12-17 22:37:20 +00:00
568809738a Another attempt without %3A
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=76
2013-09-07 13:36:50 +00:00
3289a4f6c9 missing wildcard at beginning
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=75
2013-09-05 06:25:20 +00:00
02372910e4 Another attempt, simple %3A
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=74
2013-09-04 21:10:51 +00:00
9a06cc59d2 try %3A as suggested by ma
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=73
2013-09-04 17:12:23 +00:00
357a89a6b3 - Update Supplements: modalias(dmi*), fewer * may work better
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=72
2013-09-04 15:34:24 +00:00
8eff0a9f9e - Update hv_vss_daemon (bnc#811033)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=56
2013-03-26 17:06:22 +00:00
906e78cd04 - add hv_vss_daemon (fate#314921)
helper to support host initiated backup

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=55
2013-03-22 16:24:55 +00:00
d6d5232591 - build hv_kvp_daemon with -D_GNU_SOURCE to get O_CLOEXEC
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=54
2013-03-22 15:58:18 +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
dad8c5cef7 drop also obsolete hyper-v.dummy_ko.c after kmp removal
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=43
2012-11-14 13:53:26 +00:00
003cb503c1 remove obsolete files from obsolete KMP code
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=40
2012-11-12 18:13:21 +00:00
f8271141f7 - remove code to build kmp, it was not enabled because the
drivers are now in kernel since a long time.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=39
2012-11-12 16:20: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
2c3d70cfcb - Netlink source address validation allows DoS
bugfix for recvfrom check from bnc#761200

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=37
2012-11-08 13:34:35 +00:00
4410720fee - update hv_kvp_daemon
Return the full kernel version
  Don't return loopback addresses

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=32
2012-10-13 09:41:06 +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
16565f7b13 - remove restart_on_update in postun section
the daemon can not be restarted at this point, and the new daemon
  may not be 100 percent compatible with the currently running
  kernel

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=28
2012-09-04 12:57:10 +00:00
9d893219e1 - do not package modprobe.conf rule in main package
prevents loading of ata_piix which is required for cdrom access

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=26
2012-05-21 14:12:35 +00:00
169a723b60 - check origin of netlink messages, use recvfrom() [bnc#761200]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=25
2012-05-16 18:45:41 +00:00
e7ee948602 - update insserv part, see comments in OBS submit request #112701
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=23
2012-05-02 10:13:59 +00:00
427b362d31 update License string, remove AutoReqProv
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=21
2012-03-27 06:53:43 +00:00
ca8e1383b7 - add kvptest.ps1.txt to docs, a PowerShell script to verify KVP
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=20
2012-03-27 06:51:38 +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
501dbf0e78 OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=18 2011-11-19 14:02:35 +00:00
1b30c4aa16 - add Supplements to install package if dmi matches [bnc#731198]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=17
2011-11-18 20:50:58 +00:00
86b92da971 - disable hyper-v-kmp
hv_storvsc handles now IDE and SCSI disks and ata_piix is
  compiled into the kernel in SLE12, so the modprobe.conf rules
  have no meaning anymore

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=16
2011-09-01 16:53:34 +00:00
2fc6efd214 - update preun, stop_on_removal requires an argument
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=13
2011-06-17 13:42:13 +00:00
8793d846a2 OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=12 2011-06-17 09:12:20 +00:00
8d299a11ba - remove get_release_number.sh, which was added by accident
- bump version number to 2

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=11
2011-06-17 09:10:44 +00:00