libvirt/tools
Michal Privoznik 9e0ba037cd virshStreamInData: Handle block devices
This is very similar to previous commit.

The virshStreamInData() callback is used by virStreamSparseSendAll()
to detect whether the file the data is read from is in data or hole
section. The SendAll() will then send corresponding type of virStream
message to make server create a hole or write actual data. But the
callback uses virFileInData() even for block devices, which results in
an error. Just like in previous commit, emulate a DATA section
for block devices.

Partially resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1852528

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2020-08-24 13:39:55 +02:00
..
bash-completion meson: tools: install bash-completion files 2020-08-03 09:27:05 +02:00
nss meson: tests: add nss specific tests 2020-08-03 09:27:06 +02:00
wireshark meson: tools/wireshark: build libvirt.so wireshark module 2020-08-03 09:27:05 +02:00
libvirt_recover_xattrs.sh
libvirt_win_icon_16x16.ico
libvirt_win_icon_32x32.ico
libvirt_win_icon_48x48.ico
libvirt_win_icon_64x64.ico
libvirt-guests.service.in
libvirt-guests.sh.in tools: fix libvirt-guests.sh text assignments 2020-08-21 08:31:18 +02:00
libvirt-guests.sysconf systemd: Tweak existing sysconf files 2020-04-03 11:50:35 +02:00
meson.build meson: Improve RPATH handling 2020-08-24 12:58:51 +02:00
virsh_win_icon.rc
virsh-backup.c backup: Implement virsh support for backup 2019-12-10 12:41:56 +01:00
virsh-backup.h backup: Implement virsh support for backup 2019-12-10 12:41:56 +01:00
virsh-checkpoint.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virsh-checkpoint.h
virsh-completer-checkpoint.c tools: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virsh-completer-checkpoint.h
virsh-completer-domain.c virsh: Expose virDomainGetHostnameFlags 2020-01-16 09:02:35 +01:00
virsh-completer-domain.h virsh: Expose virDomainGetHostnameFlags 2020-01-16 09:02:35 +01:00
virsh-completer-host.c virsh: completer: use signed variable for XPathNodeSet errors 2020-08-03 15:19:29 +02:00
virsh-completer-host.h
virsh-completer-interface.c tools: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virsh-completer-interface.h
virsh-completer-network.c tools: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virsh-completer-network.h
virsh-completer-nodedev.c Drop needless ret variable 2019-10-24 08:10:37 +02:00
virsh-completer-nodedev.h
virsh-completer-nwfilter.c tools: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virsh-completer-nwfilter.h
virsh-completer-pool.c Drop needless ret variable 2019-10-24 08:10:37 +02:00
virsh-completer-pool.h
virsh-completer-secret.c virsh: Work around virSecretFree quirks 2020-01-28 18:09:57 +01:00
virsh-completer-secret.h
virsh-completer-snapshot.c tools: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virsh-completer-snapshot.h
virsh-completer-volume.c tools: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virsh-completer-volume.h
virsh-completer.c tools: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virsh-completer.h
virsh-console.c use g_ascii_toupper instead of c_toupper from gnulib 2019-12-10 13:49:24 +01:00
virsh-console.h
virsh-domain-monitor.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-domain-monitor.h virsh: Fix virshDomainInterfaceSourceCompleter 2020-01-07 16:12:55 +01:00
virsh-domain.c virsh: guest-agent-timeout: set default value for optional argument 2020-08-24 10:08:06 +02:00
virsh-domain.h virsh: Expose virDomainGetHostnameFlags 2020-01-16 09:02:35 +01:00
virsh-edit.c Use G_GNUC_FALLTHROUGH instead of ATTRIBUTE_FALLTHROUGH 2019-10-15 16:14:19 +02:00
virsh-host.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virsh-host.h tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-interface.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-interface.h
virsh-network.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-network.h
virsh-nodedev.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virsh-nodedev.h
virsh-nwfilter.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-nwfilter.h
virsh-pool.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virsh-pool.h
virsh-secret.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-secret.h tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-snapshot.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virsh-snapshot.h tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virsh-util.c virshStreamInData: Handle block devices 2020-08-24 13:39:55 +02:00
virsh-util.h virsh: Track if vol-upload or vol-download work over a block device 2020-08-24 13:32:53 +02:00
virsh-volume.c virsh: Track if vol-upload or vol-download work over a block device 2020-08-24 13:32:53 +02:00
virsh-volume.h
virsh.c meson: drop debug_logs configure argument 2020-08-03 09:26:28 +02:00
virsh.h tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virt-admin-completer.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virt-admin-completer.h
virt-admin.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virt-admin.h
virt-host-validate-bhyve.c virt-host-validate-bhyve.c: Reintroduce @ret to virHostValidateBhyve() 2020-05-05 14:45:58 +02:00
virt-host-validate-bhyve.h
virt-host-validate-common.c tools: Secure guest check for AMD in virt-host-validate 2020-06-16 09:43:44 +02:00
virt-host-validate-common.h tools: Secure guest check for AMD in virt-host-validate 2020-06-16 09:43:44 +02:00
virt-host-validate-lxc.c
virt-host-validate-lxc.h
virt-host-validate-qemu.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
virt-host-validate-qemu.h
virt-host-validate.c
virt-login-shell-helper.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virt-login-shell.c build: generate configmake.h in root directory 2020-01-29 14:51:39 +00:00
virt-login-shell.conf
virt-pki-validate.in
virt-sanlock-cleanup.in
virt-xml-validate.in
vsh-table.c tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00
vsh-table.h
vsh.c tools: avoid potential null pointer dereference by GCC 10 2020-08-17 08:25:28 +02:00
vsh.h tools: remove unnecessary includes 2020-08-03 15:30:40 +02:00