Commit Graph

35 Commits

Author SHA1 Message Date
Richard W.M. Jones c8704cbb64 vddk: Implement VMDK creation
Also apply patch:
0030-tests-Add-configure-disable-libguestfs-tests-flag.patch
which was previous present in git but not applied by the spec file.

Because of this the previous build warned:
configure: WARNING: unrecognized options: --enable-libguestfs-tests

related: rhbz#2011709
2022-01-18 22:05:00 +00:00
Richard W.M. Jones 752d86cd28 Rebase to new stable branch version 1.28.4
related: rhbz#2011709
2022-01-04 14:19:04 +00:00
Richard W.M. Jones b5f8430a27 Rebase to new stable branch version 1.28.3
resolves: rhbz#2011709

Includes these important commits:
    plugins/python: Fix extents() count format string
    tests: Add configure --disable-libguestfs-tests flag
    tests: Use mke2fs -d to create ext4 test image

Use new --disable-libguestfs-tests on non-guestfs arches.
2021-12-19 10:51:16 +00:00
Richard W.M. Jones da9411d61e file: Fix implementation of cache=none for writes
Backport the following upstream commit:
a956e2e75d

related: rhbz#2011709
2021-12-08 11:25:06 +00:00
Richard W.M. Jones d2ce66ec1f Rebase to new stable branch version 1.28.3
Fix nbdkit-cow-filter cow-block-size=4096

resolves: rhbz#2011709, rhbz#2029751
2021-12-07 10:08:43 +00:00
Richard W.M. Jones 36d6c29dea Rebase along stable-1.28 branch
resolves: rhbz#2011709

Drop obsolete documentation related to thread model in vddk plugin
related: rhbz#2018463
2021-11-29 10:44:05 +00:00
Richard W.M. Jones b3fb585f58 Move nbdkit-null-plugin to nbdkit-server package
resolves: rhbz#2021154
Rebase to new stable branch version 1.28.2
resolves: rhbz#2011709

Switch to xorriso (instead of genisoimage)

Upstream prefers it since:

  commit 174a0caf7eaf1943360f9d8f714f466ea7449d90
  Author: Richard W.M. Jones <rjones@redhat.com>
  Date:   Sat Apr 3 17:15:34 2021 +0100

    iso: Pick xorriso in preference to genisoimage or mkisofs.

    See this Debian page explaining the situation with genisoimage:
    https://wiki.debian.org/genisoimage

(cherry picked from commit df8ac05e24cebe463c822281b5cdc903352ed8ed)

Move nbdkit-null-plugin to the nbdkit-server package

This plugin is required for probing the presence of filters (see
nbdkit-probing(1) man page), so it makes sense to always have it
around.  The null plugin is only 16K in size so it does not add
significantly to the nbdkit-server package.

(cherry picked from commit 048b8de83c0e54418e01b3f75fc541fcf1b539e3)

Consistent use of whitespace

Remove double line whitespace between %package and %description.
Also remove whitespace lines within %package sections.

Double line whitespace is kept between subpackages for visual clarity.

(cherry picked from commit 9fbfa6cc49fb6c7d602534f4886d789ce3ef8d5c)
2021-11-09 12:51:27 +00:00
Richard W.M. Jones ceffede5b1 Update nbdkit-vddk-plugin
Distribute README.VDDK in nbdkit-vddk-plugin subpackage

resolves: rhbz#2018463, rhbz#2011709
2021-10-30 14:40:42 +01:00
Richard W.M. Jones 0d3bf32327 Add asynchronous support in nbdkit-vddk-plugin
resolves: rhbz#2018463, rhbz#2011709
2021-10-29 14:09:21 +01:00
Richard W.M. Jones 4129f7480f Rebase to new stable branch version 1.28.0
resolves: rhbz#2011709
2021-10-08 09:43:56 +01:00
Richard W.M. Jones a86e62e68a Rebase along stable branch to 1.26.5
resolves: rhbz#1995327
Add nbdkit-vddk-plugin -D vddk.stats=1 flag
resolves: rhbz#1995329
Add nbdkit-cow-filter cow-block-size parameter
resolves: rhbz#1995332
Fix CVE-2021-3716 nbdkit: NBD_OPT_STRUCTURED_REPLY injection on STARTTLS
Update keyring
2021-08-19 09:12:41 +01:00
Richard W.M. Jones b56fe54678 Remove bogus kernel hints in allocator=malloc
resolves: rhbz#1992542
2021-08-11 12:40:31 +01:00
Richard W.M. Jones 704d2b18ae Fix parsing of delay-* options
resolves: rhbz#1991649
Fix assertion failure during server shutdown
Fix delay-close option
  resolves: rhbz#1991652
tests/test-debug-flags.sh: Don't use port 10809 during test
  resolves: rhbz#1991945
2021-08-10 16:17:42 +01:00
Mohan Boddu 31f0b80356 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:30:20 +00:00
Richard W.M. Jones 7f6c9b5ea1 New upstream stable version 1.26.3.
resolves: rhbz#1950632
Add Python .cleanup() method.
Fix data corruption in zero and trim on unaligned tail.
  resolves: rhbz#1990134
