From 85461760741078b8bdb0d1f3e0d0738c7094a36e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 16 Sep 2024 13:05:38 +0100 Subject: [PATCH] Replace qemu --blacklist option with -b (related: RHBZ#2258100) --- qemu-ga.sysconfig | 2 +- qemu-guest-agent.service | 2 +- qemu.spec | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/qemu-ga.sysconfig b/qemu-ga.sysconfig index 42a818a..aea1ccb 100644 --- a/qemu-ga.sysconfig +++ b/qemu-ga.sysconfig @@ -3,7 +3,7 @@ # 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. #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 diff --git a/qemu-guest-agent.service b/qemu-guest-agent.service index b3157d5..0d89bb2 100644 --- a/qemu-guest-agent.service +++ b/qemu-guest-agent.service @@ -10,7 +10,7 @@ EnvironmentFile=/etc/sysconfig/qemu-ga ExecStart=/usr/bin/qemu-ga \ --method=virtio-serial \ --path=/dev/virtio-ports/org.qemu.guest_agent.0 \ - --blacklist=${BLACKLIST_RPC} \ + -b ${BLACKLIST_RPC} \ -F${FSFREEZE_HOOK_PATHNAME} Restart=always RestartSec=0 diff --git a/qemu.spec b/qemu.spec index 768c714..deb5bc5 100644 --- a/qemu.spec +++ b/qemu.spec @@ -367,7 +367,7 @@ Obsoletes: sgabios-bin <= 1:0.20180715git-10.fc38 %endif # To prevent rpmdev-bumpspec breakage -%global baserelease 1 +%global baserelease 2 Summary: QEMU is a FAST! processor emulator Name: qemu @@ -3150,6 +3150,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %changelog +* Mon Sep 16 2024 Richard W.M. Jones - 2:9.1.0-2 +- Replace qemu --blacklist option with -b (related: RHBZ#2258100) + * Thu Sep 05 2024 Cole Robinson - 9.1.0-1 - New release qemu 9.1.0 GA