Commit Graph

161 Commits

Author SHA256 Message Date
Ana Guerrero
47df56c3a2 Accepting request 1217113 from Virtualization
- Add memory allocation check in hv_fcopy_start (94e86b17)
- suppress the invalid warning for packed member alignment (207e03b0)
- Add new fcopy application based on uio driver (82b0945c)
- Add vmbus_bufring (45bab4d7)
- kvp: Handle IPv4 and Ipv6 combination for keyfile format (f971f6dd)
- kvp: Some small fixes for handling NM keyfiles (c3803203)
- kvp: Support for keyfile based connection profile (42999c90)
- kvp: remove unnecessary (void*) conversions (22589542)
- Remove an extraneous "the" (f15f39fa)
- change http to https in hv_kvp_daemon.c (fa52a4b2)
- replace the copy of include/linux/hyperv.h with include/uapi/linux/hyperv.h (6de74d10)
- merge individual udev rules files into a single rules file
- package only files, not directories already owned by filesystem.rpm
- remove braces from rpm spec macros
- remove obsolete Group tag
- replace RPM_BUILD_ROOT with buildroot
- use a meaningful name for the UAPI include file
- use a meaningful variable name for ifcfg in hv_set_ifconfig.sh

OBS-URL: https://build.opensuse.org/request/show/1217113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=46
2024-10-23 19:07:50 +00:00
6c67bf9603 hv_fcopy_uio_daemon is x86 only
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=160
2024-10-22 13:09:16 +00:00
cbd6b4685f - Add memory allocation check in hv_fcopy_start (94e86b17)
- suppress the invalid warning for packed member alignment (207e03b0)
- Add new fcopy application based on uio driver (82b0945c)
- Add vmbus_bufring (45bab4d7)
- kvp: Handle IPv4 and Ipv6 combination for keyfile format (f971f6dd)
- kvp: Some small fixes for handling NM keyfiles (c3803203)
- kvp: Support for keyfile based connection profile (42999c90)
- kvp: remove unnecessary (void*) conversions (22589542)
- Remove an extraneous "the" (f15f39fa)
- change http to https in hv_kvp_daemon.c (fa52a4b2)
- replace the copy of include/linux/hyperv.h with include/uapi/linux/hyperv.h (6de74d10)
- merge individual udev rules files into a single rules file
- package only files, not directories already owned by filesystem.rpm
- remove braces from rpm spec macros
- remove obsolete Group tag
- replace RPM_BUILD_ROOT with buildroot
- use a meaningful name for the UAPI include file
- use a meaningful variable name for ifcfg in hv_set_ifconfig.sh

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=159
2024-10-22 13:05:39 +00:00
Dominique Leuenberger
76c71e4b22 Accepting request 1170959 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1170959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=45
2024-05-01 12:55:31 +00:00
bfb762ef8e Accepting request 1169847 from home:pgajdos
- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1169847
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=157
2024-04-23 11:39:19 +00:00
Ana Guerrero
ffa1489a92 Accepting request 1149224 from Virtualization
Prepare for RPM 4.20 (forwarded request 1149030 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1149224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=44
2024-02-23 15:41:10 +00:00
6a356ff042 Accepting request 1149030 from home:dimstar:rpm4.20:h
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1149030
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=155
2024-02-22 11:16:09 +00:00
Dominique Leuenberger
76713f8037 Accepting request 828201 from Virtualization
- Allow daemon restart again (bsc#1116957)
  Since some time the kernel moved from netlink sockets to char
  devices, which is supposed to handle a connection reopen for the
  kernel<->daemon interface

OBS-URL: https://build.opensuse.org/request/show/828201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=43
2020-08-23 07:20:39 +00:00
352594cc8e - Allow daemon restart again (bsc#1116957)
Since some time the kernel moved from netlink sockets to char
  devices, which is supposed to handle a connection reopen for the
  kernel<->daemon interface

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=153
2020-08-20 13:45:16 +00:00
Dominique Leuenberger
7b0f1a5b9c Accepting request 822481 from Virtualization
- Remove dependency to network-online.target now that gethostname
  is used in kvp_daemon (bsc#1174443, bsc#1174444)
- Reopen the devices if read() or write() returns errors (9fc3c01a)
- Use either python2 or python3 for lsvmbus (bsc#1093910)
- Remove sysv init scripts

- Enable build on aarch64

OBS-URL: https://build.opensuse.org/request/show/822481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=42
2020-07-29 15:14:13 +00:00
db47c6ea84 bumb version
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=151
2020-07-23 18:24:26 +00:00
32366f3518 - Remove sysv init scripts
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=150
2020-07-23 18:10:31 +00:00
7d6e811685 - Use either python2 or python3 for lsvmbus (bsc#1093910)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=149
2020-07-23 18:06:33 +00:00
4f1eeb9e6c whitespace
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=148
2020-07-23 17:50:09 +00:00
f5d3d1ed86 add bugnumber for network-online.target change (bsc#1174443, bsc#1174444)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=147
2020-07-23 17:49:05 +00:00
80d84e464c - Reopen the devices if read() or write() returns errors (9fc3c01a)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=146
2020-07-22 14:05:13 +00:00
599863ea32 - Remove dependency to network-online.target now that gethostname
is used in kvp_daemon

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=145
2020-07-22 12:55:27 +00:00
2094d96fc6 Accepting request 822192 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Enable build on aarch64

OBS-URL: https://build.opensuse.org/request/show/822192
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=144
2020-07-22 12:50:40 +00:00
Dominique Leuenberger
4e410e2b00 Accepting request 777742 from Virtualization
- Revert previous non-upstream change for async name resolution
  Just use gethostname via hyper-v.kvp.gethostname.patch (bsc#1100758)

OBS-URL: https://build.opensuse.org/request/show/777742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=41
2020-02-25 15:01:50 +00:00
da525a8fd4 - Revert previous non-upstream change for async name resolution
Just use gethostname via hyper-v.kvp.gethostname.patch (bsc#1100758)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=142
2020-02-20 16:21:08 +00:00
Dominique Leuenberger
4ce76bbdcf Accepting request 752453 from Virtualization
- Update lsvmbus interpreter from python(1) to python3(1) again
  because only SLE12 lacked proper python3 support (bsc#1093910)

- async name resolution in kvp_daemon (bsc#1100758)
- kvp: eliminate 'may be used uninitialized' warning (89eb4d8d)
- fix typos in toolchain (2d35c660)
- fixed Python pep8/flake8 warnings for lsvmbus (5912e791)
- Replace GPLv2 boilerplate/reference with SPDX (43aa3132)
- Fix a warning of buffer overflow with gcc 8.0.1 (4fcba780)

OBS-URL: https://build.opensuse.org/request/show/752453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=40
2019-12-02 10:33:37 +00:00
55285e69ba - Update lsvmbus interpreter from python(1) to python3(1) again
because only SLE12 lacked proper python3 support (bsc#1093910)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=140
2019-11-29 16:43:25 +00:00
21b02eaa39 - async name resolution in kvp_daemon (bsc#1100758)
- kvp: eliminate 'may be used uninitialized' warning (89eb4d8d)
- fix typos in toolchain (2d35c660)
- fixed Python pep8/flake8 warnings for lsvmbus (5912e791)
- Replace GPLv2 boilerplate/reference with SPDX (43aa3132)
- Fix a warning of buffer overflow with gcc 8.0.1 (4fcba780)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=139
2019-11-27 09:32:29 +00:00
Dominique Leuenberger
382c5a8dc7 Accepting request 640773 from Virtualization
- fcopy: set 'error' in case an unknown operation was requested (c2d68afb)

- Update lsvmbus interpreter from python3(1) to python(1)
  because SLE12 lacks python3 support (bsc#1093910)

- vss: fix loop device detection (07136793)
- Fix IP reporting by KVP daemon with SRIOV (4ba63412)
- Fix a bug in the key delete code (86503bd3)
- fix compiler warnings about major/target_fname (1330fc35)
- PRIVATE hyper-v.compare-with-upstream.sh

OBS-URL: https://build.opensuse.org/request/show/640773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=39
2018-10-11 09:40:20 +00:00
b932f55fe9 - fcopy: set 'error' in case an unknown operation was requested (c2d68afb)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=137
2018-10-09 09:28:29 +00:00
98b6aa98ea - Update lsvmbus interpreter from python3(1) to python(1)
because SLE12 lacks python3 support (bsc#1093910)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=136
2018-10-08 06:49:12 +00:00
c3038e05c0 silly, dumb factory auto script
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=135
2018-09-25 16:26:14 +00:00
749d580d75 - private hyper-v.compare-with-upstream.sh
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=134
2018-09-25 16:10:32 +00:00
59eadc3645 hyper-v.compare-with-upstream.sh
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=133
2018-09-25 08:58:49 +00:00
599866103c - vss: fix loop device detection (07136793)
- Fix IP reporting by KVP daemon with SRIOV (4ba63412)
- Fix a bug in the key delete code (86503bd3)
- fix compiler warnings about major/target_fname (1330fc35)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=132
2018-09-25 08:46:33 +00:00
Dominique Leuenberger
9467ec5256 Accepting request 628366 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/628366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=38
2018-08-17 21:57:00 +00:00
a8461f473b Accepting request 627034 from home:Andreas_Schwab:glibc:rebuild
- hyper-v.tools.hv.hv_vss_daemon.c: Include <sys/sysmacros.h> for major

OBS-URL: https://build.opensuse.org/request/show/627034
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=130
2018-08-06 13:21:02 +00:00
Dominique Leuenberger
c4ce36542f Accepting request 611145 from Virtualization
- Update lsvmbus interpreter from env(1) to python3(1) (bsc#1093910)

OBS-URL: https://build.opensuse.org/request/show/611145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=37
2018-05-25 19:36:14 +00:00
d810f03df5 - Update lsvmbus interpreter from env(1) to python3(1) (bsc#1093910)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=128
2018-05-22 06:57:58 +00:00
Dominique Leuenberger
4d352950a1 Accepting request 593085 from Virtualization
- Avoid reading past allocated blocks from KVP file (bnc#1087658)

OBS-URL: https://build.opensuse.org/request/show/593085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=36
2018-04-05 13:27:06 +00:00
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
Dominique Leuenberger
c7429b6633 Accepting request 562485 from Virtualization
- 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/request/show/562485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=35
2018-01-16 08:30:54 +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
Dominique Leuenberger
21beee5c96 Accepting request 506781 from Virtualization
- 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/request/show/506781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=34
2017-07-02 11:37:42 +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
Dominique Leuenberger
fe7069185b Accepting request 498992 from Virtualization
- 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/request/show/498992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=33
2017-06-07 07:50:24 +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
Stephan Kulow
0ee29e7930 Accepting request 333769 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/333769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=32
2015-10-03 18:29:39 +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
Stephan Kulow
e7ed435837 Accepting request 305763 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/305763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=31
2015-05-10 08:55:56 +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
7259a4ff7b - hv: hypervvssd: call endmntent before call setmntent again
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=112
2015-04-30 11:26:11 +00:00