2021-08-05 09:14:12 +01:00
Richard W.M. Jones b4d42fa29b More efficient cache and cow filters.
Add nbdkit-cow-filter cow-on-read option.
Add nbdkit-cache-filter cache-on-read=/PATH.
Add nbdkit-cache-filter cache-min-block-size option.
Add nbdkit-delay-filter delay-open and delay-close options.
Reduce verbosity of debugging from virt-v2v.
Miscellaneous bugfixes
resolves: rhbz#1950632
2021-07-30 18:40:23 +01:00
Richard W.M. Jones addc394e81 Add autotools for patches
Fixes previous commit.
related: rhbz#1950632
2021-07-26 10:10:59 +01:00
Richard W.M. Jones bc50933de3 Add patches from upstream stable-1.26 branch, fixing a virt-v2v crash
resolves: rhbz#1950632
2021-07-26 09:56:31 +01:00
Richard W.M. Jones 99acada896 New upstream stable version 1.26.2.
resolves: rhbz#1950632

(cherry picked from commit 654527757343bf2054a863828d4b8b5b6e2fbe91)
2021-07-05 18:15:12 +01:00
Richard W.M. Jones 21504aafa5 Bump and rebuild
resolves: rhbz#1975317
2021-06-23 18:19:55 +01:00
Richard W.M. Jones 9494c4f899 New upstream stable version 1.26.1.
resolves: rhbz#1950632
2021-06-11 14:41:39 +01:00
Richard W.M. Jones 68db6cec37 New upstream version 1.26.0.
resolves: rhbz#1950632
2021-06-07 17:24:40 +01:00
Richard W.M. Jones 2bd2a2c9d9 Skip tests/test-memory-allocator-malloc-mlock.sh on RHEL 9 / aarch64
related: rhbz#1950632

Test failure:

FAIL: test-memory-allocator-malloc-mlock.sh
===========================================
/builddir/build/BUILD/nbdkit-1.25.8/server/nbdkit -v -P memory-allocator-malloc-mlock.pid -U /tmp/nbdkit-test-sock.QSUxq3 -- /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so 2048 allocator=malloc,mlock=true
nbdkit: debug: nbdkit 1.25.8 (nbdkit-1.25.8-2.el9)
nbdkit: debug: TLS disabled: could not load TLS certificates
nbdkit: debug: registering plugin /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so
nbdkit: debug: registered plugin /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so (name memory)
nbdkit: debug: memory: load
nbdkit: debug: memory: config key=size, value=2048
nbdkit: debug: memory: config key=allocator, value=malloc,mlock=true
nbdkit: debug: memory: config_complete
nbdkit: debug: using thread model: parallel
nbdkit: debug: memory: get_ready
nbdkit: debug: allocator: malloc,mlock=true
nbdkit: debug: allocator parameter: mlock=true
nbdkit: error: allocator=malloc: mlock: Cannot allocate memory
./test-memory-allocator-malloc-mlock.sh: run cleanup hooks: exit code 1
FAIL test-memory-allocator-malloc-mlock.sh (exit status: 1)

(cherry picked from commit c05c44cc7bc78cca7a92bbc85b8f940a6f5477c9)
2021-06-02 13:20:22 +01:00
Richard W.M. Jones f907cef9e4 Manually merge fedora/rawhide
related: rhbz#1950632

Add gating tests for RHEL 9
resolves: rhbz#1950604
2021-06-02 12:37:08 +01:00
Richard W.M. Jones 30b0776b53 Manually merge fedora/rawhide
related: rhbz#1950632
2021-05-07 13:23:49 +01:00
Mohan Boddu 98d9374249 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 02:24:08 +00:00
DistroBaker 802d1c8409 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#8644a889cbd01cd09b983cafbe6b0afa8b78ac4d
2021-03-14 19:59:21 +00:00
DistroBaker b1707f1bcb Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#13b6512f5ee3e4868f31b0047aca523de9c7423e
2021-02-09 02:29:31 +00:00
DistroBaker ce0283c94f Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#471e5a610fcf0c8d5430333f99ec72ad440059a1
2021-01-08 15:12:29 +00:00
DistroBaker 2af6abcecd Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#be8d5f3aaaeadfc0a3e7192407ffa7a2389a10a0
2021-01-07 18:04:43 +00:00
DistroBaker 740abd6a49 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#c70939c66edf5df4435388eff433fda9cf3a0bff
2020-12-29 09:07:06 +00:00
DistroBaker 3d16e9f4ee Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#ab88444bcb8b0929eaf791000624c4181e9e7e1b
2020-12-12 17:51:26 +00:00
DistroBaker 44a62bf904 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#5e124fe3d9c336b2216aa164e22a94882ae750c7
2020-12-10 20:44:59 +00:00
DistroBaker 90613c66c6 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#e2a79c9eef714190fdd06d99eb849c471a146ac7
2020-11-20 19:57:39 +00:00
Petr Šabata 372cf002b8 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/nbdkit#7f736bddf3ed9821da8286df62a6cc03d24b3239
2020-10-15 20:54:51 +02:00