Commit Graph

161 Commits

Author SHA256 Message Date
ea11bf351a - set BOOTPROTO=static if any IPADDR/IP6ADDR was passed to
hv_set_ifconfig and dhcp is disabled

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=61
2013-07-24 08:19:48 +00:00
Stephan Kulow
3d47681214 Accepting request 183123 from Virtualization
- update hv_kvp_daemon (merge 0783d72fa from v3.9-rc1)
  Fix how ifcfg-* file is created

- 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

- Fix a bug in IPV6 subnet enumeration (bnc#828714)

- Update hv_vss_daemon (bnc#811033)

- add hv_vss_daemon (fate#314921)
  helper to support host initiated backup

- build hv_kvp_daemon with -D_GNU_SOURCE to get O_CLOEXEC

- 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/request/show/183123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=10
2013-07-16 13:32:58 +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
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
Stephan Kulow
e4bcde0490 Accepting request 143411 from Virtualization
- update hv_set_ifconfig, use single index for static ipv4/ipv6 [bnc#790469]

- update hv_set_ifconfig further to work with our ifcfg [bnc#790469]

- update hv_get_dhcp_info to work with our ifcfg [bnc#790469]
- remove cat usage from hv_get_dns_info
- add quoting to hv_set_ifconfig to make it more robust

- remove code to build kmp, it was not enabled because the
  drivers are now in kernel since a long time. [bnc#676890]

- Netlink source address validation allows DoS [bnc#791605, CVE-2012-5532]
  bugfix for recvfrom check from bnc#761200

- check origin of netlink messages, use recvfrom() [bnc#761200, CVE-2012-2669]

OBS-URL: https://build.opensuse.org/request/show/143411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=8
2012-11-30 11:21:43 +00:00
7d052ac13f - Netlink source address validation allows DoS [bnc#791605, CVE-2012-5532]
- check origin of netlink messages, use recvfrom() [bnc#761200, CVE-2012-2669]

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=51
2012-11-28 13:15:52 +00:00
d674960706 - Netlink source address validation allows DoS [bnc#791605]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=50
2012-11-28 09:26:39 +00:00
8480d2a167 - update hv_set_ifconfig, use single index for static ipv4/ipv6 [bnc#790469]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=49
2012-11-27 10:20:18 +00:00
d9e9558049 remove -o hotplug from ifup/ifdown call [bnc#790469]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=48
2012-11-25 16:52:32 +00:00
699250925a update comment
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=47
2012-11-23 19:52:43 +00:00
df04378625 more updates
- update hv_set_ifconfig further to work with our ifcfg [bnc#790469]

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=46
2012-11-23 19:50:20 +00:00
aff955d3ed - update hv_set_ifconfig further to work with our ifcfg [bnc#790469]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=45
2012-11-23 15:01:29 +00:00
42570cdfd6 - update hv_get_dhcp_info to work with our ifcfg [bnc#790469]
- remove cat usage from hv_get_dns_info
- add quoting to hv_set_ifconfig to make it more robust

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=44
2012-11-22 17:16:30 +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
30326c5126 drivers are now in kernel since a long time. [bnc#676890]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=42
2012-11-13 13:56:25 +00:00
f12f870a5f remove also hyper-v.supplements.txt
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=41
2012-11-12 18:14:08 +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
Stephan Kulow
7dcf4a296c Accepting request 139921 from Virtualization
- update hv_set_ifconfig to work with our ifcfg

- update kv_kvp_daemon to 3.7-rc1 state [fate#314441]

OBS-URL: https://build.opensuse.org/request/show/139921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=7
2012-11-02 16:36:58 +00:00
c88432d5de - update kv_kvp_daemon to 3.7-rc1 state [fate#314441]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=35
2012-11-01 14:52:30 +00:00
516b417205 - update hv_set_ifconfig to work with our ifcfg
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=34
2012-10-26 15:14:16 +00:00
Stephan Kulow
f6bc32ef69 Accepting request 138030 from Virtualization
- update hv_kvp_daemon
  Return the full kernel version
  Don't return loopback addresses

- 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

  kernel [bnc#770763]

OBS-URL: https://build.opensuse.org/request/show/138030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=6
2012-10-23 17:37:42 +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
68b36b1c2a add bugzilla entry [bnc#770763]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=30
2012-09-20 08:37:05 +00:00
Stephan Kulow
6553dafb3e Accepting request 132497 from Virtualization
- 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/request/show/132497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=5
2012-09-05 07:17:09 +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
Stephan Kulow
4ca7dd7a04 Accepting request 121665 from Virtualization
- check origin of netlink messages, use recvfrom() [bnc#761200]

- 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/request/show/121665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=3
2012-05-22 06:15:53 +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
Stephan Kulow
1028166c9d Accepting request 116278 from Virtualization
- update insserv part, see comments in OBS submit request #112701

OBS-URL: https://build.opensuse.org/request/show/116278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=2
2012-05-08 09:14:44 +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
Stephan Kulow
7ebfd47ad8 Accepting request 111267 from Virtualization
New package for hyper-v guests, from sles11sp1+

OBS-URL: https://build.opensuse.org/request/show/111267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=1
2012-03-29 05:42:26 +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
ade74df229 - update hv_kvp_daemon: Cleanup kvp_get_domain_name(). If
getaddrinfo() fails, deal with it properly (this can happen if no
  IP address has been assigned).  Also, don't specify a specific
  service in the call to getaddrinfo() to make this code as generic
  as possible.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=15
2011-07-26 19:25:29 +00:00
ed4012d365 - update hv_kvp_daemon: The current win7 host does not like it when
we return the complete kernel release information. Conform to
  what the host expects.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=14
2011-07-24 15:24:20 +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