Replace qemu --blacklist option with -b (related: RHBZ#2258100)

This commit is contained in:
Richard W.M. Jones 2024-09-16 13:05:38 +01:00
parent 2d716294f1
commit 8546176074
3 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# Comma-separated blacklist of RPCs to disable, or empty list to enable all. # Comma-separated blacklist of RPCs to disable, or empty list to enable all.
# #
# You can get the list of RPC commands using "qemu-ga --blacklist='?'". # You can get the list of RPC commands using "qemu-ga -b '?'".
# There should be no spaces between commas and commands in the blacklist. # There should be no spaces between commas and commands in the blacklist.
#BLACKLIST_RPC=guest-file-open,guest-file-close,guest-file-read,guest-file-write,guest-file-seek,guest-file-flush,guest-exec,guest-exec-status #BLACKLIST_RPC=guest-file-open,guest-file-close,guest-file-read,guest-file-write,guest-file-seek,guest-file-flush,guest-exec,guest-exec-status

View File

@ -10,7 +10,7 @@ EnvironmentFile=/etc/sysconfig/qemu-ga
ExecStart=/usr/bin/qemu-ga \ ExecStart=/usr/bin/qemu-ga \
--method=virtio-serial \ --method=virtio-serial \
--path=/dev/virtio-ports/org.qemu.guest_agent.0 \ --path=/dev/virtio-ports/org.qemu.guest_agent.0 \
--blacklist=${BLACKLIST_RPC} \ -b ${BLACKLIST_RPC} \
-F${FSFREEZE_HOOK_PATHNAME} -F${FSFREEZE_HOOK_PATHNAME}
Restart=always Restart=always
RestartSec=0 RestartSec=0

View File

@ -367,7 +367,7 @@ Obsoletes: sgabios-bin <= 1:0.20180715git-10.fc38
%endif %endif
# To prevent rpmdev-bumpspec breakage # To prevent rpmdev-bumpspec breakage
%global baserelease 1 %global baserelease 2
Summary: QEMU is a FAST! processor emulator Summary: QEMU is a FAST! processor emulator
Name: qemu Name: qemu
@ -3150,6 +3150,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
%changelog %changelog
* Mon Sep 16 2024 Richard W.M. Jones <rjones@redhat.com> - 2:9.1.0-2
- Replace qemu --blacklist option with -b (related: RHBZ#2258100)
* Thu Sep 05 2024 Cole Robinson <crobinso@redhat.com> - 9.1.0-1 * Thu Sep 05 2024 Cole Robinson <crobinso@redhat.com> - 9.1.0-1
- New release qemu 9.1.0 GA - New release qemu 9.1.0 GA